]> git.pld-linux.org Git - packages/argyllcms.git/blobdiff - argyllcms.spec
up to 3.0.1
[packages/argyllcms.git] / argyllcms.spec
index ce1b9c2b620f94f3a390dc05d64669487f9177ff..50a40b4f11c7ff026db2df5728047398a02c54ed 100644 (file)
@@ -1,25 +1,30 @@
 Summary:       ICC compatible color management system
 Summary(pl.UTF-8):     System zarządzania kolorami kompatybilny z ICC
 Name:          argyllcms
-Version:       1.3.5
+Version:       3.0.1
 Release:       1
-License:       AGPL v3, MIT, GPL v2+, LGPL v2.1+, GNU FDL 1.3
+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: e1c51b73cfbf309099340c73b5c4ad10
+Source0:       https://www.argyllcms.com/Argyll_V%{version}_src.zip
+# Source0-md5: faf8673e2f493c66edf5b90f0925eac7
+Patch0:                x32.patch
 URL:           http://www.argyllcms.com/
+BuildRequires: jam
+BuildRequires: libjpeg-devel
+BuildRequires: libpng-devel
 BuildRequires: libtiff-devel
-BuildRequires: libusb-devel >= 1.0.0
-BuildRequires: pkgconfig
-BuildRequires: tar >= 1:1.22
+BuildRequires: linux-libc-headers
+BuildRequires: openssl-devel
+BuildRequires: unzip
 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
-BuildRequires: xz
-BuildRequires: yajl-devel
+BuildRequires: xorg-proto-xproto-devel
+BuildRequires: zlib-devel
+Obsoletes:     udev-argyllcms < 1.5.1
 BuildRoot:     %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
 
 %description
@@ -55,20 +60,6 @@ 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 -n udev-argyllcms
-Summary:       Udev rules for color measurement devices supported by Argyll CMS
-Summary(pl.UTF-8):     Reguły Udev dla urządzeń mierzących kolory obsługiwanych przez Argyll CMS
-Group:         Base
-Requires:      %{name} = %{version}-%{release}
-Requires:      udev-core
-
-%description -n udev-argyllcms
-Udev rules for color measurement devices supported by Argyll CMS.
-
-%description -n udev-argyllcms -l pl.UTF-8
-Reguły Udev dla urządzeń mierzących kolory obsługiwanych przez Argyll
-CMS.
-
 %package doc
 Summary:       Argyll CMS documentation
 Summary(pl.UTF-8):     Dokumentacja systemu Argyll CMS
@@ -93,35 +84,40 @@ Ten pakiet zawiera dokumentację do systemu zarządzania kolorami
 Argyll.
 
 %prep
-%setup -q -n h%{name}-%{version}
+%setup -q -n Argyll_V%{version}
+%patch0 -p1
 
 %build
-%configure
-%{__make}
+export CC="%{__cc}"
+export PREF_CCFLAGS="%{rpmcflags} %{rpmcppflags}"
+export PREF_LINKFLAGS="%{rpmldflags}"
+jam -fJambase %{_smp_mflags} -dx -sPREFIX="%{_prefix}" -sREFSUBDIR=share/color/argyll/ref  all
 
 %install
 rm -rf $RPM_BUILD_ROOT
-%{__make} install \
-       DESTDIR=$RPM_BUILD_ROOT
+jam -fJambase %{_smp_mflags} -dx -sPREFIX="%{_prefix}" -sDESTDIR=$RPM_BUILD_ROOT -sREFSUBDIR=share/color/argyll/ref  install
 
-# they shouldn't put Makefile.am to ref_DATA
-%{__rm} $RPM_BUILD_ROOT%{_datadir}/color/argyll/ref/Makefile.am
-
-%{__rm} -r $RPM_BUILD_ROOT%{_docdir}/argyll
+%{__rm} $RPM_BUILD_ROOT%{_prefix}/bin/License.txt
 
 %clean
 rm -rf $RPM_BUILD_ROOT
 
+%post  -p /sbin/ldconfig
+%postun        -p /sbin/ldconfig
+
 %files
 %defattr(644,root,root,755)
-%doc AUTHORS Readme.txt log.txt ttbd.txt
+%doc 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}/cctiff
+%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}/colverify
+%attr(755,root,root) %{_bindir}/cxf2ti3
 %attr(755,root,root) %{_bindir}/dispcal
 %attr(755,root,root) %{_bindir}/dispread
 %attr(755,root,root) %{_bindir}/dispwin
@@ -129,44 +125,40 @@ rm -rf $RPM_BUILD_ROOT
 %attr(755,root,root) %{_bindir}/extractttag
 %attr(755,root,root) %{_bindir}/fakeCMY
 %attr(755,root,root) %{_bindir}/fakeread
+%attr(755,root,root) %{_bindir}/greytiff
 %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}/iccvcgt
+%attr(755,root,root) %{_bindir}/illumread
 %attr(755,root,root) %{_bindir}/invprofcheck
 %attr(755,root,root) %{_bindir}/kodak2ti3
+%attr(755,root,root) %{_bindir}/ls2ti3
 %attr(755,root,root) %{_bindir}/mppcheck
 %attr(755,root,root) %{_bindir}/mpplu
 %attr(755,root,root) %{_bindir}/mppprof
-%attr(755,root,root) %{_bindir}/pathplot
+%attr(755,root,root) %{_bindir}/oeminst
 %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}/sepgen
-%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}/spyd2en
 %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}/timage
 %attr(755,root,root) %{_bindir}/txt2ti3
-%attr(755,root,root) %{_bindir}/verify
 %attr(755,root,root) %{_bindir}/viewgam
 %attr(755,root,root) %{_bindir}/xicclu
 %dir %{_datadir}/color/argyll
 %{_datadir}/color/argyll/ref
 
-%files -n udev-argyllcms
-%defattr(644,root,root,755)
-/lib/udev/rules.d/55-Argyll.rules
-
 %files doc
 %defattr(644,root,root,755)
 %doc doc/*.html doc/*.jpg doc/*.txt
This page took 0.035653 seconds and 4 git commands to generate.