|
|
29f5c32 |
#define alphaversion Beta8
|
|
|
29f5c32 |
#define alphatag .%{alphaversion}
|
|
|
29f5c32 |
|
|
|
29f5c32 |
%define archivename Argyll_V%{version}%{?alphaversion}_src.zip
|
|
|
0fafbd9 |
|
|
|
0fafbd9 |
Name: argyllcms
|
|
|
fee4616 |
Version: 1.0.4
|
|
|
fee4616 |
Release: 1%{?alphatag}%{?dist}
|
|
|
0fafbd9 |
Summary: ICC compatible color management system
|
|
|
0fafbd9 |
|
|
|
0fafbd9 |
Group: User Interface/X
|
|
|
0fafbd9 |
License: GPLv3 and MIT
|
|
|
0fafbd9 |
URL: http://www.%{name}.com/
|
|
|
0fafbd9 |
|
|
|
0fafbd9 |
Source0: %{url}%{archivename}
|
|
|
29f5c32 |
# Many thanks to Alastair M. Robinson!
|
|
|
29f5c32 |
Patch1: http://www.blackfiveservices.co.uk/Argyll_V1.0.1_autotools.patch.gz
|
|
|
b772466 |
Patch2: %{name}-1.0.3-remove-libusb-fork-check.patch
|
|
|
a653abe |
# Patch applied for legal reasons
|
|
|
cd4260d |
Patch4: %{name}-1.0.2-legal.patch
|
|
|
fee4616 |
#Patch5: argyllcms-CVE-2009-0583,0584.patch
|
|
|
fee4616 |
#Patch6: argyllcms-CVE-2009-0792.patch
|
|
|
fee4616 |
#Patch7: argyllcms-1.0.3-autotools.patch
|
|
|
0fafbd9 |
|
|
|
0fafbd9 |
BuildRoot: %(mktemp -ud %{_tmppath}/%{name}-%{version}-%{release}-XXXXXX)
|
|
|
29f5c32 |
BuildRequires: libtiff-devel, libusb-devel
|
|
|
0fafbd9 |
BuildRequires: libX11-devel, libXext-devel, libXxf86vm-devel, libXinerama-devel
|
|
|
29f5c32 |
BuildRequires: libXScrnSaver-devel, libXrandr-devel
|
|
|
0fafbd9 |
|
|
|
0fafbd9 |
Requires: udev, PolicyKit
|
|
|
0fafbd9 |
|
|
|
0fafbd9 |
%description
|
|
|
0fafbd9 |
The Argyll color management system supports accurate ICC profile creation for
|
|
|
0fafbd9 |
scanners, CMYK printers, film recorders and calibration and profiling of
|
|
|
0fafbd9 |
displays.
|
|
|
0fafbd9 |
|
|
|
0fafbd9 |
Spectral sample data is supported, allowing a selection of illuminants observer
|
|
|
0fafbd9 |
types, and paper fluorescent whitener additive compensation. Profiles can also
|
|
|
0fafbd9 |
incorporate source specific gamut mappings for perceptual and saturation
|
|
|
0fafbd9 |
intents. Gamut mapping and profile linking uses the CIECAM02 appearance model,
|
|
|
0fafbd9 |
a unique gamut mapping algorithm, and a wide selection of rendering intents. It
|
|
|
0fafbd9 |
also includes code for the fastest portable 8 bit raster color conversion
|
|
|
0fafbd9 |
engine available anywhere, as well as support for fast, fully accurate 16 bit
|
|
|
0fafbd9 |
conversion. Device color gamuts can also be viewed and compared using a VRML
|
|
|
0fafbd9 |
viewer.
|
|
|
0fafbd9 |
|
|
|
0fafbd9 |
|
|
|
0fafbd9 |
%package doc
|
|
|
0fafbd9 |
Summary: Argyll CMS documentation
|
|
|
0fafbd9 |
Group: User Interface/X
|
|
|
0fafbd9 |
# Does not really make sense without Argyll CMS itself
|
|
|
0fafbd9 |
Requires: %{name} = %{version}-%{release}
|
|
|
0fafbd9 |
|
|
|
0fafbd9 |
%description doc
|
|
|
0fafbd9 |
The Argyll color management system supports accurate ICC profile creation for
|
|
|
0fafbd9 |
scanners, CMYK printers, film recorders and calibration and profiling of
|
|
|
0fafbd9 |
displays.
|
|
|
0fafbd9 |
|
|
|
0fafbd9 |
This package contains the Argyll color management system documentation.
|
|
|
0fafbd9 |
|
|
|
0fafbd9 |
|
|
|
0fafbd9 |
%prep
|
|
|
29f5c32 |
%setup -q -n Argyll_V%{version}
|
|
|
29f5c32 |
# Autotools support
|
|
|
29f5c32 |
%patch1 -p1 -b .auto
|
|
|
29f5c32 |
# Use the system libusb. If there is a ***REPORTED*** problem the distro will fix it
|
|
|
29f5c32 |
%patch2 -p1 -b .sysusb
|
|
|
29f5c32 |
# Legal patch required
|
|
|
29f5c32 |
%patch4 -p1 -b .legal
|
|
|
fee4616 |
#%patch5 -p0
|
|
|
fee4616 |
#%patch6 -p0
|
|
|
fee4616 |
#%patch7 -p0
|
|
|
29f5c32 |
|
|
|
b772466 |
# Salvage policy files
|
|
|
b772466 |
mv libusb/19-color.fdi .
|
|
|
b772466 |
mv libusb/color-device-file.policy .
|
|
|
b772466 |
|
|
|
0fafbd9 |
# Remove useless bundled libs to make sure we don't accidentally include them
|
|
|
0fafbd9 |
rm -fr tiff libusb libusbw
|
|
|
d1d1689 |
|
|
|
29f5c32 |
chmod u+x configure
|
|
|
0fafbd9 |
|
|
|
0fafbd9 |
%build
|
|
|
29f5c32 |
%configure
|
|
|
29f5c32 |
make
|
|
|
0fafbd9 |
|
|
|
fee4616 |
#%check
|
|
|
fee4616 |
#make check
|
|
|
fee4616 |
|
|
|
0fafbd9 |
%install
|
|
|
0fafbd9 |
rm -rf %{buildroot}
|
|
|
0fafbd9 |
|
|
|
29f5c32 |
make install DESTDIR=%{buildroot}
|
|
|
0fafbd9 |
|
|
|
0fafbd9 |
# Do some device permission magic
|
|
|
0fafbd9 |
install -d -m 0755 %{buildroot}%{_datadir}/hal/fdi/policy/10osvendor/
|
|
|
b772466 |
install -p -m 0644 19-color.fdi \
|
|
|
b772466 |
%{buildroot}%{_datadir}/hal/fdi/policy/10osvendor/
|
|
|
0fafbd9 |
|
|
|
0fafbd9 |
install -d -m 0755 %{buildroot}%{_datadir}/PolicyKit/policy/
|
|
|
b772466 |
install -p -m 0644 color-device-file.policy \
|
|
|
b772466 |
%{buildroot}%{_datadir}/PolicyKit/policy/
|
|
|
0fafbd9 |
|
|
|
0fafbd9 |
|
|
|
0fafbd9 |
%clean
|
|
|
0fafbd9 |
rm -rf %{buildroot}
|
|
|
0fafbd9 |
|
|
|
0fafbd9 |
|
|
|
0fafbd9 |
%files
|
|
|
0fafbd9 |
%defattr(0644,root,root,0755)
|
|
|
0fafbd9 |
%doc *.txt
|
|
|
0fafbd9 |
|
|
|
0fafbd9 |
%attr(0755,root,root) %{_bindir}/*
|
|
|
29f5c32 |
%{_datadir}/color/argyll
|
|
|
0fafbd9 |
%{_datadir}/hal/fdi/policy/10osvendor/19-color.fdi
|
|
|
0fafbd9 |
%{_datadir}/PolicyKit/policy/color-device-file.policy
|
|
|
0fafbd9 |
|
|
|
29f5c32 |
%exclude %{_datadir}/doc
|
|
|
0fafbd9 |
|
|
|
0fafbd9 |
%files doc
|
|
|
0fafbd9 |
%defattr(0644,root,root,0755)
|
|
|
0fafbd9 |
%doc doc/*.html doc/*.jpg doc/*.txt
|
|
|
0fafbd9 |
|
|
|
0fafbd9 |
|
|
|
0fafbd9 |
%changelog
|
|
|
fee4616 |
* Tue Jun 30 2009 Jon Ciesla <limb@jcomserv.net> - 1.0.4-1
|
|
|
fee4616 |
- New upstream, incorporating ICC fixes.
|
|
|
fee4616 |
|
|
|
6c1dbd4 |
* Thu Apr 16 2009 Jon Ciesla <limb@jcomserv.net> - 1.0.3-5
|
|
|
6c1dbd4 |
- Actually *apply* previous patch.
|
|
|
fee4616 |
- Autotools patch from debian to allow for make check.
|
|
|
6c1dbd4 |
|
|
|
16ef00c |
* Wed Apr 08 2009 Jon Ciesla <limb@jcomserv.net> - 1.0.3-4
|
|
|
16ef00c |
- Patch for ICC library CVE-2009-0792.
|
|
|
16ef00c |
|
|
|
92c46f5 |
* Mon Mar 23 2009 Jon Ciesla <limb@jcomserv.net> - 1.0.3-3
|
|
|
92c46f5 |
- Patch for ICC library CVE-2009-{0583, 0584} by Tim Waugh.
|
|
|
92c46f5 |
|
|
|
3072166 |
* Mon Feb 23 2009 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 1.0.3-2
|
|
|
3072166 |
- Rebuilt for https://fedoraproject.org/wiki/Fedora_11_Mass_Rebuild
|
|
|
3072166 |
|
|
|
b772466 |
* Wed Sep 3 2008 Nicolas Mailhot <nicolas.mailhot at laposte.net>
|
|
|
b772466 |
- 1.0.3-1
|
|
|
b772466 |
⌨ Bugfix release
|
|
|
b772466 |
|
|
|
cd4260d |
* Mon Sep 1 2008 Nicolas Mailhot <nicolas.mailhot at laposte.net>
|
|
|
cd4260d |
- 1.0.2-1
|
|
|
cd4260d |
ᾢ Bugfix release
|
|
|
cd4260d |
|
|
|
29f5c32 |
* Sun Jul 27 2008 Nicolas Mailhot <nicolas.mailhot at laposte.net>
|
|
|
29f5c32 |
- 1.0.1-1
|
|
|
29f5c32 |
☻ Lots of workarounds dropped — Argyll continues progressing towards “normal
|
|
|
29f5c32 |
package” state
|
|
|
29f5c32 |
☺ No more jam hell ☡, autotooling patch by Alastair M. Robinson ♥♥♥
|
|
|
29f5c32 |
♿ New workaround added for private libusb check ⚔ We build againt system
|
|
|
29f5c32 |
libusb, and will fix ⚕ any problem people care to report
|
|
|
29f5c32 |
⁜ Re-applied some patches still not merged upstream, including the legal ⚖ one
|
|
|
29f5c32 |
⚙ It builds, what can go wrong⁉
|
|
|
29f5c32 |
⁂ Changed Huey policy file. Huey users, please test
|
|
|
29f5c32 |
|
|
|
a653abe |
* Wed Mar 26 2008 Tom "spot" Callaway <tcallawa@redhat.com>
|
|
|
a653abe |
- patch applied for legal reasons
|
|
|
a653abe |
|
|
|
0fafbd9 |
* Thu Feb 8 2008 Nicolas Mailhot <nicolas.mailhot at laposte.net>
|
|
|
d1d1689 |
- 0.70-0.8.Beta9
|
|
|
d1d1689 |
✓ Another code fix (Stefan Brüns)
|
|
|
0fafbd9 |
- 0.70-0.8.Beta8
|
|
|
0fafbd9 |
✓ update to Stefan Brüns' latest safe-printf patch (bz421921#c18)
|
|
|
0fafbd9 |
|
|
|
0fafbd9 |
* Thu Feb 7 2008 Nicolas Mailhot <nicolas.mailhot at laposte.net>
|
|
|
0fafbd9 |
- 0.70-0.7.Beta8
|
|
|
0fafbd9 |
Finally got around packaging beta8, I suck
|
|
|
0fafbd9 |
✓ Fedora patches merged upstream, dropped from rpm
|
|
|
0fafbd9 |
✓ Huey handling seems sanitized (needs testing by Huey users)
|
|
|
0fafbd9 |
⚖ Upstream relicensed icc and cgats library to plain MIT license (Thanks!)
|
|
|
0fafbd9 |
|
|
|
0fafbd9 |
* Thu Dec 14 2007 Nicolas Mailhot <nicolas.mailhot at laposte.net>
|
|
|
0fafbd9 |
- 0.70-0.6.Beta7
|
|
|
0fafbd9 |
☹ fix udev typo
|
|
|
0fafbd9 |
- 0.70-0.5.Beta7
|
|
|
0fafbd9 |
⚖ Remove files that may be GPLv2-only according to upstream
|
|
|
0fafbd9 |
|
|
|
0fafbd9 |
* Thu Dec 13 2007 Nicolas Mailhot <nicolas.mailhot at laposte.net>
|
|
|
0fafbd9 |
- 0.70-0.4.Beta7
|
|
|
0fafbd9 |
✓ move to modern PolicyKit world (David Zeuthen, Frédéric Crozat, me)
|
|
|
0fafbd9 |
|
|
|
0fafbd9 |
* Wed Dec 12 2007 Nicolas Mailhot <nicolas.mailhot at laposte.net>
|
|
|
0fafbd9 |
- 0.70-0.3.Beta7
|
|
|
0fafbd9 |
✓ integrate review feedback
|
|
|
0fafbd9 |
- 0.70-0.2.Beta7
|
|
|
0fafbd9 |
✓ fix buffer overflows in dispread and iccdump (credits Daniel Berrangé)
|
|
|
0fafbd9 |
- 0.70-0.1.Beta7
|
|
|
0fafbd9 |
✓ 0.70 beta7
|
|
|
0fafbd9 |
➤ initial laborious packaging
|
|
|
0fafbd9 |
✌ Build system from hell untangling by Frédéric Crozat (Mandriva), and me
|
|
|
0fafbd9 |
✌ device permission magic by me
|
|
|
0fafbd9 |
☣ Massively under-tested package, please report problems
|