]>
Commit | Line | Data |
---|---|---|
11b3e856 | 1 | # |
2 | # TODO: cursorconfig doesn't work on TH dialog | |
3 | # (removing unsupported --one-column option doesn't help) | |
4 | # | |
608e1796 | 5 | Summary: X cursor packs from kde-look |
77568a54 | 6 | Summary(pl.UTF-8): Motywy kursorów X z kde-look |
608e1796 | 7 | Name: XcursorTheme |
8 | Version: 1.0 | |
1463a21c | 9 | Release: 9 |
608e1796 | 10 | License: Different per subpackage |
d1c19c78 | 11 | Group: Themes |
7450946f | 12 | # The icon files have been repackaged by me in order to avoid having too much work with %%prep |
e8c20bc8 | 13 | Source0: XFree86-Xcursor-packs.tar.bz2 |
608e1796 | 14 | # Source0-md5: 4770381266eec192263ce9c22a6d424d |
15 | Source1: %{name}-cursorconfig | |
16 | Source2: %{name}-cursorconfig.pl.po | |
17 | URL: http://www.kde-look.org/ | |
608e1796 | 18 | BuildRequires: gettext-devel |
608e1796 | 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 | ||
77568a54 JR |
30 | %description -l pl.UTF-8 |
31 | Motywy kursorów wzięte z kde-look. Ich autorzy to: | |
608e1796 | 32 | YCursors Daniele Pighin |
33 | vox Mike Bryant | |
34 | Red Dot uga | |
35 | GKD noonespecial | |
36 | ||
37 | %package YCursors | |
38 | Summary: YCursors cursor pack | |
77568a54 | 39 | Summary(pl.UTF-8): Motyw kursorów YCursors |
608e1796 | 40 | License: distributable (see COPYING) |
d1c19c78 | 41 | Group: Themes |
7219a354 | 42 | Obsoletes: XFree86-Xcursor-packs-YCursors |
608e1796 | 43 | |
44 | %description YCursors | |
45 | YCursors cursor pack by Daniele Pighin. | |
46 | ||
77568a54 JR |
47 | %description YCursors -l pl.UTF-8 |
48 | Motyw kursorów YCursors autorstwa Daniele Pighin. | |
608e1796 | 49 | |
50 | %package Red_Dot | |
51 | Summary: Red Dot cursor pack | |
77568a54 | 52 | Summary(pl.UTF-8): Motyw kursorów Red Dot |
608e1796 | 53 | License: Freeware |
d1c19c78 | 54 | Group: Themes |
7219a354 | 55 | Obsoletes: XFree86-Xcursor-packs-Red_Dot |
608e1796 | 56 | |
57 | %description Red_Dot | |
58 | Red Dot cursor pack. | |
59 | ||
77568a54 JR |
60 | %description Red_Dot -l pl.UTF-8 |
61 | Motyw kursorów Red Dot. | |
608e1796 | 62 | |
63 | %package vox | |
64 | Summary: vox cursor pack | |
77568a54 | 65 | Summary(pl.UTF-8): Motyw kursorów vox |
608e1796 | 66 | License: distributable (see COPYING) |
d1c19c78 | 67 | Group: Themes |
7219a354 | 68 | Obsoletes: XFree86-Xcursor-packs-vox |
608e1796 | 69 | |
70 | %description vox | |
71 | vox cursor pack by Mike Bryant. | |
72 | ||
77568a54 JR |
73 | %description vox -l pl.UTF-8 |
74 | Motyw kursorów vox autorstwa Mike'a Bryanta. | |
608e1796 | 75 | |
76 | %package GKD | |
77 | Summary: GKD cursor pack | |
77568a54 | 78 | Summary(pl.UTF-8): Motyw kursorów GKD |
608e1796 | 79 | License: distributable |
d1c19c78 | 80 | Group: Themes |
7219a354 | 81 | Obsoletes: XFree86-Xcursor-packs-GKD |
608e1796 | 82 | |
83 | %description GKD | |
84 | GKD cursor pack. | |
85 | ||
77568a54 JR |
86 | %description GKD -l pl.UTF-8 |
87 | Motyw kursorów GKD. | |
608e1796 | 88 | |
89 | %package tux | |
90 | Summary: Tux cursor pack | |
77568a54 | 91 | Summary(pl.UTF-8): Motyw kursorów Tux |
608e1796 | 92 | License: distributable |
d1c19c78 | 93 | Group: Themes |
7219a354 | 94 | Obsoletes: XFree86-Xcursor-packs-tux |
608e1796 | 95 | |
96 | %description tux | |
97 | Tux cursor pack. | |
98 | ||
77568a54 JR |
99 | %description tux -l pl.UTF-8 |
100 | Motyw kursorów Tux. | |
608e1796 | 101 | |
102 | %package tuxshadow | |
103 | Summary: Tuxshadow cursor pack | |
77568a54 | 104 | Summary(pl.UTF-8): Motyw kursorów Tuxshadow |
608e1796 | 105 | License: distributable |
d1c19c78 | 106 | Group: Themes |
7219a354 | 107 | Obsoletes: XFree86-Xcursor-packs-tuxshadow |
608e1796 | 108 | |
109 | %description tuxshadow | |
110 | Tuxshadow cursor pack. | |
111 | ||
77568a54 JR |
112 | %description tuxshadow -l pl.UTF-8 |
113 | Motyw kursorów Tuxshadow. | |
608e1796 | 114 | |
115 | %package Golden | |
116 | Summary: Golden XCursors 3D cursor pack | |
77568a54 | 117 | Summary(pl.UTF-8): Motyw kursorów Golden XCursors 3D |
608e1796 | 118 | License: LGPL |
d1c19c78 | 119 | Group: Themes |
7219a354 | 120 | Obsoletes: XFree86-Xcursor-packs-Golden |
608e1796 | 121 | |
122 | %description Golden | |
123 | Golden XCursors 3D cursor pack. | |
124 | ||
77568a54 JR |
125 | %description Golden -l pl.UTF-8 |
126 | Motyw kursorów Golden XCursors 3D. | |
608e1796 | 127 | |
128 | %package Silver | |
129 | Summary: Silver XCursors 3D cursor pack | |
77568a54 | 130 | Summary(pl.UTF-8): Motyw kursorów Silver XCursors 3D |
608e1796 | 131 | License: LGPL |
d1c19c78 | 132 | Group: Themes |
7219a354 | 133 | Obsoletes: XFree86-Xcursor-packs-Silver |
608e1796 | 134 | |
135 | %description Silver | |
136 | Silver XCursors 3D cursor pack. | |
137 | ||
77568a54 JR |
138 | %description Silver -l pl.UTF-8 |
139 | Motyw kursorów Silver XCursors 3D. | |
608e1796 | 140 | |
141 | %package setup | |
142 | Summary: XCursor theme configuration script | |
77568a54 | 143 | Summary(pl.UTF-8): Konfigurator motywów XCursor |
d1c19c78 | 144 | Group: Themes |
608e1796 | 145 | License: GPL |
146 | Requires: dialog | |
147 | Requires: fileutils | |
148 | Requires: gettext | |
149 | Requires: grep | |
150 | Requires: sed | |
7219a354 | 151 | Obsoletes: XFree86-Xcursor-packs-setup |
608e1796 | 152 | |
153 | %description setup | |
154 | XCursor theme configuration script. | |
155 | ||
77568a54 JR |
156 | %description setup -l pl.UTF-8 |
157 | Konfigurator motywów XCursor. | |
608e1796 | 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 |