]> git.pld-linux.org Git - packages/XcursorTheme.git/blob - XcursorTheme.spec
65953d8806bc6c0f3c57d46a0df966c53cbb2e2e
[packages/XcursorTheme.git] / XcursorTheme.spec
1 #
2 # TODO: cursorconfig doesn't work on TH dialog
3 #       (removing unsupported --one-column option doesn't help)
4 #
5 Summary:        X cursor packs from kde-look
6 Summary(pl.UTF-8):      Motywy kursorów X z kde-look
7 Name:           XcursorTheme
8 Version:        1.0
9 Release:        9
10 License:        Different per subpackage
11 Group:          Themes
12 # The icon files have been repackaged by me in order to avoid having too much work with %%prep
13 Source0:        XFree86-Xcursor-packs.tar.bz2
14 # Source0-md5:  4770381266eec192263ce9c22a6d424d
15 Source1:        %{name}-cursorconfig
16 Source2:        %{name}-cursorconfig.pl.po
17 URL:            http://www.kde-look.org/
18 BuildRequires:  gettext-devel
19 BuildRoot:      %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
20
21 %define         _icondir        /usr/share/icons
22
23 %description
24 X cursor packs taken from kde-look. The authors are as follows:
25 YCursors        Daniele Pighin
26 vox             Mike Bryant
27 Red Dot         uga
28 GKD             noonespecial
29
30 %description -l pl.UTF-8
31 Motywy kursorów wzięte z kde-look. Ich autorzy to:
32 YCursors        Daniele Pighin
33 vox             Mike Bryant
34 Red Dot         uga
35 GKD             noonespecial
36
37 %package YCursors
38 Summary:        YCursors cursor pack
39 Summary(pl.UTF-8):      Motyw kursorów YCursors
40 License:        distributable (see COPYING)
41 Group:          Themes
42 Obsoletes:      XFree86-Xcursor-packs-YCursors
43
44 %description YCursors
45 YCursors cursor pack by Daniele Pighin.
46
47 %description YCursors -l pl.UTF-8
48 Motyw kursorów YCursors autorstwa Daniele Pighin.
49
50 %package Red_Dot
51 Summary:        Red Dot cursor pack
52 Summary(pl.UTF-8):      Motyw kursorów Red Dot
53 License:        Freeware
54 Group:          Themes
55 Obsoletes:      XFree86-Xcursor-packs-Red_Dot
56
57 %description Red_Dot
58 Red Dot cursor pack.
59
60 %description Red_Dot -l pl.UTF-8
61 Motyw kursorów Red Dot.
62
63 %package vox
64 Summary:        vox cursor pack
65 Summary(pl.UTF-8):      Motyw kursorów vox
66 License:        distributable (see COPYING)
67 Group:          Themes
68 Obsoletes:      XFree86-Xcursor-packs-vox
69
70 %description vox
71 vox cursor pack by Mike Bryant.
72
73 %description vox -l pl.UTF-8
74 Motyw kursorów vox autorstwa Mike'a Bryanta.
75
76 %package GKD
77 Summary:        GKD cursor pack
78 Summary(pl.UTF-8):      Motyw kursorów GKD
79 License:        distributable
80 Group:          Themes
81 Obsoletes:      XFree86-Xcursor-packs-GKD
82
83 %description GKD
84 GKD cursor pack.
85
86 %description GKD -l pl.UTF-8
87 Motyw kursorów GKD.
88
89 %package tux
90 Summary:        Tux cursor pack
91 Summary(pl.UTF-8):      Motyw kursorów Tux
92 License:        distributable
93 Group:          Themes
94 Obsoletes:      XFree86-Xcursor-packs-tux
95
96 %description tux
97 Tux cursor pack.
98
99 %description tux -l pl.UTF-8
100 Motyw kursorów Tux.
101
102 %package tuxshadow
103 Summary:        Tuxshadow cursor pack
104 Summary(pl.UTF-8):      Motyw kursorów Tuxshadow
105 License:        distributable
106 Group:          Themes
107 Obsoletes:      XFree86-Xcursor-packs-tuxshadow
108
109 %description tuxshadow
110 Tuxshadow cursor pack.
111
112 %description tuxshadow -l pl.UTF-8
113 Motyw kursorów Tuxshadow.
114
115 %package Golden
116 Summary:        Golden XCursors 3D cursor pack
117 Summary(pl.UTF-8):      Motyw kursorów Golden XCursors 3D
118 License:        LGPL
119 Group:          Themes
120 Obsoletes:      XFree86-Xcursor-packs-Golden
121
122 %description Golden
123 Golden XCursors 3D cursor pack.
124
125 %description Golden -l pl.UTF-8
126 Motyw kursorów Golden XCursors 3D.
127
128 %package Silver
129 Summary:        Silver XCursors 3D cursor pack
130 Summary(pl.UTF-8):      Motyw kursorów Silver XCursors 3D
131 License:        LGPL
132 Group:          Themes
133 Obsoletes:      XFree86-Xcursor-packs-Silver
134
135 %description Silver
136 Silver XCursors 3D cursor pack.
137
138 %description Silver -l pl.UTF-8
139 Motyw kursorów Silver XCursors 3D.
140
141 %package setup
142 Summary:        XCursor theme configuration script
143 Summary(pl.UTF-8):      Konfigurator motywów XCursor
144 Group:          Themes
145 License:        GPL
146 Requires:       dialog
147 Requires:       fileutils
148 Requires:       gettext
149 Requires:       grep
150 Requires:       sed
151 Obsoletes:      XFree86-Xcursor-packs-setup
152
153 %description setup
154 XCursor theme configuration script.
155
156 %description setup -l pl.UTF-8
157 Konfigurator motywów XCursor.
158
159 %prep
160 %setup -q -n cursors
161
162 %install
163 rm -rf $RPM_BUILD_ROOT
164 install -d $RPM_BUILD_ROOT{%{_bindir},%{_datadir}/locale/pl/LC_MESSAGES} \
165         $RPM_BUILD_ROOT%{_icondir}/{GKD,YCursors,reddot,vox,tux,tuxshadow,gold,Silver}/cursors
166
167 # preserve symlinks
168 cp -df GKD/*            $RPM_BUILD_ROOT%{_icondir}/GKD/cursors
169 cp -df YCursors/*       $RPM_BUILD_ROOT%{_icondir}/YCursors/cursors
170 cp -df reddot/*         $RPM_BUILD_ROOT%{_icondir}/reddot/cursors
171 cp -df vox/*            $RPM_BUILD_ROOT%{_icondir}/vox/cursors
172 cp -df tuxcursor/*      $RPM_BUILD_ROOT%{_icondir}/tux/cursors
173 cp -df tuxshadow/*      $RPM_BUILD_ROOT%{_icondir}/tuxshadow/cursors
174 cp -df gold/*           $RPM_BUILD_ROOT%{_icondir}/gold/cursors
175 cp -df Silver/*         $RPM_BUILD_ROOT%{_icondir}/Silver/cursors
176 install %{SOURCE1} $RPM_BUILD_ROOT%{_bindir}/cursorconfig
177 msgfmt -v %{SOURCE2} -o $RPM_BUILD_ROOT%{_datadir}/locale/pl/LC_MESSAGES/cursorconfig.mo
178
179 %find_lang cursorconfig
180
181 %clean
182 rm -rf $RPM_BUILD_ROOT
183
184 %files YCursors
185 %defattr(644,root,root,755)
186 %doc doc/YCursors/*
187 %{_icondir}/YCursors
188
189 %files vox
190 %defattr(644,root,root,755)
191 %doc doc/vox/*
192 %{_icondir}/vox
193
194 %files Red_Dot
195 %defattr(644,root,root,755)
196 %{_icondir}/reddot
197
198 %files GKD
199 %defattr(644,root,root,755)
200 %{_icondir}/GKD
201
202 %files tux
203 %defattr(644,root,root,755)
204 %{_icondir}/tux
205
206 %files tuxshadow
207 %defattr(644,root,root,755)
208 %{_icondir}/tuxshadow
209
210 %files Golden
211 %defattr(644,root,root,755)
212 %doc doc/gold/*
213 %{_icondir}/gold
214
215 %files Silver
216 %defattr(644,root,root,755)
217 %doc doc/Silver/*
218 %{_icondir}/Silver
219
220
221 %files setup -f cursorconfig.lang
222 %defattr(644,root,root,755)
223 %attr(755,root,root) %{_bindir}/cursorconfig
This page took 0.058313 seconds and 2 git commands to generate.