]> git.pld-linux.org Git - packages/AfterStep.git/blame - AfterStep.spec
- split libAfterBase and libAfterImage packages (can be used separately)
[packages/AfterStep.git] / AfterStep.spec
CommitLineData
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 11Summary: AfterStep Window Manager
c3faefca
ER
12Summary(ja.UTF-8): AfterStep ウィンドウマネージャ (NeXT風)
13Summary(pl.UTF-8): AfterStep - zarządca okien
704fe2f9 14Name: AfterStep
56d586a1 15Version: 2.2.11
0240848b 16Release: 0.3
29a56e04 17License: GPL v2+
73368d64 18Group: X11/Window Managers
27c2c11b 19Source0: ftp://ftp.afterstep.org/stable/%{name}-%{version}.tar.bz2
56d586a1 20# Source0-md5: dbedd3dd4cd6bad56edcab4ee6fb4de8
cdc459bb 21#Source1: %{name}.RunWM
7a98e910 22Source3: %{name}-xsession.desktop
c1b9f662 23Patch0: %{name}-no_bash_fix.patch
56d586a1 24Patch1: %{name}-ldconfig.patch
f11342de
JB
25Patch2: %{name}-opt.patch
26Patch3: %{name}-link.patch
b213dc4a 27URL: http://www.afterstep.org/
35274d18 28BuildRequires: autoconf >= 2.59-9
4fa2d317 29BuildRequires: automake
c70dd6de 30BuildRequires: fltk-devel
35274d18
JB
31BuildRequires: giflib-devel
32BuildRequires: gtk+2-devel >= 1:2.0.0
27c529c9 33BuildRequires: libjpeg-devel
34BuildRequires: libpng-devel
35274d18
JB
35BuildRequires: libtiff-devel
36BuildRequires: pkgconfig
4fa2d317 37BuildRequires: sgml-tools
35274d18
JB
38BuildRequires: xorg-lib-libXext-devel
39BuildRequires: xorg-lib-libXinerama-devel
0240848b
JB
40Requires: libAfterBase = %{afterbase_ver}-%{release}
41Requires: libAfterImage = %{afterimage_ver}-%{release}
cdc459bb 42#Requires: wmconfig >= 0.9.9-5
220e3ec6 43Conflicts: filesystem < 3.0-20
169c0cb1 44BuildRoot: %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
704fe2f9 45
220e3ec6 46%define _wmpropsdir /usr/share/gnome/wm-properties
704fe2f9
JR
47
48%description
49AfterStep is a continuation of the BowMan window manager which was
5ed489aa 50originally put together by Bo Yang. BowMan was based on the fvwm
51window manager, written by Robert Nation. Fvwm was based on code from
52twm. And so on... It was originally designed to emulate some of the
53look and feel of the NEXTSTEP user interface, but has since taken
54steps towards adding more useful, requested, and neat features
742cc931
JB
55especially in 1.4 version! The changes which comprise AfterStep's
56personality were originally part of BowMan development, but due to a
5ed489aa 57desire to move past simple emulation and into a niche as its own
58valuable window manager, AfterStep designers decided to change the
59project name and move on.
704fe2f9
JR
60
61Important 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
80AfterStep jest kontynuacją zarządcy okienek o nazwie BowMan, który
81został opracowany przez Bo Yanga. BowMan bazował na innym zarządcy
5ed489aa 82okien o nazwie fvwm napisanym przez Roberta Nationa, a sam fvwm
991b3559
JR
83bazował na kodzie źródłowym zarządcy okien twm. I tak dalej...
84AfterStep początkowo miał imitować część zachowania interfejsu
85użytkownika NEXTSTEP, ale potem rozwinął się w kierunku dodawania
86bardziej przydatnych, pożądanych i przyjemnych możliwości, szczególnie
87w wersji 1.4. Zmiany obejmujące osobowość AfterStepa były początkowo
88częścią rozwoju BowMana, ale ze względu na chęć wykroczenia poza
89prostą imitację do niszy samodzielnego wartościowego zarządcy okien,
90projektanci AfterStepa zdecydowali się zmienić nazwę.
742cc931 91
991b3559
JR
92Najważ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
110Summary: Development files for AfterStep libraries
111Summary(pl.UTF-8): Pliki programistyczne bibliotek AfterStepa
112Group: Development/Libraries
113Requires: libAfterBase-devel = %{afterbase_ver}-%{release}
114Requires: libAfterImage-devel = %{afterimage_ver}-%{release}
115# doesn't require main
116
117%description devel
118Header files together with miscellaneous AfterStep static libraries:
119libASGTK, libAfterConf, libAfterStep.
120
121%description devel -l pl.UTF-8
122Pliki nagłówkowe oraz różne statyczne biblioteki AfterStepa:
123libASGTK, libAfterConf, libAfterStep.
124
125%package -n libAfterBase
126Summary: AfterStep base functions library
127Summary(pl.UTF-8): Biblioteka podstawowych funkcji AfterStepa
128Version: %{afterbase_ver}
129Group: Libraries
130Conflicts: AfterStep < 2.2.11-0.3
131
132%description -n libAfterBase
133AfterStep base functions library.
134
135%description -n libAfterBase -l pl.UTF-8
136Biblioteka podstawowych funkcji AfterStepa.
137
138%package -n libAfterBase-devel
139Summary: Header files for AfterBase library
140Summary(pl.UTF-8): Pliki nagłówkowe biblioteki AfterBase
141Version: %{afterbase_ver}
142Group: Development/Libraries
143Requires: libAfterBase = %{afterbase_ver}-%{release}
144
145%description -n libAfterBase-devel
146Header files for AfterBase library.
147
148%description -n libAfterBase-devel -l pl.UTF-8
149Pliki nagłówkowe biblioteki AfterBase.
150
151%package -n libAfterBase-static
152Summary: Static AfterBase library
153Summary(pl.UTF-8): Statyczna biblioteka AfterBase
154Version: %{afterbase_ver}
155Group: Development/Libraries
156Requires: libAfterBase-devel = %{afterbase_ver}-%{release}
157
158%description -n libAfterBase-static
159Static AfterBase library.
160
161%description -n libAfterBase-static -l pl.UTF-8
162Statyczna biblioteka AfterBase.
163
164%package -n libAfterImage
165Summary: AfterStep image functions library
166Summary(pl.UTF-8): Biblioteka graficznych funkcji AfterStepa
167Version: %{afterimage_ver}
168Group: Libraries
169Requires: libAfterBase = %{afterbase_ver}-%{release}
170
171%description -n libAfterImage
172AfterStep image functions library.
173
174%description -n libAfterImage -l pl.UTF-8
175Biblioteka graficznych funkcji AfterStepa.
176
177%package -n libAfterImage-devel
178Summary: Header files for AfterImage library
179Summary(pl.UTF-8): Pliki nagłówkowe biblioteki AfterImage
180Version: %{afterimage_ver}
181Group: Development/Libraries
182Requires: libAfterBase-devel = %{afterbase_ver}-%{release}
183Requires: libAfterImage = %{afterimage_ver}-%{release}
184
185%description -n libAfterImage-devel
186Header files for AfterImage library.
187
188%description -n libAfterImage-devel -l pl.UTF-8
189Pliki nagłówkowe biblioteki AfterImage.
190
191%package -n libAfterImage-static
192Summary: Static AfterImage library
193Summary(pl.UTF-8): Statyczna biblioteka AfterImage
194Version: %{afterimage_ver}
195Group: Development/Libraries
196Requires: libAfterImage-devel = %{afterimage_ver}-%{release}
197
198%description -n libAfterImage-static
199Static AfterImage library.
200
201%description -n libAfterImage-static -l pl.UTF-8
202Statyczna 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
211cp -f autoconf/configure*.in .
212
704fe2f9 213%build
aad65ab0 214%{__aclocal}
af669b37 215%{__autoconf}
35274d18 216%{__autoheader}
f11342de
JB
217cd libAfterBase
218%{__autoconf}
219%{__autoheader}
220cd ../libAfterImage
221%{__autoconf}
222%{__autoheader}
223cd ..
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
235sgml2html doc/afterstep.sgml
236
237%install
238rm -rf $RPM_BUILD_ROOT
6777d809 239install -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 244install AfterStep.desktop $RPM_BUILD_ROOT%{_wmpropsdir}
48416a1b 245
cdc459bb 246#install %{SOURCE1} $RPM_BUILD_ROOT/etc/sysconfig/wmstyle/afterstep.sh
7a98e910 247install %{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
255rm -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
This page took 0.102139 seconds and 4 git commands to generate.