Summary: AfterStep Window Manager
+Summary(ja): AfterStep ¥¦¥£¥ó¥É¥¦¥Þ¥Í¡¼¥¸¥ã (NeXTÉ÷)
+Summary(pl): AfterStep - mened¿er okien
Name: AfterStep
-Version: 1.7.111
-Release: 1
-Copyright: GPL
+Version: 1.8.11
+Release: 2
+License: GPL
Group: X11/Window Managers
-Group(pl): X11/Zarz±dcy okien
-Source: ftp://ftp.afterstep.org/devel/snapshots/%{name}-%{version}.tar.bz2
-BuildRoot: /tmp/%{name}-%{version}-root
+Vendor: The AfterStep Team (see TEAM in docdir)
+Source0: ftp://ftp.afterstep.org/stable/%{name}-%{version}.tar.bz2
+Source1: %{name}.RunWM
+Source2: %{name}.wm_style
+Patch0: %{name}-Wharf_maxsize.patch
+Patch1: %{name}-no_bash_fix.patch
+URL: http://www.afterstep.org/
+BuildRequires: XFree86-devel
+BuildRequires: autoconf
+BuildRequires: automake
+BuildRequires: libjpeg-devel
+BuildRequires: libpng-devel
+BuildRequires: sgml-tools
+Requires: wmconfig >= 0.9.9-5
+Requires: xinitrc >= 3.0
+BuildRoot: %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
-%define _prefix /usr/X11R6
-%define _mandir /usr/X11R6/man
+%define _prefix /usr/X11R6
+%define _mandir %{_prefix}/man
+%define _wmpropsdir %{_datadir}/wm-properties
%description
AfterStep is a continuation of the BowMan window manager which was
-originally put together by Bo Yang. BowMan was based on the fvwm window
-manager, written by Robert Nation. Fvwm was based on code from twm. And so
-on... It was originally designed to emulate some of the look and feel of the
-NEXTSTEP user interface, but has since taken steps towards adding more
-useful, requested, and neat features especially in 1.4 version ! The changes
-which comprise AfterStep's personality were originally part of bowman
-development, but due to a desire to move past simple emulation and into a
-niche as its own valuable window manager, AfterStep designers decided to
-change the project name and move on.
+originally put together by Bo Yang. BowMan was based on the fvwm
+window manager, written by Robert Nation. Fvwm was based on code from
+twm. And so on... It was originally designed to emulate some of the
+look and feel of the NEXTSTEP user interface, but has since taken
+steps towards adding more useful, requested, and neat features
+especially in 1.4 version ! The changes which comprise AfterStep's
+personality were originally part of bowman development, but due to a
+desire to move past simple emulation and into a niche as its own
+valuable window manager, AfterStep designers decided to change the
+project name and move on.
Important features of AfterStep include:
-1. Wharf: a free-floating application loader which can "Swallow" running
-programs and also can contain "Folders" of more applications.
+1. Wharf: a free-floating application loader which can "Swallow"
+running programs and also can contain "Folders" of more applications.
2. Gradient filled TitleBars with 5 button : help/zap, action/tasks,
-iconize/maximise, shade/stick & close/destroy buttons
-3. Gradient filled root window PopUp menus which can be configured to
-accomodate different tastes and styles of management
-4. NEXTSTEP style icons which give a consistent look to the entire desktop
-5. Pixmapped Pager with desktop pixmmaping
-6. Easy to use look files, to share you desktop appearance with your friends
-7. Start menu entries in a hierarchy of directories
-8. WinList : a tasklist which can be horizontal or vertical
-9. Many modules & asapps to give a good look to your X window station
+iconize/maximise, shade/stick & close/destroy buttons 3. Gradient
+filled root window PopUp menus which can be configured to accomodate
+different tastes and styles of management 4. NEXTSTEP style icons
+which give a consistent look to the entire desktop 5. Pixmapped Pager
+with desktop pixmmaping 6. Easy to use look files, to share you
+desktop appearance with your friends 7. Start menu entries in a
+hierarchy of directories 8. WinList : a tasklist which can be
+horizontal or vertical 9. Many modules & asapps to give a good look to
+your X window station
+
+%description -l pl
+AfterStep jest kontynuacj± zarz±dcy okienek o nazwie BowMan, który
+zosta³ opracowany przez Bo Yanga. BowMan bazowa³ na innym mened¿erze
+okien o nazwie fvwm napisanym przez Roberta Nationa, a sam fvwm
+bazowa³ na kodzie ¼ród³owym mened¿era twm.
+
%prep
-%setup -q
+%setup -q
+%patch0 -p1
+%patch1 -p1
%build
+cp -f autoconf/* .
+%{__aclocal}
+%{__autoconf}
%configure \
- --with-imageloader="xv -root -quit" \
--with-helpcommand="xterm -e man" \
- --disable-availability \
- --enable-makemenusonboot \
- --enable-different-looknfeels \
- --with-xpm
+ --with-xpm \
+ --with-png \
+ --with-jpeg \
+ --enable-i18n
-make
+%{__make}
sgml2html doc/afterstep.sgml
%install
rm -rf $RPM_BUILD_ROOT
+install -d $RPM_BUILD_ROOT{%{_wmpropsdir},/etc/sysconfig/wmstyle}
-make install install.man DESTDIR=$RPM_BUILD_ROOT
+%{__make} install install.man DESTDIR=$RPM_BUILD_ROOT
-rm -f $RPM_BUILD_ROOT/%{_bindir}/{sessreg,xpmroot}
-rm -rf $RPM_BUILD_ROOT/%{_datadir}/afterstep/doc
+install AfterStep.desktop $RPM_BUILD_ROOT%{_wmpropsdir}
-strip --strip-unneeded $RPM_BUILD_ROOT/%{_bindir}/* || :
+install %{SOURCE1} $RPM_BUILD_ROOT/etc/sysconfig/wmstyle/%{name}.sh
+install %{SOURCE2} $RPM_BUILD_ROOT/etc/sysconfig/wmstyle/%{name}.names
-gzip -9nf UPGRADE NEW README TEAM README.RedHat doc/languages/* \
- $RPM_BUILD_ROOT/%{_mandir}/man1/*
+rm -f $RPM_BUILD_ROOT%{_bindir}/{sessreg,xpmroot}
+rm -rf $RPM_BUILD_ROOT%{_datadir}/afterstep/doc
%clean
rm -rf $RPM_BUILD_ROOT
%files
%defattr(644,root,root,755)
%doc doc/code doc/languages TODO *.html
-%doc {UPGRADE,NEW,README,TEAM,README.RedHat}.gz
+%doc UPGRADE NEW README TEAM README.RedHat doc/languages/*
+%attr(755,root,root) /etc/sysconfig/wmstyle/*.sh
+/etc/sysconfig/wmstyle/*.names
%attr(755,root,root) %{_bindir}/*
+%{_wmpropsdir}/AfterStep.desktop
%{_datadir}/afterstep
%{_mandir}/man1/*
-
-%changelog