]>
Commit | Line | Data |
---|---|---|
5c074cd9 | 1 | # NOTE: for newer versions of hargyllcms fork see hargyllcms.spec |
b5645116 ER |
2 | %define alphatag 20100201 |
3 | %define rel 0.3 | |
4 | Summary: ICC compatible color management system | |
5c074cd9 | 5 | Summary(pl.UTF-8): System zarządzania kolorami kompatybilny z ICC |
b5645116 ER |
6 | Name: argyllcms |
7 | Version: 1.1.0 | |
8 | Release: 0.2.%{alphatag}git.%{rel} | |
9 | License: GPL v3 and MIT | |
10 | Group: X11 | |
b5645116 ER |
11 | #Source0: http://people.freedesktop.org/~hughsient/releases/hargyllcms-%{version}-%{?alphatag}.tar.gz |
12 | Source0: http://pkgs.fedoraproject.org/repo/pkgs/argyllcms/h%{name}-%{version}-%{alphatag}.tar.gz/59cdfbefa1c905967b0848634c2fb509/hargyllcms-%{version}-%{alphatag}.tar.gz | |
13 | # Source0-md5: 59cdfbefa1c905967b0848634c2fb509 | |
5c074cd9 | 14 | URL: http://www.argyllcms.com/ |
b5645116 ER |
15 | BuildRequires: libtiff-devel |
16 | BuildRequires: libusb-devel | |
17 | BuildRequires: xorg-lib-libX11-devel | |
18 | BuildRequires: xorg-lib-libXScrnSaver-devel | |
19 | BuildRequires: xorg-lib-libXext-devel | |
20 | BuildRequires: xorg-lib-libXinerama-devel | |
21 | BuildRequires: xorg-lib-libXrandr-devel | |
22 | BuildRequires: xorg-lib-libXxf86vm-devel | |
23 | Requires: udev-core | |
24 | BuildRoot: %{tmpdir}/%{name}-%{version}-root-%(id -u -n) | |
25 | ||
26 | %description | |
27 | The Argyll color management system supports accurate ICC profile | |
28 | creation for acquisition devices, CMYK printers, film recorders and | |
29 | calibration and profiling of displays. | |
30 | ||
31 | Spectral sample data is supported, allowing a selection of illuminants | |
32 | observer types, and paper fluorescent whitener additive compensation. | |
33 | Profiles can also incorporate source specific gamut mappings for | |
34 | perceptual and saturation intents. Gamut mapping and profile linking | |
35 | uses the CIECAM02 appearance model, a unique gamut mapping algorithm, | |
36 | and a wide selection of rendering intents. It also includes code for | |
37 | the fastest portable 8 bit raster color conversion engine available | |
38 | anywhere, as well as support for fast, fully accurate 16 bit | |
39 | conversion. Device color gamuts can also be viewed and compared using | |
40 | a VRML viewer. | |
41 | ||
5c074cd9 JB |
42 | %description -l pl.UTF-8 |
43 | System zarządzania kolorami Argyll obsługuje tworzenie dokładnych | |
44 | profili ICC dla urządzeń skanujących, drukarek CMYK i kamer oraz | |
45 | kalibrację i profilowanie wyświetlaczy. | |
46 | ||
47 | Obsługiwane są dane próbek widmowych, co pozwala na wybór typów | |
48 | obserwatora oświetlenia oraz kompensację addytywną fluorescencyjnych | |
49 | wybielaczy papieru. Profile mogą zawierać także zależne od źródła | |
50 | odwzorowania podzbioru kolorów (gamut) pod kątem postrzegania i | |
51 | nasycenia. Odwzorowanie kolorów i wiązanie profili wykorzystuje model | |
52 | wyglądu kolorów CIECAM02, unikalny algorytm odwzorowania podzbioru | |
53 | kolorów oraz szeroki wybór celu renderingu. Zawiera także kod | |
54 | najszybszego dostępnego przenośnego 8-bitowego rastrowego silnika | |
55 | konwersji kolorów, a także obsługę szybkiej, dokładniej 16-bitowej | |
56 | konwersji. Podzbiór kolorów urządzeń można oglądać i porównywać przy | |
57 | użyciu przeglądarki VRML. | |
58 | ||
b5645116 ER |
59 | %package doc |
60 | Summary: Argyll CMS documentation | |
5c074cd9 | 61 | Summary(pl.UTF-8): Dokumentacja systemu Argyll CMS |
b5645116 ER |
62 | Group: Documentation |
63 | # Does not really make sense without Argyll CMS itself | |
64 | Requires: %{name} = %{version}-%{release} | |
65 | ||
66 | %description doc | |
67 | The Argyll color management system supports accurate ICC profile | |
68 | creation for acquisition devices, CMYK printers, film recorders and | |
69 | calibration and profiling of displays. | |
70 | ||
71 | This package contains the Argyll color management system | |
72 | documentation. | |
73 | ||
5c074cd9 JB |
74 | %description doc -l pl.UTF-8 |
75 | System zarządzania kolorami Argyll obsługuje tworzenie dokładnych | |
76 | profili ICC dla urządzeń skanujących, drukarek CMYK i kamer oraz | |
77 | kalibrację i profilowanie wyświetlaczy. | |
78 | ||
79 | Ten pakiet zawiera dokumentację do systemu zarządzania kolorami | |
80 | Argyll. | |
81 | ||
b5645116 ER |
82 | %prep |
83 | #%setup -q -n hargyllcms-%{version} | |
84 | %setup -q -n h%{name}-%{?version}-%{?alphatag} | |
85 | ||
86 | # we're not allowed to refer to acquisition devices as scanners | |
87 | ./legal.sh | |
88 | ||
89 | %build | |
90 | %configure | |
91 | %{__make} | |
92 | ||
93 | %install | |
94 | rm -rf $RPM_BUILD_ROOT | |
95 | %{__make} install \ | |
96 | DESTDIR=$RPM_BUILD_ROOT | |
97 | ||
98 | # they shouldn't put Makefile.am to ref_DATA | |
99 | %{__rm} $RPM_BUILD_ROOT%{_datadir}/color/argyll/ref/Makefile.am | |
100 | ||
101 | %clean | |
102 | rm -rf $RPM_BUILD_ROOT | |
103 | ||
104 | %files | |
105 | %defattr(644,root,root,755) | |
106 | %doc *.txt | |
107 | %attr(755,root,root) %{_bindir}/* | |
108 | %dir %{_datadir}/color/argyll | |
109 | %{_datadir}/color/argyll/ref | |
110 | /lib/udev/rules.d/55-Argyll.rules | |
111 | ||
112 | %exclude %{_datadir}/doc/argyll | |
113 | ||
114 | %files doc | |
115 | %defattr(644,root,root,755) | |
116 | %doc doc/*.html doc/*.jpg doc/*.txt |