]> git.pld-linux.org Git - packages/XcursorTheme.git/blob - XcursorTheme.spec
- rel up
[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:        6
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 Group:          X11
39 License:        distributable (see COPYING)
40
41 %description YCursors
42 YCursors cursor pack by Daniele Pighin.
43
44 %description YCursors -l pl
45 Motyw kursorów YCursors autorstwa Daniele Pighin.
46
47 %package Red_Dot
48 Summary:        Red Dot cursor pack
49 Summary(pl):    Motyw kursorów Red Dot
50 Group:          X11
51 License:        Freeware
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 Group:          X11
63 License:        distributable (see COPYING)
64
65 %description vox
66 vox cursor pack by Mike Bryant.
67
68 %description vox -l pl
69 Motyw kursorów vox autorstwa Mike'a Bryanta.
70
71 %package GKD
72 Summary:        GKD cursor pack
73 Summary(pl):    Motyw kursorów GKD
74 Group:          X11
75 License:        distributable
76
77 %description GKD
78 GKD cursor pack.
79
80 %description GKD -l pl
81 Motyw kursorów GKD.
82
83 %package tux
84 Summary:        Tux cursor pack
85 Summary(pl):    Motyw kursorów Tux
86 Group:          X11
87 License:        distributable
88
89 %description tux
90 Tux cursor pack.
91
92 %description tux -l pl
93 Motyw kursorów Tux.
94
95 %package tuxshadow
96 Summary:        Tuxshadow cursor pack
97 Summary(pl):    Motyw kursorów Tuxshadow
98 Group:          X11
99 License:        distributable
100
101 %description tuxshadow
102 Tuxshadow cursor pack.
103
104 %description tuxshadow -l pl
105 Motyw kursorów Tuxshadow.
106
107 %package Golden
108 Summary:        Golden XCursors 3D cursor pack
109 Summary(pl):    Motyw kursorów Golden XCursors 3D
110 Group:          X11
111 License:        LGPL
112
113 %description Golden
114 Golden XCursors 3D cursor pack.
115
116 %description Golden -l pl
117 Motyw kursorów Golden XCursors 3D.
118
119 %package Silver
120 Summary:        Silver XCursors 3D cursor pack
121 Summary(pl):    Motyw kursorów Silver XCursors 3D
122 Group:          X11
123 License:        LGPL
124
125 %description Silver
126 Silver XCursors 3D cursor pack.
127
128 %description Silver -l pl
129 Motyw kursorów Silver XCursors 3D.
130
131 %package setup
132 Summary:        XCursor theme configuration script
133 Summary(pl):    Konfigurator motywów XCursor
134 Group:          X11
135 License:        GPL
136 Requires:       dialog
137 Requires:       fileutils
138 Requires:       gettext
139 Requires:       grep
140 Requires:       sed
141
142 %description setup
143 XCursor theme configuration script.
144
145 %description setup -l pl
146 Konfigurator motywów XCursor.
147
148 %prep
149 %setup -q -n cursors
150
151 %install
152 rm -rf $RPM_BUILD_ROOT
153 install -d $RPM_BUILD_ROOT{%{_bindir},%{_datadir}/locale/pl/LC_MESSAGES} \
154         $RPM_BUILD_ROOT%{_icondir}/{GKD,YCursors,reddot,vox,tux,tuxshadow,gold,Silver}/cursors
155
156 # preserve symlinks
157 cp -df GKD/*            $RPM_BUILD_ROOT%{_icondir}/GKD/cursors
158 cp -df YCursors/*       $RPM_BUILD_ROOT%{_icondir}/YCursors/cursors
159 cp -df reddot/*         $RPM_BUILD_ROOT%{_icondir}/reddot/cursors
160 cp -df vox/*            $RPM_BUILD_ROOT%{_icondir}/vox/cursors
161 cp -df tuxcursor/*      $RPM_BUILD_ROOT%{_icondir}/tux/cursors
162 cp -df tuxshadow/*      $RPM_BUILD_ROOT%{_icondir}/tuxshadow/cursors
163 cp -df gold/*           $RPM_BUILD_ROOT%{_icondir}/gold/cursors
164 cp -df Silver/*         $RPM_BUILD_ROOT%{_icondir}/Silver/cursors
165 install %{SOURCE1} $RPM_BUILD_ROOT%{_bindir}/cursorconfig
166 msgfmt -v %{SOURCE2} -o $RPM_BUILD_ROOT%{_datadir}/locale/pl/LC_MESSAGES/cursorconfig.mo
167
168 %find_lang cursorconfig
169
170 %clean
171 rm -rf $RPM_BUILD_ROOT
172
173 %files YCursors
174 %defattr(644,root,root,755)
175 %doc doc/YCursors/*
176 %{_icondir}/YCursors
177
178 %files vox
179 %defattr(644,root,root,755)
180 %doc doc/vox/*
181 %{_icondir}/vox
182
183 %files Red_Dot
184 %defattr(644,root,root,755)
185 %{_icondir}/reddot
186
187 %files GKD
188 %defattr(644,root,root,755)
189 %{_icondir}/GKD
190
191 %files tux
192 %defattr(644,root,root,755)
193 %{_icondir}/tux
194
195 %files tuxshadow
196 %defattr(644,root,root,755)
197 %{_icondir}/tuxshadow
198
199 %files Golden
200 %defattr(644,root,root,755)
201 %doc doc/gold/*
202 %{_icondir}/gold
203
204 %files Silver
205 %defattr(644,root,root,755)
206 %doc doc/Silver/*
207 %{_icondir}/Silver
208
209
210 %files setup -f cursorconfig.lang
211 %defattr(644,root,root,755)
212 %attr(755,root,root) %{_bindir}/cursorconfig
This page took 0.070367 seconds and 3 git commands to generate.