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