]> git.pld-linux.org Git - packages/dispcalGUI.git/blame - dispcalGUI.spec
BR: rpmbuild(macros) >= 1.710
[packages/dispcalGUI.git] / dispcalGUI.spec
CommitLineData
c0249348
ER
1Summary: A graphical user interface for the Argyll CMS display calibration utilities
2Name: dispcalGUI
3Version: 0.7.8.9
4Release: 19.6
5License: GPL v3
6Source0: http://dispcalGUI.hoech.net/%{name}-%{version}.tar.gz
7# Source0-md5: 0b26561e61761e6be99964b35496af41
8Group: Applications/Multimedia
9URL: http://dispcalgui.hoech.net/
b58710bc 10BuildRequires: rpmbuild(macros) >= 1.710
c0249348
ER
11BuildRequires: desktop-file-utils
12BuildRequires: python-devel
13BuildRequires: udev-core
14BuildRequires: xorg-lib-libX11-devel
15BuildRequires: xorg-lib-libXinerama-devel
16BuildRequires: xorg-lib-libXrandr-devel
17BuildRequires: xorg-lib-libXxf86vm-devel
18Requires: desktop-file-utils
19Requires: gtk-update-icon-cache
20Requires: hicolor-icon-theme
21Requires: python-numpy >= 1.0
22Requires: python-wxPython >= 2.8.6
23BuildRoot: %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
24
25%description
26Calibrates and characterizes display devices using a hardware sensor,
27driven by the open source color management system Argyll CMS. Supports
28multi-display setups and a variety of available settings like
29customizable whitepoint, luminance, black level, tone response curve
30as well as the creation of matrix and look-up-table ICC profiles with
31optional gamut mapping. Calibrations and profiles can be verified
32through measurements, and profiles can be installed to make them
33available to color management aware applications. Profile installation
34can utilize Argyll CMS, Oyranos and/or GNOME Color Manager if
35available, for flexible integration.
36
37%prep
38%setup -q
39# Make files executable
40chmod +x scripts/*
41chmod +x misc/Argyll
42
43find -name .DS_Store | xargs rm -rv
44
45%build
36fe5e9c 46%py_build --use-distutils
c0249348
ER
47
48%install
49rm -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
61install -d $RPM_BUILD_ROOT/lib/udev/rules.d
62cp -p misc/92-Argyll.rules $RPM_BUILD_ROOT/lib/udev/rules.d
63
64%clean
65rm -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
This page took 0.080982 seconds and 4 git commands to generate.