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