]>
Commit | Line | Data |
---|---|---|
f11342de JB |
1 | # |
2 | # Conditional build: | |
d0969d2f JR |
3 | %bcond_with mmx # use MMX |
4 | %bcond_with gnome2 # build with support for GNOME2 wm-properties | |
f11342de JB |
5 | # |
6 | %ifarch pentium3 pentium4 athlon %{x8664} | |
7 | %define with_mmx 1 | |
8 | %endif | |
0240848b JB |
9 | # versions from libAfter{Base,Image}/configure.in respectively |
10 | %define afterbase_ver 1.14 | |
11 | %define afterimage_ver 1.20 | |
704fe2f9 | 12 | Summary: AfterStep Window Manager |
c3faefca ER |
13 | Summary(ja.UTF-8): AfterStep ウィンドウマネージャ (NeXT風) |
14 | Summary(pl.UTF-8): AfterStep - zarządca okien | |
704fe2f9 | 15 | Name: AfterStep |
56d586a1 | 16 | Version: 2.2.11 |
ed515033 | 17 | Release: 1 |
29a56e04 | 18 | License: GPL v2+ |
73368d64 | 19 | Group: X11/Window Managers |
27c2c11b | 20 | Source0: ftp://ftp.afterstep.org/stable/%{name}-%{version}.tar.bz2 |
56d586a1 | 21 | # Source0-md5: dbedd3dd4cd6bad56edcab4ee6fb4de8 |
cdc459bb | 22 | #Source1: %{name}.RunWM |
7a98e910 | 23 | Source3: %{name}-xsession.desktop |
c1b9f662 | 24 | Patch0: %{name}-no_bash_fix.patch |
56d586a1 | 25 | Patch1: %{name}-ldconfig.patch |
f11342de JB |
26 | Patch2: %{name}-opt.patch |
27 | Patch3: %{name}-link.patch | |
d46b49d2 | 28 | Patch4: %{name}-libpng-1.5.patch |
b3258b79 | 29 | Patch5: %{name}-inline.patch |
b213dc4a | 30 | URL: http://www.afterstep.org/ |
35274d18 | 31 | BuildRequires: autoconf >= 2.59-9 |
4fa2d317 | 32 | BuildRequires: automake |
46d22aeb | 33 | BuildRequires: dbus-devel |
c70dd6de | 34 | BuildRequires: fltk-devel |
46d22aeb JB |
35 | BuildRequires: freetype-devel >= 2.0 |
36 | BuildRequires: gdk-pixbuf2-devel >= 2.0 | |
35274d18 JB |
37 | BuildRequires: giflib-devel |
38 | BuildRequires: gtk+2-devel >= 1:2.0.0 | |
27c529c9 | 39 | BuildRequires: libjpeg-devel |
40 | BuildRequires: libpng-devel | |
46d22aeb | 41 | BuildRequires: librsvg-devel |
35274d18 JB |
42 | BuildRequires: libtiff-devel |
43 | BuildRequires: pkgconfig | |
46d22aeb | 44 | BuildRequires: readline-devel |
4fa2d317 | 45 | BuildRequires: sgml-tools |
35274d18 JB |
46 | BuildRequires: xorg-lib-libXext-devel |
47 | BuildRequires: xorg-lib-libXinerama-devel | |
0240848b JB |
48 | Requires: libAfterBase = %{afterbase_ver}-%{release} |
49 | Requires: libAfterImage = %{afterimage_ver}-%{release} | |
cdc459bb | 50 | #Requires: wmconfig >= 0.9.9-5 |
220e3ec6 | 51 | Conflicts: filesystem < 3.0-20 |
169c0cb1 | 52 | BuildRoot: %{tmpdir}/%{name}-%{version}-root-%(id -u -n) |
704fe2f9 | 53 | |
220e3ec6 | 54 | %define _wmpropsdir /usr/share/gnome/wm-properties |
704fe2f9 JR |
55 | |
56 | %description | |
57 | AfterStep is a continuation of the BowMan window manager which was | |
5ed489aa | 58 | originally put together by Bo Yang. BowMan was based on the fvwm |
59 | window manager, written by Robert Nation. Fvwm was based on code from | |
60 | twm. And so on... It was originally designed to emulate some of the | |
61 | look and feel of the NEXTSTEP user interface, but has since taken | |
62 | steps towards adding more useful, requested, and neat features | |
742cc931 JB |
63 | especially in 1.4 version! The changes which comprise AfterStep's |
64 | personality were originally part of BowMan development, but due to a | |
5ed489aa | 65 | desire to move past simple emulation and into a niche as its own |
66 | valuable window manager, AfterStep designers decided to change the | |
67 | project name and move on. | |
704fe2f9 JR |
68 | |
69 | Important features of AfterStep include: | |
742cc931 JB |
70 | - 1. Wharf: a free-floating application loader which can "Swallow" |
71 | running programs and also can contain "Folders" of more | |
72 | applications. | |
73 | - 2. Gradient filled TitleBars with 5 button: help/zap, action/tasks, | |
74 | iconize/maximise, shade/stick & close/destroy buttons | |
75 | - 3. Gradient filled root window PopUp menus which can be configured | |
76 | to accomodate different tastes and styles of management | |
77 | - 4. NEXTSTEP style icons which give a consistent look to the entire | |
78 | desktop | |
79 | - 5. Pixmapped Pager with desktop pixmmaping | |
80 | - 6. Easy to use look files, to share you desktop appearance with your | |
81 | friends | |
82 | - 7. Start menu entries in a hierarchy of directories | |
83 | - 8. WinList: a tasklist which can be horizontal or vertical | |
84 | - 9. Many modules & asapps to give a good look to your X window | |
85 | station | |
704fe2f9 | 86 | |
991b3559 JR |
87 | %description -l pl.UTF-8 |
88 | AfterStep jest kontynuacją zarządcy okienek o nazwie BowMan, który | |
89 | został opracowany przez Bo Yanga. BowMan bazował na innym zarządcy | |
5ed489aa | 90 | okien o nazwie fvwm napisanym przez Roberta Nationa, a sam fvwm |
991b3559 JR |
91 | bazował na kodzie źródłowym zarządcy okien twm. I tak dalej... |
92 | AfterStep początkowo miał imitować część zachowania interfejsu | |
93 | użytkownika NEXTSTEP, ale potem rozwinął się w kierunku dodawania | |
94 | bardziej przydatnych, pożądanych i przyjemnych możliwości, szczególnie | |
95 | w wersji 1.4. Zmiany obejmujące osobowość AfterStepa były początkowo | |
96 | częścią rozwoju BowMana, ale ze względu na chęć wykroczenia poza | |
97 | prostą imitację do niszy samodzielnego wartościowego zarządcy okien, | |
98 | projektanci AfterStepa zdecydowali się zmienić nazwę. | |
742cc931 | 99 | |
991b3559 JR |
100 | Najważniejsze cechy AfterStepa obejmują: |
101 | - 1. Dok - obiekt do ładowania aplikacji mogący "połykać" uruchomione | |
102 | programy i zawierać "foldery" większej liczby aplikacji | |
103 | - 2. Wypełnione gradientem paski tytułowe z 5 przyciskami: | |
742cc931 | 104 | pomoc/zabicie, akcja/zadania, ikona/maksymalizacja, |
991b3559 JR |
105 | cień/przyklejenie oraz zamknięcie/zniszczenie |
106 | - 3. Wypełnione gradientem wyskakujące menu w głównym oknie, | |
107 | konfigurowalne aby sprostać różnym smakom i stylom zarządzania | |
108 | - 4. Ikony w stylu NEXTSTEPA dające spójny wygląd całego pulpitu | |
742cc931 | 109 | - 5. Pager z pixmapami pulpitu |
991b3559 | 110 | - 6. Łatwe w użyciu pliki wyglądu, dzięki którym można dzielić wygląd |
742cc931 JB |
111 | pulpitu z kolegami |
112 | - 7. Wpisy menu Start o hierarchii katalogowej | |
991b3559 JR |
113 | - 8. WinList - pozioma lub pionowa lista zadań |
114 | - 9. Wiele modułów i aplikacji AfterStepa (asapps) dających dobry | |
115 | wygląd stacji X Window | |
c6282515 | 116 | |
0240848b JB |
117 | %package devel |
118 | Summary: Development files for AfterStep libraries | |
119 | Summary(pl.UTF-8): Pliki programistyczne bibliotek AfterStepa | |
120 | Group: Development/Libraries | |
121 | Requires: libAfterBase-devel = %{afterbase_ver}-%{release} | |
122 | Requires: libAfterImage-devel = %{afterimage_ver}-%{release} | |
123 | # doesn't require main | |
124 | ||
125 | %description devel | |
126 | Header files together with miscellaneous AfterStep static libraries: | |
127 | libASGTK, libAfterConf, libAfterStep. | |
128 | ||
129 | %description devel -l pl.UTF-8 | |
130 | Pliki nagłówkowe oraz różne statyczne biblioteki AfterStepa: | |
131 | libASGTK, libAfterConf, libAfterStep. | |
132 | ||
133 | %package -n libAfterBase | |
134 | Summary: AfterStep base functions library | |
135 | Summary(pl.UTF-8): Biblioteka podstawowych funkcji AfterStepa | |
136 | Version: %{afterbase_ver} | |
137 | Group: Libraries | |
138 | Conflicts: AfterStep < 2.2.11-0.3 | |
139 | ||
140 | %description -n libAfterBase | |
141 | AfterStep base functions library. | |
142 | ||
143 | %description -n libAfterBase -l pl.UTF-8 | |
144 | Biblioteka podstawowych funkcji AfterStepa. | |
145 | ||
146 | %package -n libAfterBase-devel | |
147 | Summary: Header files for AfterBase library | |
148 | Summary(pl.UTF-8): Pliki nagłówkowe biblioteki AfterBase | |
149 | Version: %{afterbase_ver} | |
150 | Group: Development/Libraries | |
151 | Requires: libAfterBase = %{afterbase_ver}-%{release} | |
46d22aeb | 152 | Requires: xorg-lib-libX11-devel |
0240848b JB |
153 | |
154 | %description -n libAfterBase-devel | |
155 | Header files for AfterBase library. | |
156 | ||
157 | %description -n libAfterBase-devel -l pl.UTF-8 | |
158 | Pliki nagłówkowe biblioteki AfterBase. | |
159 | ||
160 | %package -n libAfterBase-static | |
161 | Summary: Static AfterBase library | |
162 | Summary(pl.UTF-8): Statyczna biblioteka AfterBase | |
163 | Version: %{afterbase_ver} | |
164 | Group: Development/Libraries | |
165 | Requires: libAfterBase-devel = %{afterbase_ver}-%{release} | |
166 | ||
167 | %description -n libAfterBase-static | |
168 | Static AfterBase library. | |
169 | ||
170 | %description -n libAfterBase-static -l pl.UTF-8 | |
171 | Statyczna biblioteka AfterBase. | |
172 | ||
173 | %package -n libAfterImage | |
174 | Summary: AfterStep image functions library | |
175 | Summary(pl.UTF-8): Biblioteka graficznych funkcji AfterStepa | |
176 | Version: %{afterimage_ver} | |
177 | Group: Libraries | |
178 | Requires: libAfterBase = %{afterbase_ver}-%{release} | |
179 | ||
180 | %description -n libAfterImage | |
181 | AfterStep image functions library. | |
182 | ||
183 | %description -n libAfterImage -l pl.UTF-8 | |
184 | Biblioteka graficznych funkcji AfterStepa. | |
185 | ||
186 | %package -n libAfterImage-devel | |
187 | Summary: Header files for AfterImage library | |
188 | Summary(pl.UTF-8): Pliki nagłówkowe biblioteki AfterImage | |
189 | Version: %{afterimage_ver} | |
190 | Group: Development/Libraries | |
191 | Requires: libAfterBase-devel = %{afterbase_ver}-%{release} | |
192 | Requires: libAfterImage = %{afterimage_ver}-%{release} | |
46d22aeb JB |
193 | Requires: freetype-devel >= 2.0 |
194 | Requires: gdk-pixbuf2-devel >= 2.0 | |
195 | Requires: giflib-devel | |
196 | Requires: libjpeg-devel | |
197 | Requires: libpng-devel | |
198 | Requires: librsvg-devel | |
199 | Requires: libtiff-devel | |
200 | Requires: xorg-lib-libXext-devel | |
0240848b JB |
201 | |
202 | %description -n libAfterImage-devel | |
203 | Header files for AfterImage library. | |
204 | ||
205 | %description -n libAfterImage-devel -l pl.UTF-8 | |
206 | Pliki nagłówkowe biblioteki AfterImage. | |
207 | ||
208 | %package -n libAfterImage-static | |
209 | Summary: Static AfterImage library | |
210 | Summary(pl.UTF-8): Statyczna biblioteka AfterImage | |
211 | Version: %{afterimage_ver} | |
212 | Group: Development/Libraries | |
213 | Requires: libAfterImage-devel = %{afterimage_ver}-%{release} | |
214 | ||
215 | %description -n libAfterImage-static | |
216 | Static AfterImage library. | |
217 | ||
218 | %description -n libAfterImage-static -l pl.UTF-8 | |
219 | Statyczna biblioteka AfterImage. | |
220 | ||
704fe2f9 | 221 | %prep |
d9396566 | 222 | %setup -q |
3efcc5de | 223 | %patch0 -p1 |
29a56e04 | 224 | %patch1 -p1 |
f11342de JB |
225 | %patch2 -p1 |
226 | %patch3 -p1 | |
d46b49d2 | 227 | %patch4 -p1 |
b3258b79 | 228 | %patch5 -p1 |
f400183c | 229 | |
35274d18 JB |
230 | cp -f autoconf/configure*.in . |
231 | ||
704fe2f9 | 232 | %build |
aad65ab0 | 233 | %{__aclocal} |
af669b37 | 234 | %{__autoconf} |
35274d18 | 235 | %{__autoheader} |
f11342de JB |
236 | cd libAfterBase |
237 | %{__autoconf} | |
238 | %{__autoheader} | |
239 | cd ../libAfterImage | |
240 | %{__autoconf} | |
241 | %{__autoheader} | |
242 | cd .. | |
f400183c | 243 | %configure \ |
f11342de | 244 | %{!?with_mmx:--disable-mmx-optimization} \ |
35274d18 | 245 | --enable-i18n \ |
f11342de | 246 | --enable-sharedlibs \ |
35274d18 | 247 | --with-gif \ |
704fe2f9 | 248 | --with-helpcommand="xterm -e man" \ |
4fa2d317 | 249 | --with-jpeg \ |
35274d18 JB |
250 | --with-png \ |
251 | --with-xpm | |
c6282515 | 252 | |
2252f85a | 253 | %{__make} |
704fe2f9 JR |
254 | sgml2html doc/afterstep.sgml |
255 | ||
256 | %install | |
257 | rm -rf $RPM_BUILD_ROOT | |
6777d809 | 258 | install -d $RPM_BUILD_ROOT{%{_wmpropsdir},%{_datadir}/xsessions,/etc/sysconfig/wmstyle} |
704fe2f9 | 259 | |
8500df53 | 260 | %{__make} -j1 install \ |
d9396566 | 261 | DESTDIR=$RPM_BUILD_ROOT |
704fe2f9 | 262 | |
d0969d2f | 263 | %{?with_gnome2:install AfterStep.desktop $RPM_BUILD_ROOT%{_wmpropsdir}} |
48416a1b | 264 | |
cdc459bb | 265 | #install %{SOURCE1} $RPM_BUILD_ROOT/etc/sysconfig/wmstyle/afterstep.sh |
7a98e910 | 266 | install %{SOURCE3} $RPM_BUILD_ROOT%{_datadir}/xsessions/AfterStep.desktop |
3b23f2d2 | 267 | |
0240848b JB |
268 | # demo programs source and comments don't belong to man3 (and mans in general) |
269 | %{__rm} $RPM_BUILD_ROOT%{_mandir}/man3/{asflip,asgrad,asmerge,asscale,astext,astile,asview,common}.* | |
270 | ||
271 | %{__rm} -r $RPM_BUILD_ROOT%{_datadir}/afterstep/doc | |
704fe2f9 | 272 | |
704fe2f9 JR |
273 | %clean |
274 | rm -rf $RPM_BUILD_ROOT | |
275 | ||
0240848b JB |
276 | %post -n libAfterBase -p /sbin/ldconfig |
277 | %postun -n libAfterBase -p /sbin/ldconfig | |
278 | ||
279 | %post -n libAfterImage -p /sbin/ldconfig | |
280 | %postun -n libAfterImage -p /sbin/ldconfig | |
f11342de | 281 | |
704fe2f9 JR |
282 | %files |
283 | %defattr(644,root,root,755) | |
284 | %doc doc/code doc/languages TODO *.html | |
b4614431 | 285 | %doc UPGRADE NEW README TEAM README.RedHat doc/languages/* |
0240848b JB |
286 | %attr(755,root,root) %{_bindir}/ASFileBrowser |
287 | %attr(755,root,root) %{_bindir}/ASRun | |
288 | %attr(755,root,root) %{_bindir}/ASWallpaper | |
289 | %attr(755,root,root) %{_bindir}/Animate | |
290 | %attr(755,root,root) %{_bindir}/Arrange | |
291 | %attr(755,root,root) %{_bindir}/Banner | |
292 | %attr(755,root,root) %{_bindir}/GWCommand | |
293 | %attr(755,root,root) %{_bindir}/Ident | |
294 | %attr(755,root,root) %{_bindir}/MonitorWharf | |
295 | %attr(755,root,root) %{_bindir}/Pager | |
296 | %attr(755,root,root) %{_bindir}/PrintDesktopEntries | |
297 | %attr(755,root,root) %{_bindir}/Wharf | |
298 | %attr(755,root,root) %{_bindir}/WinCommand | |
299 | %attr(755,root,root) %{_bindir}/WinList | |
300 | %attr(755,root,root) %{_bindir}/WinTabs | |
301 | %attr(755,root,root) %{_bindir}/Xpm2Jpg | |
302 | %attr(755,root,root) %{_bindir}/afterstep | |
303 | %attr(755,root,root) %{_bindir}/afterstepdoc | |
304 | %attr(755,root,root) %{_bindir}/ascolor | |
305 | %attr(755,root,root) %{_bindir}/ascommand.pl | |
306 | %attr(755,root,root) %{_bindir}/importasmenu | |
307 | %attr(755,root,root) %{_bindir}/installastheme.pl | |
308 | %attr(755,root,root) %{_bindir}/makeastheme.pl | |
309 | %attr(755,root,root) %{_bindir}/postcard.sh | |
d0969d2f | 310 | %{?with_gnome2:%{_wmpropsdir}/AfterStep.desktop} |
0240848b | 311 | #%attr(755,root,root) /etc/sysconfig/wmstyle/*.sh |
704fe2f9 | 312 | %{_datadir}/afterstep |
7a98e910 | 313 | %{_datadir}/xsessions/AfterStep.desktop |
0240848b JB |
314 | %{_mandir}/man1/ASDatabase.1x* |
315 | %{_mandir}/man1/ASDatabaseEntry.1x* | |
316 | %{_mandir}/man1/AfterStep.1x* | |
317 | %{_mandir}/man1/Align.1x* | |
318 | %{_mandir}/man1/Animate.1x* | |
319 | %{_mandir}/man1/AnimateTypes.1x* | |
320 | %{_mandir}/man1/Arrange.1x* | |
321 | %{_mandir}/man1/AutoExec.1x* | |
322 | %{_mandir}/man1/BalloonContents.1x* | |
323 | %{_mandir}/man1/Base.1x* | |
324 | %{_mandir}/man1/Bevel.1x* | |
325 | %{_mandir}/man1/ColorScheme.1x* | |
326 | %{_mandir}/man1/Feel.1x* | |
327 | %{_mandir}/man1/FeelWindowBox.1x* | |
328 | %{_mandir}/man1/Functions.1x* | |
329 | %{_mandir}/man1/Gravity.1x* | |
330 | %{_mandir}/man1/Look.1x* | |
331 | %{_mandir}/man1/MyBackground.1x* | |
332 | %{_mandir}/man1/MyFrame.1x* | |
333 | %{_mandir}/man1/MyStyle.1x* | |
334 | %{_mandir}/man1/Pager.1x* | |
335 | %{_mandir}/man1/PagerDecorations.1x* | |
336 | %{_mandir}/man1/Placement.1x* | |
337 | %{_mandir}/man1/Sound.1x* | |
338 | %{_mandir}/man1/SoundEvents.1x* | |
339 | %{_mandir}/man1/SupportedHints.1x* | |
340 | %{_mandir}/man1/TbarLayout.1x* | |
341 | %{_mandir}/man1/Wharf.1x* | |
342 | %{_mandir}/man1/WharfFolders.1x* | |
343 | %{_mandir}/man1/WharfSounds.1x* | |
344 | %{_mandir}/man1/WinCommand.1x* | |
345 | %{_mandir}/man1/WinList.1x* | |
346 | %{_mandir}/man1/WinTabs.1x* | |
347 | %{_mandir}/man1/afterstep_faq.1x* | |
348 | %{_mandir}/man1/asimagexml.1x* | |
349 | ||
350 | %files devel | |
351 | %defattr(644,root,root,755) | |
352 | %attr(755,root,root) %{_bindir}/afterstep-config | |
353 | %attr(755,root,root) %{_bindir}/asgtk-config | |
354 | %{_libdir}/libASGTK.a | |
355 | %{_libdir}/libAfterConf.a | |
356 | %{_libdir}/libAfterStep.a | |
357 | %{_includedir}/libASGTK | |
358 | %{_includedir}/libAfterConf | |
359 | %{_includedir}/libAfterStep | |
360 | ||
361 | %files -n libAfterBase | |
362 | %defattr(644,root,root,755) | |
363 | %attr(755,root,root) %{_libdir}/libAfterBase.so.*.* | |
364 | %attr(755,root,root) %ghost %{_libdir}/libAfterBase.so.0 | |
365 | ||
366 | %files -n libAfterBase-devel | |
367 | %defattr(644,root,root,755) | |
368 | %attr(755,root,root) %{_libdir}/libAfterBase.so | |
369 | %{_includedir}/libAfterBase | |
370 | ||
371 | %files -n libAfterBase-static | |
372 | %defattr(644,root,root,755) | |
373 | %{_libdir}/libAfterBase.a | |
374 | ||
375 | %files -n libAfterImage | |
376 | %defattr(644,root,root,755) | |
377 | %attr(755,root,root) %{_bindir}/ascheckttf | |
378 | %attr(755,root,root) %{_bindir}/ascompose | |
379 | %attr(755,root,root) %{_bindir}/asflip | |
380 | %attr(755,root,root) %{_bindir}/asgrad | |
381 | %attr(755,root,root) %{_bindir}/asi18n | |
382 | %attr(755,root,root) %{_bindir}/asmerge | |
383 | %attr(755,root,root) %{_bindir}/asscale | |
384 | %attr(755,root,root) %{_bindir}/astext | |
385 | %attr(755,root,root) %{_bindir}/astile | |
386 | %attr(755,root,root) %{_bindir}/asvector | |
387 | %attr(755,root,root) %{_bindir}/asview | |
388 | %attr(755,root,root) %{_libdir}/libAfterImage.so.*.* | |
389 | %attr(755,root,root) %ghost %{_libdir}/libAfterImage.so.0 | |
390 | ||
391 | %files -n libAfterImage-devel | |
392 | %defattr(644,root,root,755) | |
393 | %attr(755,root,root) %{_bindir}/afterimage-config | |
394 | %attr(755,root,root) %{_bindir}/afterimage-libs | |
395 | %attr(755,root,root) %{_libdir}/libAfterImage.so | |
396 | %{_includedir}/libAfterImage | |
397 | %{_mandir}/man3/afterimage.3x* | |
398 | %{_mandir}/man3/ascmap.3x* | |
399 | %{_mandir}/man3/ascompose.3x* | |
400 | %{_mandir}/man3/asfont.3x* | |
401 | %{_mandir}/man3/asimage.3x* | |
402 | %{_mandir}/man3/asimagexml.3x* | |
403 | %{_mandir}/man3/asvisual.3x* | |
404 | %{_mandir}/man3/blender.3x* | |
405 | %{_mandir}/man3/char2uni.3x* | |
406 | %{_mandir}/man3/export.3x* | |
407 | %{_mandir}/man3/imencdec.3x* | |
408 | %{_mandir}/man3/import.3x* | |
409 | %{_mandir}/man3/transform.3x* | |
410 | %{_mandir}/man3/ximage.3x* | |
411 | ||
412 | %files -n libAfterImage-static | |
413 | %defattr(644,root,root,755) | |
414 | %{_libdir}/libAfterImage.a |