1 %define alphatag 20100201
3 Summary: ICC compatible color management system
6 Release: 0.2.%{alphatag}git.%{rel}
7 License: GPL v3 and MIT
9 URL: http://github.com/hughsie/hargyllcms
10 #Source0: http://people.freedesktop.org/~hughsient/releases/hargyllcms-%{version}-%{?alphatag}.tar.gz
11 Source0: http://pkgs.fedoraproject.org/repo/pkgs/argyllcms/h%{name}-%{version}-%{alphatag}.tar.gz/59cdfbefa1c905967b0848634c2fb509/hargyllcms-%{version}-%{alphatag}.tar.gz
12 # Source0-md5: 59cdfbefa1c905967b0848634c2fb509
13 BuildRequires: libtiff-devel
14 BuildRequires: libusb-devel
15 BuildRequires: xorg-lib-libX11-devel
16 BuildRequires: xorg-lib-libXScrnSaver-devel
17 BuildRequires: xorg-lib-libXext-devel
18 BuildRequires: xorg-lib-libXinerama-devel
19 BuildRequires: xorg-lib-libXrandr-devel
20 BuildRequires: xorg-lib-libXxf86vm-devel
22 BuildRoot: %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
25 The Argyll color management system supports accurate ICC profile
26 creation for acquisition devices, CMYK printers, film recorders and
27 calibration and profiling of displays.
29 Spectral sample data is supported, allowing a selection of illuminants
30 observer types, and paper fluorescent whitener additive compensation.
31 Profiles can also incorporate source specific gamut mappings for
32 perceptual and saturation intents. Gamut mapping and profile linking
33 uses the CIECAM02 appearance model, a unique gamut mapping algorithm,
34 and a wide selection of rendering intents. It also includes code for
35 the fastest portable 8 bit raster color conversion engine available
36 anywhere, as well as support for fast, fully accurate 16 bit
37 conversion. Device color gamuts can also be viewed and compared using
41 Summary: Argyll CMS documentation
43 # Does not really make sense without Argyll CMS itself
44 Requires: %{name} = %{version}-%{release}
47 The Argyll color management system supports accurate ICC profile
48 creation for acquisition devices, CMYK printers, film recorders and
49 calibration and profiling of displays.
51 This package contains the Argyll color management system
55 #%setup -q -n hargyllcms-%{version}
56 %setup -q -n h%{name}-%{?version}-%{?alphatag}
58 # we're not allowed to refer to acquisition devices as scanners
66 rm -rf $RPM_BUILD_ROOT
68 DESTDIR=$RPM_BUILD_ROOT
70 # they shouldn't put Makefile.am to ref_DATA
71 %{__rm} $RPM_BUILD_ROOT%{_datadir}/color/argyll/ref/Makefile.am
74 rm -rf $RPM_BUILD_ROOT
77 %defattr(644,root,root,755)
79 %attr(755,root,root) %{_bindir}/*
80 %dir %{_datadir}/color/argyll
81 %{_datadir}/color/argyll/ref
82 /lib/udev/rules.d/55-Argyll.rules
84 %exclude %{_datadir}/doc/argyll
87 %defattr(644,root,root,755)
88 %doc doc/*.html doc/*.jpg doc/*.txt