]> git.pld-linux.org Git - packages/AfterStep.git/blobdiff - AfterStep.spec
- up to 2.2.11
[packages/AfterStep.git] / AfterStep.spec
index 663c30576c1dec5d49614a7fece5088e917d3770..2918b4deabb64085bbba6bfa43cc5cf5fd3fcc70 100644 (file)
@@ -1,30 +1,47 @@
+# TODO: what are man3 pages?
+# if not API docs - shouldn't be in another section?
+# if API docs - no devel files are installed (well, except perl, but AFAICS perl is not installed at all)
+#
+# Conditional build:
+%bcond_with    mmx     # use MMX
+#
+%ifarch pentium3 pentium4 athlon %{x8664}
+%define                with_mmx        1
+%endif
 Summary:       AfterStep Window Manager
-Summary(ja):   AfterStep ¥¦¥£¥ó¥É¥¦¥Þ¥Í¡¼¥¸¥ã (NeXTÉ÷)
-Summary(pl):   AfterStep - mened¿er okien
+Summary(ja.UTF-8):     AfterStep ウィンドウマネージャ (NeXT風)
+Summary(pl.UTF-8):     AfterStep - zarządca okien
 Name:          AfterStep
-Version:       1.8.8
-Release:       1
-License:       GPL
+Version:       2.2.11
+Release:       0.2
+License:       GPL v2+
 Group:         X11/Window Managers
-Group(de):     X11/Fenstermanager
-Group(es):     X11/Administraadores De Ventanas
-Group(fr):     X11/Gestionnaires De Fenêtres
-Group(pl):     X11/Zarz±dcy Okien
-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
+# Source0-md5: dbedd3dd4cd6bad56edcab4ee6fb4de8
+#Source1:      %{name}.RunWM
+Source3:       %{name}-xsession.desktop
+Patch0:                %{name}-no_bash_fix.patch
+Patch1:                %{name}-ldconfig.patch
+Patch2:                %{name}-opt.patch
+Patch3:                %{name}-link.patch
 URL:           http://www.afterstep.org/
+BuildRequires: autoconf >= 2.59-9
+BuildRequires: automake
+BuildRequires: fltk-devel
+BuildRequires: giflib-devel
+BuildRequires: gtk+2-devel >= 1:2.0.0
+BuildRequires: libjpeg-devel
+BuildRequires: libpng-devel
+BuildRequires: libtiff-devel
+BuildRequires: pkgconfig
 BuildRequires: sgml-tools
-BuildRequires: XFree86-devel
-Requires:      wmconfig >= 0.9.9-5
-Requires:      xinitrc >= 3.0
+BuildRequires: xorg-lib-libXext-devel
+BuildRequires: xorg-lib-libXinerama-devel
+#Requires:     wmconfig >= 0.9.9-5
+Conflicts:     filesystem < 3.0-20
 BuildRoot:     %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
 
-%define                _prefix         /usr/X11R6
-%define                _mandir         %{_prefix}/man
+%define                _wmpropsdir     /usr/share/gnome/wm-properties
 
 %description
 AfterStep is a continuation of the BowMan window manager which was
@@ -33,76 +50,124 @@ 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
+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.
+- 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
 
-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
-
-%description -l pl
-AfterStep jest kontynuacj± zarz±dcy okienek o nazwie BowMan który
-zosta³ opracowany przez Bo Yanga. BowMan bazowa³ na innym mened¿e¿e
+%description -l pl.UTF-8
+AfterStep jest kontynuacją zarządcy okienek o nazwie BowMan, który
+został opracowany przez Bo Yanga. BowMan bazował na innym zarządcy
 okien o nazwie fvwm napisanym przez Roberta Nationa, a sam fvwm
