1 Summary: Tools for the Hughski Colorimeter
2 Summary(pl.UTF-8): Narzędzia do kolorymetrów Hughski
7 Group: Applications/System
8 Source0: http://people.freedesktop.org/~hughsient/releases/%{name}-%{version}.tar.xz
9 # Source0-md5: a48ca8e1389ac22c33a17c9eb81c64eb
10 URL: http://hughski.com/
11 BuildRequires: colord-devel >= 0.1.15
12 BuildRequires: glib2-devel >= 1:2.28.0
13 BuildRequires: gettext-devel >= 0.17
14 BuildRequires: gtk+3-devel >= 3.0.0
15 BuildRequires: intltool >= 0.35.0
16 BuildRequires: lcms2-devel
17 BuildRequires: libgusb-devel >= 0.1.2
18 BuildRequires: libsoup-devel >= 2.4
19 BuildRequires: pkgconfig
20 BuildRequires: tar >= 1:1.22
22 Requires: glib2 >= 1:2.28.0
23 Requires: libgusb >= 0.1.2
24 BuildRoot: %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
26 # why programs are installed to libexecdir in the first place?
27 %define _libexecdir %{_bindir}
30 The Hughski ColorHug colorimeter is a low cost open-source hardware
31 sensor used to calibrate screens.
33 This package includes the client tools which allows the user to
34 upgrade the firmware on the sensor or to access the sensor from
37 %description -l pl.UTF-8
38 Hughski ColorHug to niskobudżetowy kolorymetr z sensorem sprzętowym,
39 mający otwarte źródła, służący do kalibrowania ekranów.
41 Ten pakiet zawiera narzędzia klienckie pozwalające uaktualniać
42 firmware sensora oraz operować sensorem z linii poleceń.
45 Summary: GUI tools for the Hughski Colorimeter
46 Summary(pl.UTF-8): Graficzne narzędzia do kolorymetrów Hughski
47 Group: X11/Applications
48 Requires: %{name} = %{version}-%{release}
49 Requires: colord >= 0.1.15
50 Requires: gtk+3 >= 3.0.0
53 The Hughski ColorHug colorimeter is a low cost open-source hardware
54 sensor used to calibrate screens.
56 This package includes the GUI client tools which allow the user to
59 %description gui -l pl.UTF-8
60 Hughski ColorHug to niskobudżetowy kolorymetr z sensorem sprzętowym,
61 mający otwarte źródła, służący do kalibrowania ekranów.
63 Ten pakiet zawiera graficzne narzędzia klienckia pozwalające
66 %package -n bash-completion-colorhug
67 Summary: Bash completion support for ColorHug console commands
68 Summary(pl.UTF-8): Bashowe uzupełnianie składni dla poleceń terminalowych ColorHuga
69 Group: Applications/Shells
70 Requires: bash-completion
72 %description -n bash-completion-colorhug
73 Bash completion support for ColorHug console commands.
75 %description -n bash-completion-colorhug -l pl.UTF-8
76 Bashowe uzupełnianie składni dla poleceń terminalowych ColorHuga.
83 --disable-silent-rules
87 rm -rf $RPM_BUILD_ROOT
90 DESTDIR=$RPM_BUILD_ROOT
95 rm -rf $RPM_BUILD_ROOT
97 %files -f %{name}.lang
98 %defattr(644,root,root,755)
99 %doc AUTHORS NEWS README
100 %attr(755,root,root) %{_bindir}/colorhug
101 %attr(755,root,root) %{_bindir}/colorhug-inhx32-to-bin
104 %defattr(644,root,root,755)
105 %attr(755,root,root) %{_bindir}/colorhug-ccmx
106 %attr(755,root,root) %{_bindir}/colorhug-flash
107 %attr(755,root,root) %{_bindir}/colorhug-gui
108 %{_datadir}/colorhug-client
109 %{_desktopdir}/colorhug-ccmx.desktop
110 %{_desktopdir}/colorhug-flash.desktop
111 %{_iconsdir}/hicolor/*/apps/colorhug.png
112 %{_iconsdir}/hicolor/scalable/apps/colorhug.svg
113 %{_mandir}/man1/colorhug-flash.1*
114 %{_mandir}/man1/colorhug-ccmx.1*
116 %files -n bash-completion-colorhug
117 %defattr(644,root,root,755)
118 /etc/bash_completion.d/colorhug-completion.bash