]> git.pld-linux.org Git - packages/argyllcms.git/blob - argyllcms.spec
999530b7e7e79cbaa914eb9a61829e8d1fb39930
[packages/argyllcms.git] / argyllcms.spec
1 %define         alphatag        20100201
2 %define         rel                     0.3
3 Summary:        ICC compatible color management system
4 Name:           argyllcms
5 Version:        1.1.0
6 Release:        0.2.%{alphatag}git.%{rel}
7 License:        GPL v3 and MIT
8 Group:          X11
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
21 Requires:       udev-core
22 BuildRoot:      %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
23
24 %description
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.
28
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
38 a VRML viewer.
39
40 %package doc
41 Summary:        Argyll CMS documentation
42 Group:          Documentation
43 # Does not really make sense without Argyll CMS itself
44 Requires:       %{name} = %{version}-%{release}
45
46 %description doc
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.
50
51 This package contains the Argyll color management system
52 documentation.
53
54 %prep
55 #%setup -q -n hargyllcms-%{version}
56 %setup -q -n h%{name}-%{?version}-%{?alphatag}
57
58 # we're not allowed to refer to acquisition devices as scanners
59 ./legal.sh
60
61 %build
62 %configure
63 %{__make}
64
65 %install
66 rm -rf $RPM_BUILD_ROOT
67 %{__make} install \
68         DESTDIR=$RPM_BUILD_ROOT
69
70 # they shouldn't put Makefile.am to ref_DATA
71 %{__rm} $RPM_BUILD_ROOT%{_datadir}/color/argyll/ref/Makefile.am
72
73 %clean
74 rm -rf $RPM_BUILD_ROOT
75
76 %files
77 %defattr(644,root,root,755)
78 %doc *.txt
79 %attr(755,root,root) %{_bindir}/*
80 %dir %{_datadir}/color/argyll
81 %{_datadir}/color/argyll/ref
82 /lib/udev/rules.d/55-Argyll.rules
83
84 %exclude %{_datadir}/doc/argyll
85
86 %files doc
87 %defattr(644,root,root,755)
88 %doc doc/*.html doc/*.jpg doc/*.txt
This page took 0.093514 seconds and 3 git commands to generate.