]>
Commit | Line | Data |
---|---|---|
c0249348 ER |
1 | Summary: A graphical user interface for the Argyll CMS display calibration utilities |
2 | Name: dispcalGUI | |
3 | Version: 0.7.8.9 | |
4 | Release: 19.6 | |
5 | License: GPL v3 | |
6 | Source0: http://dispcalGUI.hoech.net/%{name}-%{version}.tar.gz | |
7 | # Source0-md5: 0b26561e61761e6be99964b35496af41 | |
8 | Group: Applications/Multimedia | |
9 | URL: http://dispcalgui.hoech.net/ | |
b58710bc | 10 | BuildRequires: rpmbuild(macros) >= 1.710 |
c0249348 ER |
11 | BuildRequires: desktop-file-utils |
12 | BuildRequires: python-devel | |
13 | BuildRequires: udev-core | |
14 | BuildRequires: xorg-lib-libX11-devel | |
15 | BuildRequires: xorg-lib-libXinerama-devel | |
16 | BuildRequires: xorg-lib-libXrandr-devel | |
17 | BuildRequires: xorg-lib-libXxf86vm-devel | |
18 | Requires: desktop-file-utils | |
19 | Requires: gtk-update-icon-cache | |
20 | Requires: hicolor-icon-theme | |
21 | Requires: python-numpy >= 1.0 | |
22 | Requires: python-wxPython >= 2.8.6 | |
23 | BuildRoot: %{tmpdir}/%{name}-%{version}-root-%(id -u -n) | |
24 | ||
25 | %description | |
26 | Calibrates and characterizes display devices using a hardware sensor, | |
27 | driven by the open source color management system Argyll CMS. Supports | |
28 | multi-display setups and a variety of available settings like | |
29 | customizable whitepoint, luminance, black level, tone response curve | |
30 | as well as the creation of matrix and look-up-table ICC profiles with | |
31 | optional gamut mapping. Calibrations and profiles can be verified | |
32 | through measurements, and profiles can be installed to make them | |
33 | available to color management aware applications. Profile installation | |
34 | can utilize Argyll CMS, Oyranos and/or GNOME Color Manager if | |
35 | available, for flexible integration. | |
36 | ||
37 | %prep | |
38 | %setup -q | |
39 | # Make files executable | |
40 | chmod +x scripts/* | |
41 | chmod +x misc/Argyll | |
42 | ||
43 | find -name .DS_Store | xargs rm -rv | |
44 | ||
45 | %build | |
36fe5e9c | 46 | %py_build --use-distutils |
c0249348 ER |
47 | |
48 | %install | |
49 | rm -rf $RPM_BUILD_ROOT | |
36fe5e9c | 50 | %py_install \ |
c0249348 ER |
51 | --skip-instrument-configuration-files \ |
52 | --skip-postinstall \ | |
53 | --use-distutils \ | |
54 | --prefix=%{_prefix} \ | |
55 | --root=$RPM_BUILD_ROOT \ | |
56 | ||
57 | #%{__rm} -r $RPM_BUILD_ROOT%{_datadir}/%{name}/tests | |
58 | ||
59 | %py_postclean | |
60 | ||
61 | install -d $RPM_BUILD_ROOT/lib/udev/rules.d | |
62 | cp -p misc/92-Argyll.rules $RPM_BUILD_ROOT/lib/udev/rules.d | |
63 | ||
64 | %clean | |
65 | rm -rf $RPM_BUILD_ROOT | |
66 | ||
67 | %post | |
68 | %update_desktop_database_post | |
69 | %update_icon_cache hicolor | |
70 | ||
71 | %postun | |
72 | %update_desktop_database_postun | |
73 | %update_icon_cache hicolor | |
74 | ||
75 | %files | |
76 | %defattr(644,root,root,755) | |
77 | %doc README.html screenshots theme | |
78 | /etc/xdg/autostart/z-dispcalGUI-apply-profiles.desktop | |
79 | /lib/udev/rules.d/92-Argyll.rules | |
80 | %attr(755,root,root) %{_bindir}/dispcalGUI | |
81 | %attr(755,root,root) %{_bindir}/dispcalGUI-apply-profiles | |
82 | %{_mandir}/man1/dispcalGUI-apply-profiles.1* | |
83 | %{_mandir}/man1/dispcalGUI.1* | |
84 | %{_desktopdir}/dispcalGUI.desktop | |
85 | %{_iconsdir}/hicolor/*/apps/dispcalGUI.png | |
86 | ||
87 | %dir %{py_sitedir}/%{name} | |
88 | %{py_sitedir}/%{name}/*.py[co] | |
89 | %{py_sitedir}/%{name}-*.egg-info | |
90 | %dir %{py_sitedir}/%{name}/%{_lib} | |
91 | %{py_sitedir}/%{name}/%{_lib}/*.py[co] | |
92 | %dir %{py_sitedir}/%{name}/%{_lib}/python* | |
93 | %{py_sitedir}/%{name}/%{_lib}/python*/*.py[co] | |
94 | %attr(755,root,root) %{py_sitedir}/%{name}/%{_lib}/python*/RealDisplaySizeMM.so | |
95 | ||
96 | %dir %{_datadir}/%{name} | |
97 | %{_datadir}/%{name}/*.json | |
98 | %{_datadir}/%{name}/test.cal | |
99 | %{_datadir}/%{name}/pnp.ids | |
100 | %{_datadir}/%{name}/presets | |
101 | %{_datadir}/%{name}/ref | |
102 | %{_datadir}/%{name}/report | |
103 | %{_datadir}/%{name}/tests | |
104 | %{_datadir}/%{name}/theme | |
105 | %{_datadir}/%{name}/ti1 | |
106 | %{_datadir}/%{name}/xrc | |
107 | %dir %{_datadir}/%{name}/lang | |
108 | %{_datadir}/%{name}/lang/en.json | |
109 | %lang(de) %{_datadir}/%{name}/lang/de.json | |
110 | %lang(es) %{_datadir}/%{name}/lang/es.json | |
111 | %lang(fr) %{_datadir}/%{name}/lang/fr.json | |
112 | %lang(it) %{_datadir}/%{name}/lang/it.json |