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