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