2 # TODO: cursorconfig doesn't work on TH dialog
3 # (removing unsupported --one-column option doesn't help)
5 Summary: X cursor packs from kde-look
6 Summary(pl.UTF-8): Motywy kursorów X z kde-look
10 License: Different per subpackage
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)
21 %define _icondir /usr/share/icons
24 X cursor packs taken from kde-look. The authors are as follows:
25 YCursors Daniele Pighin
30 %description -l pl.UTF-8
31 Motywy kursorów wzięte z kde-look. Ich autorzy to:
32 YCursors Daniele Pighin
38 Summary: YCursors cursor pack
39 Summary(pl.UTF-8): Motyw kursorów YCursors
40 License: distributable (see COPYING)
42 Obsoletes: XFree86-Xcursor-packs-YCursors
45 YCursors cursor pack by Daniele Pighin.
47 %description YCursors -l pl.UTF-8
48 Motyw kursorów YCursors autorstwa Daniele Pighin.
51 Summary: Red Dot cursor pack
52 Summary(pl.UTF-8): Motyw kursorów Red Dot
55 Obsoletes: XFree86-Xcursor-packs-Red_Dot
60 %description Red_Dot -l pl.UTF-8
61 Motyw kursorów Red Dot.
64 Summary: vox cursor pack
65 Summary(pl.UTF-8): Motyw kursorów vox
66 License: distributable (see COPYING)
68 Obsoletes: XFree86-Xcursor-packs-vox
71 vox cursor pack by Mike Bryant.
73 %description vox -l pl.UTF-8
74 Motyw kursorów vox autorstwa Mike'a Bryanta.
77 Summary: GKD cursor pack
78 Summary(pl.UTF-8): Motyw kursorów GKD
79 License: distributable
81 Obsoletes: XFree86-Xcursor-packs-GKD
86 %description GKD -l pl.UTF-8
90 Summary: Tux cursor pack
91 Summary(pl.UTF-8): Motyw kursorów Tux
92 License: distributable
94 Obsoletes: XFree86-Xcursor-packs-tux
99 %description tux -l pl.UTF-8
103 Summary: Tuxshadow cursor pack
104 Summary(pl.UTF-8): Motyw kursorów Tuxshadow
105 License: distributable
107 Obsoletes: XFree86-Xcursor-packs-tuxshadow
109 %description tuxshadow
110 Tuxshadow cursor pack.
112 %description tuxshadow -l pl.UTF-8
113 Motyw kursorów Tuxshadow.
116 Summary: Golden XCursors 3D cursor pack
117 Summary(pl.UTF-8): Motyw kursorów Golden XCursors 3D
120 Obsoletes: XFree86-Xcursor-packs-Golden
123 Golden XCursors 3D cursor pack.
125 %description Golden -l pl.UTF-8
126 Motyw kursorów Golden XCursors 3D.
129 Summary: Silver XCursors 3D cursor pack
130 Summary(pl.UTF-8): Motyw kursorów Silver XCursors 3D
133 Obsoletes: XFree86-Xcursor-packs-Silver
136 Silver XCursors 3D cursor pack.
138 %description Silver -l pl.UTF-8
139 Motyw kursorów Silver XCursors 3D.
142 Summary: XCursor theme configuration script
143 Summary(pl.UTF-8): Konfigurator motywów XCursor
151 Obsoletes: XFree86-Xcursor-packs-setup
154 XCursor theme configuration script.
156 %description setup -l pl.UTF-8
157 Konfigurator motywów XCursor.
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
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
179 %find_lang cursorconfig
182 rm -rf $RPM_BUILD_ROOT
185 %defattr(644,root,root,755)
190 %defattr(644,root,root,755)
195 %defattr(644,root,root,755)
199 %defattr(644,root,root,755)
203 %defattr(644,root,root,755)
207 %defattr(644,root,root,755)
208 %{_icondir}/tuxshadow
211 %defattr(644,root,root,755)
216 %defattr(644,root,root,755)
221 %files setup -f cursorconfig.lang
222 %defattr(644,root,root,755)
223 %attr(755,root,root) %{_bindir}/cursorconfig