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: 51088d843317c861547d944018ec8a10
10 URL: http://hughski.com/
11 BuildRequires: colord-devel >= 0.1.29
12 BuildRequires: colord-gtk-devel >= 0.1.24
13 BuildRequires: docbook-utils
14 BuildRequires: gettext-devel >= 0.17
15 BuildRequires: glib2-devel >= 1:2.31.10
16 BuildRequires: gobject-introspection-devel >= 0.9.8
17 BuildRequires: gtk+3-devel >= 3.0.0
18 BuildRequires: intltool >= 0.35.0
19 BuildRequires: lcms2-devel
20 BuildRequires: libcanberra-gtk3-devel >= 0.10
21 BuildRequires: libgusb-devel >= 0.1.4
22 BuildRequires: libsoup-devel >= 2.4
23 BuildRequires: pkgconfig
24 BuildRequires: sqlite3-devel
25 BuildRequires: tar >= 1:1.22
27 Requires: %{name}-libs = %{version}-%{release}
28 Requires: colord-libs >= 0.1.29
29 Requires: glib2 >= 1:2.31.10
30 Requires: libgusb >= 0.1.4
31 BuildRoot: %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
33 # why programs are installed to libexecdir in the first place?
34 %define _libexecdir %{_bindir}
37 The Hughski ColorHug colorimeter is a low cost open-source hardware
38 sensor used to calibrate screens.
40 This package includes the client tools which allows the user to
41 upgrade the firmware on the sensor or to access the sensor from
44 %description -l pl.UTF-8
45 Hughski ColorHug to niskobudżetowy kolorymetr z sensorem sprzętowym,
46 mający otwarte źródła, służący do kalibrowania ekranów.
48 Ten pakiet zawiera narzędzia klienckie pozwalające uaktualniać
49 firmware sensora oraz operować sensorem z linii poleceń.
52 Summary: GUI tools for the Hughski Colorimeter
53 Summary(pl.UTF-8): Graficzne narzędzia do kolorymetrów Hughski
54 Group: X11/Applications
55 Requires: %{name} = %{version}-%{release}
56 Requires: colord-gtk >= 0.1.24
57 Requires: gtk+3 >= 3.0.0
58 Requires: libcanberra-gtk3 >= 0.10
61 The Hughski ColorHug colorimeter is a low cost open-source hardware
62 sensor used to calibrate screens.
64 This package includes the GUI client tools which allow the user to
67 %description gui -l pl.UTF-8
68 Hughski ColorHug to niskobudżetowy kolorymetr z sensorem sprzętowym,
69 mający otwarte źródła, służący do kalibrowania ekranów.
71 Ten pakiet zawiera graficzne narzędzia klienckia pozwalające operować
75 Summary: Library for Hughski Colorimeter
76 Summary(pl.UTF-8): Biblioteka do kolorymetrów Hughski
80 Library for Hughski Colorimeter.
82 %description libs -l pl.UTF-8
83 Biblioteka do kolorymetrów Hughski.
86 Summary: Header files for ColorHug library
87 Summary(pl.UTF-8): Pliki nagłówkowe biblioteki ColorHug
88 Group: Development/Libraries
89 Requires: %{name}-libs = %{version}-%{release}
92 Header files for ColorHug library.
94 %description devel -l pl.UTF-8
95 Pliki nagłówkowe biblioteki ColorHug.
98 Summary: Static ColorHug library
99 Summary(pl.UTF-8): Statyczna biblioteka ColorHug
100 Group: Development/Libraries
101 Requires: %{name}-devel = %{version}-%{release}
104 Static ColorHug library.
106 %description static -l pl.UTF-8
107 Statyczna biblioteka ColorHug.
109 %package -n bash-completion-colorhug
110 Summary: Bash completion support for ColorHug console commands
111 Summary(pl.UTF-8): Bashowe uzupełnianie składni dla poleceń terminalowych ColorHuga
112 Group: Applications/Shells
113 Requires: bash-completion
115 %description -n bash-completion-colorhug
116 Bash completion support for ColorHug console commands.
118 %description -n bash-completion-colorhug -l pl.UTF-8
119 Bashowe uzupełnianie składni dla poleceń terminalowych ColorHuga.
126 --disable-silent-rules
130 rm -rf $RPM_BUILD_ROOT
133 DESTDIR=$RPM_BUILD_ROOT
135 # remove empty de locale
136 %{__rm} -r $RPM_BUILD_ROOT%{_localedir}/de
137 mv $RPM_BUILD_ROOT%{_localedir}/{cs_CZ,cs}
138 mv $RPM_BUILD_ROOT%{_localedir}/{de_DE,de}
139 mv $RPM_BUILD_ROOT%{_localedir}/{el_GR,el}
140 mv $RPM_BUILD_ROOT%{_localedir}/{es_ES,es}
141 mv $RPM_BUILD_ROOT%{_localedir}/{fr_FR,fr}
142 mv $RPM_BUILD_ROOT%{_localedir}/{it_IT,it}
143 mv $RPM_BUILD_ROOT%{_localedir}/{ja_JP,ja}
144 mv $RPM_BUILD_ROOT%{_localedir}/{nl_NL,nl}
145 mv $RPM_BUILD_ROOT%{_localedir}/{pt_PT,pt}
146 # empty version of pl which already exists
147 %{__rm} -r $RPM_BUILD_ROOT%{_localedir}/pl_PL
148 # program not packaged (unfinished as of 0.1.13)
149 %{__rm} $RPM_BUILD_ROOT%{_desktopdir}/colorhug-spectro-util.desktop
154 rm -rf $RPM_BUILD_ROOT
156 %files -f %{name}.lang
157 %defattr(644,root,root,755)
158 %doc AUTHORS NEWS README
159 %attr(755,root,root) %{_bindir}/colorhug
160 %attr(755,root,root) %{_bindir}/colorhug-cmd
161 %attr(755,root,root) %{_bindir}/colorhug-inhx32-to-bin
162 %{_datadir}/glib-2.0/schemas/com.hughski.colorhug-client.gschema.xml
163 %{_mandir}/man1/colorhug-cmd.1*
166 %defattr(644,root,root,755)
167 %attr(755,root,root) %{_bindir}/colorhug-ccmx
168 %attr(755,root,root) %{_bindir}/colorhug-flash
169 %{_datadir}/colorhug-client
170 %{_desktopdir}/colorhug-ccmx.desktop
171 %{_desktopdir}/colorhug-flash.desktop
172 %{_iconsdir}/hicolor/*/apps/colorhug*.png
173 %{_iconsdir}/hicolor/*/apps/colorimeter-colorhug-inactive.png
174 %{_iconsdir}/hicolor/scalable/apps/colorhug.svg
175 %{_iconsdir}/hicolor/*/mimetypes/application-x-ccmx.png
176 %{_iconsdir}/hicolor/scalable/mimetypes/application-x-ccmx.svg
177 %{_mandir}/man1/colorhug-flash.1*
178 %{_mandir}/man1/colorhug-ccmx.1*
180 %files -n bash-completion-colorhug
181 %defattr(644,root,root,755)
182 /etc/bash_completion.d/colorhug-cmd-completion.bash