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