# NOTE: for newer versions of hargyllcms fork see hargyllcms.spec %define alphatag 20100201 %define rel 0.3 Summary: ICC compatible color management system Summary(pl.UTF-8): System zarządzania kolorami kompatybilny z ICC Name: argyllcms Version: 1.1.0 Release: 0.2.%{alphatag}git.%{rel} License: GPL v3 and MIT Group: X11 #Source0: http://people.freedesktop.org/~hughsient/releases/hargyllcms-%{version}-%{?alphatag}.tar.gz Source0: http://pkgs.fedoraproject.org/repo/pkgs/argyllcms/h%{name}-%{version}-%{alphatag}.tar.gz/59cdfbefa1c905967b0848634c2fb509/hargyllcms-%{version}-%{alphatag}.tar.gz # Source0-md5: 59cdfbefa1c905967b0848634c2fb509 URL: http://www.argyllcms.com/ BuildRequires: libtiff-devel BuildRequires: libusb-devel BuildRequires: xorg-lib-libX11-devel BuildRequires: xorg-lib-libXScrnSaver-devel BuildRequires: xorg-lib-libXext-devel BuildRequires: xorg-lib-libXinerama-devel BuildRequires: xorg-lib-libXrandr-devel BuildRequires: xorg-lib-libXxf86vm-devel Requires: udev-core BuildRoot: %{tmpdir}/%{name}-%{version}-root-%(id -u -n) %description The Argyll color management system supports accurate ICC profile creation for acquisition devices, CMYK printers, film recorders and calibration and profiling of displays. Spectral sample data is supported, allowing a selection of illuminants observer types, and paper fluorescent whitener additive compensation. Profiles can also incorporate source specific gamut mappings for perceptual and saturation intents. Gamut mapping and profile linking uses the CIECAM02 appearance model, a unique gamut mapping algorithm, and a wide selection of rendering intents. It also includes code for the fastest portable 8 bit raster color conversion engine available anywhere, as well as support for fast, fully accurate 16 bit conversion. Device color gamuts can also be viewed and compared using a VRML viewer. %description -l pl.UTF-8 System zarządzania kolorami Argyll obsługuje tworzenie dokładnych profili ICC dla urządzeń skanujących, drukarek CMYK i kamer oraz kalibrację i profilowanie wyświetlaczy. Obsługiwane są dane próbek widmowych, co pozwala na wybór typów obserwatora oświetlenia oraz kompensację addytywną fluorescencyjnych wybielaczy papieru. Profile mogą zawierać także zależne od źródła odwzorowania podzbioru kolorów (gamut) pod kątem postrzegania i nasycenia. Odwzorowanie kolorów i wiązanie profili wykorzystuje model wyglądu kolorów CIECAM02, unikalny algorytm odwzorowania podzbioru kolorów oraz szeroki wybór celu renderingu. Zawiera także kod najszybszego dostępnego przenośnego 8-bitowego rastrowego silnika konwersji kolorów, a także obsługę szybkiej, dokładniej 16-bitowej konwersji. Podzbiór kolorów urządzeń można oglądać i porównywać przy użyciu przeglądarki VRML. %package doc Summary: Argyll CMS documentation Summary(pl.UTF-8): Dokumentacja systemu Argyll CMS Group: Documentation # Does not really make sense without Argyll CMS itself Requires: %{name} = %{version}-%{release} %description doc The Argyll color management system supports accurate ICC profile creation for acquisition devices, CMYK printers, film recorders and calibration and profiling of displays. This package contains the Argyll color management system documentation. %description doc -l pl.UTF-8 System zarządzania kolorami Argyll obsługuje tworzenie dokładnych profili ICC dla urządzeń skanujących, drukarek CMYK i kamer oraz kalibrację i profilowanie wyświetlaczy. Ten pakiet zawiera dokumentację do systemu zarządzania kolorami Argyll. %prep #%setup -q -n hargyllcms-%{version} %setup -q -n h%{name}-%{?version}-%{?alphatag} # we're not allowed to refer to acquisition devices as scanners ./legal.sh %build %configure %{__make} %install rm -rf $RPM_BUILD_ROOT %{__make} install \ DESTDIR=$RPM_BUILD_ROOT # they shouldn't put Makefile.am to ref_DATA %{__rm} $RPM_BUILD_ROOT%{_datadir}/color/argyll/ref/Makefile.am %clean rm -rf $RPM_BUILD_ROOT %files %defattr(644,root,root,755) %doc *.txt %attr(755,root,root) %{_bindir}/* %dir %{_datadir}/color/argyll %{_datadir}/color/argyll/ref /lib/udev/rules.d/55-Argyll.rules %exclude %{_datadir}/doc/argyll %files doc %defattr(644,root,root,755) %doc doc/*.html doc/*.jpg doc/*.txt