-bazowa³ na kodzie ¼ród³owym mened¿era twm.
+bazował na kodzie źródłowym zarządcy okien twm. I tak dalej...
+AfterStep początkowo miał imitować część zachowania interfejsu
+użytkownika NEXTSTEP, ale potem rozwinął się w kierunku dodawania
+bardziej przydatnych, pożądanych i przyjemnych możliwości, szczególnie
+w wersji 1.4. Zmiany obejmujące osobowość AfterStepa były początkowo
+częścią rozwoju BowMana, ale ze względu na chęć wykroczenia poza
+prostą imitację do niszy samodzielnego wartościowego zarządcy okien,
+projektanci AfterStepa zdecydowali się zmienić nazwę.
+
+Najważniejsze cechy AfterStepa obejmują:
+- 1. Dok - obiekt do ładowania aplikacji mogący "połykać" uruchomione
+  programy i zawierać "foldery" większej liczby aplikacji
+- 2. Wypełnione gradientem paski tytułowe z 5 przyciskami:
+  pomoc/zabicie, akcja/zadania, ikona/maksymalizacja,
+  cień/przyklejenie oraz zamknięcie/zniszczenie
+- 3. Wypełnione gradientem wyskakujące menu w głównym oknie,
+  konfigurowalne aby sprostać różnym smakom i stylom zarządzania
+- 4. Ikony w stylu NEXTSTEPA dające spójny wygląd całego pulpitu
+- 5. Pager z pixmapami pulpitu
+- 6. Łatwe w użyciu pliki wyglądu, dzięki którym można dzielić wygląd
+  pulpitu z kolegami
+- 7. Wpisy menu Start o hierarchii katalogowej
+- 8. WinList - pozioma lub pionowa lista zadań
+- 9. Wiele modułów i aplikacji AfterStepa (asapps) dających dobry
+  wygląd stacji X Window
 
 %prep
-%setup  -q
+%setup -q
 %patch0 -p1
 %patch1 -p1
+%patch2 -p1
+%patch3 -p1
+
+cp -f autoconf/configure*.in .
 
 %build
+%{__aclocal}
+%{__autoconf}
+%{__autoheader}
+cd libAfterBase
+%{__autoconf}
+%{__autoheader}
+cd ../libAfterImage
+%{__autoconf}
+%{__autoheader}
+cd ..
 %configure \
-       --with-imageloader="xv -root -quit" \
+       %{!?with_mmx:--disable-mmx-optimization} \
+       --enable-i18n \
+       --enable-sharedlibs \
+       --with-gif \
        --with-helpcommand="xterm -e man" \
-       --disable-availability \
-       --enable-makemenusonboot \
-       --enable-different-looknfeels \
-       --with-xpm \
-       --enable-i18n
+       --with-jpeg \
+       --with-png \
+       --with-xpm
+
 %{__make}
 sgml2html doc/afterstep.sgml
 
 %install
 rm -rf $RPM_BUILD_ROOT
-install -d $RPM_BUILD_ROOT{%{_datadir}/gnome/wm-properties,/etc/sysconfig/wmstyle}
+install -d $RPM_BUILD_ROOT{%{_wmpropsdir},%{_datadir}/xsessions,/etc/sysconfig/wmstyle}
 
-%{__make} install install.man DESTDIR=$RPM_BUILD_ROOT
+%{__make} install \
+       DESTDIR=$RPM_BUILD_ROOT
 
-install AfterStep.desktop $RPM_BUILD_ROOT%{_datadir}/gnome/wm-properties
+install AfterStep.desktop $RPM_BUILD_ROOT%{_wmpropsdir}
 
-install %{SOURCE1} $RPM_BUILD_ROOT/etc/sysconfig/wmstyle/%{name}.sh
-install %{SOURCE2} $RPM_BUILD_ROOT/etc/sysconfig/wmstyle/%{name}.names
+#install %{SOURCE1} $RPM_BUILD_ROOT/etc/sysconfig/wmstyle/afterstep.sh
+install %{SOURCE3} $RPM_BUILD_ROOT%{_datadir}/xsessions/AfterStep.desktop
 
 rm -f $RPM_BUILD_ROOT%{_bindir}/{sessreg,xpmroot}
 rm -rf $RPM_BUILD_ROOT%{_datadir}/afterstep/doc
 
-gzip -9nf UPGRADE NEW README TEAM README.RedHat doc/languages/*
-
 %clean
 rm -rf $RPM_BUILD_ROOT
 
+%post  -p /sbin/ldconfig
+%postun        -p /sbin/ldconfig
+
 %files
 %defattr(644,root,root,755)
 %doc doc/code doc/languages TODO *.html
-%doc {UPGRADE,NEW,README,TEAM,README.RedHat}.gz
-%attr(755,root,root) /etc/sysconfig/wmstyle/*.sh
-/etc/sysconfig/wmstyle/*.names
+%doc UPGRADE NEW README TEAM README.RedHat doc/languages/*
+#%attr(755,root,root) /etc/sysconfig/wmstyle/*.sh
 %attr(755,root,root) %{_bindir}/*
-%{_datadir}/gnome/wm-properties/AfterStep.desktop
+%attr(755,root,root) %{_libdir}/libAfter*.so.*.*
+%{_wmpropsdir}/AfterStep.desktop
 %{_datadir}/afterstep
+%{_datadir}/xsessions/AfterStep.desktop
 %{_mandir}/man1/*
+# ???
+#%%{_mandir}/man3/*
This page took 0.078496 seconds and 4 git commands to generate.