]> git.pld-linux.org Git - packages/colorhug-client.git/blob - colorhug-client.spec
- up to 0.1.4
[packages/colorhug-client.git] / colorhug-client.spec
1 Summary:        Tools for the Hughski Colorimeter
2 Summary(pl.UTF-8):      Narzędzia do kolorymetrów Hughski
3 Name:           colorhug-client
4 Version:        0.1.4
5 Release:        1
6 License:        GPL v2
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
21 BuildRequires:  xz
22 Requires:       glib2 >= 1:2.28.0
23 Requires:       libgusb >= 0.1.2
24 BuildRoot:      %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
25
26 # why programs are installed to libexecdir in the first place?
27 %define         _libexecdir     %{_bindir}
28
29 %description
30 The Hughski ColorHug colorimeter is a low cost open-source hardware
31 sensor used to calibrate screens.
32
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
35 command line scripts.
36
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.
40
41 Ten pakiet zawiera narzędzia klienckie pozwalające uaktualniać
42 firmware sensora oraz operować sensorem z linii poleceń.
43
44 %package gui
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
51
52 %description gui
53 The Hughski ColorHug colorimeter is a low cost open-source hardware
54 sensor used to calibrate screens.
55
56 This package includes the GUI client tools which allow the user to
57 access the sensor.
58
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.
62
63 Ten pakiet zawiera graficzne narzędzia klienckia pozwalające
64 operować sensorem.
65
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
71
72 %description -n bash-completion-colorhug
73 Bash completion support for ColorHug console commands.
74
75 %description -n bash-completion-colorhug -l pl.UTF-8
76 Bashowe uzupełnianie składni dla poleceń terminalowych ColorHuga.
77
78 %prep
79 %setup -q
80
81 %build
82 %configure \
83         --disable-silent-rules
84 %{__make}
85
86 %install
87 rm -rf $RPM_BUILD_ROOT
88
89 %{__make} install \
90         DESTDIR=$RPM_BUILD_ROOT
91
92 %find_lang %{name}
93
94 %clean
95 rm -rf $RPM_BUILD_ROOT
96
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
102
103 %files gui
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*
115
116 %files -n bash-completion-colorhug
117 %defattr(644,root,root,755)
118 /etc/bash_completion.d/colorhug-completion.bash
This page took 0.055145 seconds and 4 git commands to generate.