-%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
-URL: http://github.com/hughsie/hargyllcms
-#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
+Version: 1.6.2
+Release: 1
+License: AGPL v3, MIT, GPL v2+, LGPL v2.1+, FDL v1.3
+Group: X11/Applications/Graphics
+Source0: http://people.freedesktop.org/~hughsient/releases/h%{name}-%{version}.tar.xz
+# Source0-md5: 6d503de144fff3f67b32aeab2e4ce104
+URL: http://www.argyllcms.com/
+BuildRequires: autoconf >= 2.50
+BuildRequires: automake >= 1:1.11
+BuildRequires: libjpeg-devel
BuildRequires: libtiff-devel
-BuildRequires: libusb-devel
+BuildRequires: libtool >= 1:1.4.2
+BuildRequires: libusb-devel >= 1.0.0
+BuildRequires: pkgconfig
+BuildRequires: tar >= 1:1.22
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
+BuildRequires: xz
+BuildRequires: yajl-devel
+BuildRequires: zlib-devel
+Obsoletes: udev-argyllcms
BuildRoot: %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
%description
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}
This package contains the Argyll color management system
documentation.
-%prep
-#%setup -q -n hargyllcms-%{version}
-%setup -q -n h%{name}-%{?version}-%{?alphatag}
+%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.
-# we're not allowed to refer to acquisition devices as scanners
-./legal.sh
+Ten pakiet zawiera dokumentację do systemu zarządzania kolorami
+Argyll.
+
+%prep
+%setup -q -n h%{name}-%{version}
%build
-%configure
+%{__libtoolize}
+%{__aclocal} -I m4
+%{__autoconf}
+%{__autoheader}
+%{__automake}
+%configure \
+ --disable-static
%{__make}
%install
# they shouldn't put Makefile.am to ref_DATA
%{__rm} $RPM_BUILD_ROOT%{_datadir}/color/argyll/ref/Makefile.am
+# no -devel package (headers not exported)
+%{__rm} $RPM_BUILD_ROOT%{_libdir}/lib*.{so,la}
+
+# packaged as %doc
+%{__rm} -r $RPM_BUILD_ROOT%{_docdir}/argyll
+
%clean
rm -rf $RPM_BUILD_ROOT
+%post -p /sbin/ldconfig
+%postun -p /sbin/ldconfig
+
%files
%defattr(644,root,root,755)
-%doc *.txt
-%attr(755,root,root) %{_bindir}/*
+%doc AUTHORS Readme.txt
+%attr(755,root,root) %{_bindir}/applycal
+%attr(755,root,root) %{_bindir}/average
+%attr(755,root,root) %{_bindir}/cb2ti3
+%attr(755,root,root) %{_bindir}/ccttest
+%attr(755,root,root) %{_bindir}/ccxxmake
+%attr(755,root,root) %{_bindir}/chartread
+%attr(755,root,root) %{_bindir}/collink
+%attr(755,root,root) %{_bindir}/colprof
+%attr(755,root,root) %{_bindir}/dispcal
+%attr(755,root,root) %{_bindir}/dispread
+%attr(755,root,root) %{_bindir}/dispwin
+%attr(755,root,root) %{_bindir}/extracticc
+%attr(755,root,root) %{_bindir}/extractttag
+%attr(755,root,root) %{_bindir}/fakeCMY
+%attr(755,root,root) %{_bindir}/fakeread
+%attr(755,root,root) %{_bindir}/iccdump
+%attr(755,root,root) %{_bindir}/iccgamut
+%attr(755,root,root) %{_bindir}/icclu
+%attr(755,root,root) %{_bindir}/icctest
+%attr(755,root,root) %{_bindir}/invprofcheck
+%attr(755,root,root) %{_bindir}/kodak2ti3
+%attr(755,root,root) %{_bindir}/mppcheck
+%attr(755,root,root) %{_bindir}/mpplu
+%attr(755,root,root) %{_bindir}/mppprof
+%attr(755,root,root) %{_bindir}/oeminst
+%attr(755,root,root) %{_bindir}/pathplot
+%attr(755,root,root) %{_bindir}/printcal
+%attr(755,root,root) %{_bindir}/printtarg
+%attr(755,root,root) %{_bindir}/profcheck
+%attr(755,root,root) %{_bindir}/refine
+%attr(755,root,root) %{_bindir}/revfix
+%attr(755,root,root) %{_bindir}/scanin
+%attr(755,root,root) %{_bindir}/simpprof
+%attr(755,root,root) %{_bindir}/spec2cie
+%attr(755,root,root) %{_bindir}/specplot
+%attr(755,root,root) %{_bindir}/splitti3
+%attr(755,root,root) %{_bindir}/spotread
+%attr(755,root,root) %{_bindir}/synthcal
+%attr(755,root,root) %{_bindir}/synthread
+%attr(755,root,root) %{_bindir}/targen
+%attr(755,root,root) %{_bindir}/tiffgamut
+%attr(755,root,root) %{_bindir}/txt2ti3
+%attr(755,root,root) %{_bindir}/verify
+%attr(755,root,root) %{_bindir}/viewgam
+%attr(755,root,root) %{_bindir}/xicclu
+%attr(755,root,root) %{_libdir}/libargyll.so.*.*.*
+%attr(755,root,root) %ghost %{_libdir}/libargyll.so.0
+%attr(755,root,root) %{_libdir}/libargyllicc.so.*.*.*
+%attr(755,root,root) %ghost %{_libdir}/libargyllicc.so.0
%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)