Sophie

Sophie

distrib > Mandriva > 8.2 > i586 > by-pkgid > 900a68cffc4ad0fa4089a0996fe2ab14 > files > 6

AfterStep-1.8.10-1mdk.src.rpm

%define	major	1
%define	prefix	/usr/X11R6

Summary:	AfterStep Window Manager
Name:		AfterStep
Version:	1.8.10
Release:	1mdk
Epoch:		4
License:	GPL
Group:		Graphical desktop/AfterStep
URL:		http://www.afterstep.org/
Packager:	David BAUDENS <baudens@mandrakesoft.com>

Source:		ftp://ftp.afterstep.org/stable/AfterStep-%version.tar.bz2
Source1:	AfterStep-mdkconf.tar.bz2
Source2:	AfterStep.menu-method
Source3:	AfterStep.xpm.bz2
Source4:	AfterStep32.xpm.bz2

Patch2:		AfterStep-1.8.9-menuname.patch.bz2
Patch3:         AfterStep.MenuKey.patch.bz2

BuildRoot:	%_tmppath/%name-%version-root
Requires:	mandrake_desk >= 7.2-1mdk, /usr/X11R6/bin/xsetbg, netscape, lib%name%major = %version-%release
BuildRequires:	XFree86-devel, xpm-devel, libjpeg-devel, libpng-devel, zlib-devel, sgml-tools

%description
AfterStep is a Window Manager for X which started by emulating the NEXTSTEP
look and feel, but which has been significantly altered according to the
requests of various users. Many adepts will tell you that NEXTSTEP is not
only the most visually pleasant interface, but also one of the most functional
and intuitive out there. AfterStep aims to incorporate the advantages of the
NEXTSTEP interface, and add additional useful features.

The developers of AfterStep have also worked very hard to ensure stability and
a small program footprint. Without giving up too many features, AfterStep still
works nicely in environments where memory is at a premium.

%package -n lib%name%major
Summary:	Libraries needed by AfterStep
Group:		Graphical desktop/AfterStep

%description -n lib%name%major
AfterStep is a Window Manager for X which started by emulating the NEXTSTEP
look and feel, but which has been significantly altered according to the
requests of various users. Many adepts will tell you that NEXTSTEP is not
only the most visually pleasant interface, but also one of the most functional
and intuitive out there. AfterStep aims to incorporate the advantages of the
NEXTSTEP interface, and add additional useful features.

The developers of AfterStep have also worked very hard to ensure stability and
a small program footprint. Without giving up too many features, AfterStep still
works nicely in environments where memory is at a premium.

This package contains libraries needed by AfterStep package.

%package -n lib%name%major-devel
Summary:	Devel files needed to build applications based on AfterStep
Group:		Development/C
Provides:	%name-devel, lib%name-devel
Requires:	lib%name%major = %version-%release

%description -n lib%name%major-devel
AfterStep is a Window Manager for X which started by emulating the NEXTSTEP
look and feel, but which has been significantly altered according to the
requests of various users. Many adepts will tell you that NEXTSTEP is not
only the most visually pleasant interface, but also one of the most functional
and intuitive out there. AfterStep aims to incorporate the advantages of the
NEXTSTEP interface, and add additional useful features.

The developers of AfterStep have also worked very hard to ensure stability and
a small program footprint. Without giving up too many features, AfterStep still
works nicely in environments where memory is at a premium.

This package contains devel files needed to build applications based on
AfterStep.


%prep

%setup -q

# LMDK patches
%patch2 -p1
%patch3 -p1

%build
CFLAGS=$RPM_OPT_FLAGS ./configure --prefix=%prefix \
				  --datadir=%prefix/share \
				  --with-imageloader="xsetbg" \
				  --with-helpcommand="xterm -fn 9x15 -e man" \
				  --with-desktops=1 \
				  --with-deskgeometry=1x1 \
				  --enable-different-looknfeels \
				  --enable-i18n \
				  --enable-savewindows \
				  --enable-texture \
				  --enable-shade \
				  --enable-virtual \
				  --enable-saveunders \
				  --enable-windowlist \
				  --enable-availability \
				  --enable-shaping \
				  --disable-staticlibs \
				  --enable-script \
				  --with-xpm \
				  --with-jpeg \
				  --with-png \
				  --build=%{_target_platform} \
				  --host=%{_target_platform} \
				  --target=%{_target_platform}

%make

sgml2html doc/afterstep.sgml

%install
make install DESTDIR=$RPM_BUILD_ROOT

install -d 644 $RPM_BUILD_ROOT/%_sysconfdir/menu-methods
install -m 755 %SOURCE2 $RPM_BUILD_ROOT/%_sysconfdir/menu-methods/%name

install -d 644 $RPM_BUILD_ROOT%_menudir
cat << EOF > $RPM_BUILD_ROOT%_menudir/%name
?package(%{name}):needs=wm section="Session/Windowmanagers" icon="%{name}.xpm" title="AfterStep" command="afterstep"
EOF

# LMDK icons
install -d 644 $RPM_BUILD_ROOT%_iconsdir
bzcat %SOURCE4 > $RPM_BUILD_ROOT%_iconsdir/%name.xpm
install -d 644 $RPM_BUILD_ROOT%_miconsdir
bzcat %SOURCE3 > $RPM_BUILD_ROOT%_miconsdir/%name.xpm

# Not needed with Linux-Mandrake menu
rm -fr $RPM_BUILD_ROOT/%prefix/share/afterstep/start/Applications/

install -d 644 $RPM_BUILD_ROOT%_sysconfdir/X11/wmsession.d
cat > $RPM_BUILD_ROOT%_sysconfdir/X11/wmsession.d/15afterstep << EOF
NAME=AfterStep
ICON=AfterStep.xpm
EXEC=%prefix/bin/afterstep
DESC=A NeXt like Window-Manager
SCRIPT:
exec %prefix/bin/afterstep
EOF

# Add documentation in packages which don't have (aka make rpmlint happy)
echo "See %_docdir/%name-%version for documentation on this package" > $RPM_BUILD_DIR/%name-%version/Readme

%clean
rm -fr $RPM_BUILD_ROOT

%post
%update_menus
%make_session

%post -n lib%name%major
/sbin/ldconfig

%post -n lib%name%major-devel
/sbin/ldconfig

%postun
%clean_menus
%make_session

%postun -n lib%name%major
/sbin/ldconfig

%postun -n lib%name%major-devel
/sbin/ldconfig

%files
%defattr(-,root,root)
%config(noreplace) %_sysconfdir/menu-methods/*
%config(noreplace) %_sysconfdir/X11/wmsession.d
%doc COPYRIGHT ChangeLog NEW README TEAM UPGRADE afterstep*.html doc/languages doc/licences
%_menudir/*
%_iconsdir/*.xpm
%_miconsdir/*
%prefix/bin/*
%prefix/man/man1/*
%dir %prefix/share/afterstep
%prefix/share/afterstep/*
%prefix/share/afterstep/.*

%files -n lib%name%major
%defattr(-,root,root,-)
%doc Readme
%prefix/lib/*.so.*

%files -n lib%name%major-devel
%defattr(-,root,root,-)
%doc Readme
%prefix/lib/*.so

%changelog
* Fri Nov  2 2001 Jeff Garzik <jgarzik@mandrakesoft.com> 1.8.10-1mdk
- new version
- specify --build/--host/--target manually

* Tue Sep 11 2001 Civileme <civileme@mandrakesoft.com> 1.8.9-3mdk
-Give the starting number of wmsession.d file unused number

* Tue Sep 04 2001 David BAUDENS <baudens@mandrakesoft.com> 1.8.9-2mdk
- Fix menu generation

* Fri Aug 24 2001 David BAUDENS <baudens@mandrakesoft.com> 1.8.9-1mdk
- 1.8.9

* Fri Jan 05 2001 David BAUDENS <baudens@mandrakesoft.com> 1.8.8-1mdk
- 1.8.8

* Mon Dec 18 2000 David BAUDENS <baudens@mandrakesoft.com> 1.8.4-3mdk
- mv %%_libdir/*.so in devel package

* Wed Dec 13 2000 David BAUDENS <baudens@mandrakesoft.com> 1.8.4-2mdk
- Libdification
- Spec clean up and Q.A. stuff

* Fri Nov 10 2000 David BAUDENS <baudens@mandrakesoft.com> 1.8.4-1mdk
- 1.8.4 patch 2
- Build with glibc-2.2 & gcc-2.96

* Fri Sep 29 2000 Daouda Lo <daouda@mandrakesoft.com> 1.8.0.3-6mdk
- add icons for menu.
- macrozifications

* Wed Sep 27 2000 Frederic Lepied <flepied@mandrakesoft.com> 1.8.0.3-5mdk
- entry in /etc/X11/wmsession.d
- noreplace

* Mon Aug 07 2000 Frederic Lepied <flepied@mandrakesoft.com> 1.8.0.3-4mdk
- automatically added BuildRequires

* Sun Jul 09 2000 David BAUDENS <baudens@mandrakesoft.com> 1.8.0.3-3mdk
- Build with right options

* Sat Jul 08 2000 David BAUDENS <baudens@mandrakesoft.com> 1.8.0.3-2mdk
- Add serial to force update

* Sat Jul 08 2000 David BAUDENS <baudens@mandrakesoft.com> 1.8.0.3-1mdk
- 1.8.0 patch 3

* Wed Jul 05 2000 David BAUDENS <baudens@mandrakesoft.com> 1.8.0.2-1mdk
- 1.8.0 patch 2 (sasha+contrib)
- Fix version number

* Fri Apr 28 2000 dam's <damien@mandrakesoft.com> 1.8.1-6mdk
- Add fndSession call.

* Mon Apr 10 2000 Dindinx <odin@mandrakesoft.com> 1.8.1-5mdk
- Add menu key support

* Thu Apr  6 2000 Chmouel Boudjnah <chmouel@mandrakesoft.com> 1.8.1-4mdk
- Make default background viewver xsetbg (no more xli).
- Add menus.
- Remove %pre (handle by %config).

* Mon Mar 27 2000 DindinX <odin@mandrakesoft.com> 1.8.1-3mdk
- Fix group, specs updates, removing .so files, etc.

* Tue Mar 14 2000 David BAUDENS <baudens@mandrakesoft.com> 1.8.1-2mdk
- Update Group

* Tue Feb 29 2000 David BAUDENS <baudens@mandrakesoft.com> 1.8.1-1mdk
- 1.8.1
- Merge with official AfterStep spec

* Thu Jan 06 2000 - David BAUDENS <baudens@mandrakesoft.com>
- 1.7.142-5mdk: Requires mandrake_desk >= 1.0.1-11

* Wed Jan 05 2000 - David BAUDENS <baudens@mandrakesoft.com>
- Remove afsdrake for 7.0
- Back to old config files
- Change default background for old config files 

* Sat Dec 25 1999 - David BAUDENS <baudens@mandrakesoft.com>
- Change default background
- Disable afsdrake by default

* Tue Dec 21 1999 - David BAUDENS <baudens@mandkrasoft.com>
- Add afsdrake

* Sat Dec 04 1999 - David BAUDENS <baudens@mandrakesoft.com>
- 1.7.142

* Tue Jul 20 1999 Chmouel Boudjnah <chmouel@mandrakesoft.com>
- New icons

* Mon Jul 19 1999 Chmouel Boudjnah <chmouel@mandrakesoft.com>
- Mandrake customisations (background, menus, icons).

* Fri Jun 11 1999 Bernhard Rosenkränzer <bero@mandrakesoft.com>
- 1.7.111

* Thu Jun 10 1999 Bernhard Rosenkränzer <bero@mandrakesoft.com>
- 1.7.90
- Mandrake adaptions

* Mon Feb  8 1999 Ryan Weaver <ryanw@infohwy.com>
  [AfterStep-1.6.10-1]
- Upgraded to 1.6.10

* Mon Jan  4 1999 Ryan Weaver <ryanw@infohwy.com>
  [AfterStep-1.6.6-3]
- Added a pre-install script to check to see if a previous versions
  share directory exists... If one does, it will copy it to afterstep_old.

* Thu Dec 31 1998 Ryan Weaver <ryanw@infohwy.com>
  [AfterStep-1.6.6-2]

- Configuring with no special settings and installing into
  default dirs as per David Mihm <davemann@ionet.net>

* Wed Dec 30 1998 Michael K. Neylon <mneylon@engin.umich.edu>
 - Updated to 1.6.6

* Fri Dec 11 1998 Michael K. Neylon <mneylon@engin.umich.edu>
 - Updated to 1.6 (final)

* Tue Nov 24 1998 Michael K. Neylon <mneylon@engin.umich.edu>
 - Updated to 1.5 beta 6 (ascp no longer part of package)

* Tue Sep 22 1998 Michael K. Neylon <mneylon@engin.umich.edu>
 - Moved ascp to a subpackage
 
* Thu Sep 21 1998 Michael K. Neylon <mneylon@engin.umich.edu>
 - Updated to 1.5beta4
 - Huzzah! configure flags!

* Thu Sep 3 1998 Michael K. Neylon <mneylon@engin.umich.edu>
 - Updated to 1.5beta3
 - Tried to use some of RPM's internal variables for later ease.

* Sun Aug 9 1998 Michael K. Neylon <mneylon@engin.umich.edu>
 - Updated to 1.5pre7

* Mon Jul 13 1998 Michael K. Neylon <mneylon@neylonpc.engin.umich.edu>
 - Updated to 1.5pre6

* Thu Jul  2 1998 Michael K. Neylon <mneylon@neylonpc.engin.umich.edu>
 - Updated to 1.5pre5

* Thu Jun 25 1998 Michael K. Neylon <mneylon@engin.umich.edu> 1.5pre3
 - Updated to this version.
 - Borrows xiterm source for 1.4.5.55N6 (as per readme).

* Tue Jun 2 1998 Michael K. Neylon <mneylon@engin.umich.edu> 1.4.5.55N6-2
 - Enabled compiled-time option of saving windows.

* Sat May 26 1998 Michael K. Neylon <mneylon@engin.umich.edu> 1.4.5.55N6-1
 - N6 update
 - Removed requirement for sgml-tools.  Do release that you will needs these
   to rebuild the .src.rpm (Available as contrib packages at Redhat)

* Sat May 16 1998 Michael K. Neylon <mneylon@engin.umich.edu> 1.4.5.55N-1
 - 1.4.5.55N update

* Thu Apr 23 1998 Michael K. Neylon <mneylon@engin.umich.edu> 1.4.5.3-1
 - 1.4.5.3 patch (applied to 1.4.5.1, odd, but...)

* Sun Apr 19 1998 Michael K. Neylon <mneylon@engin.umich.edu> 1.4.5.2-1
 - 1.4.5.2 patch

* Thu Apr 16 1998 Michael K. Neylon <mneylon@engin.umich.edu> 1.4.5.1-1
 - Included major documentation patch.

* Tue Apr 14 1998 Michael K. Neylon <mneylon@engin.umich.edu> 1.4.5.0-1
 - Update to new 1.4.5

* Wed Mar 11 1998 Michael K. Neylon <mneylon@engin.umich.edu> 1.4.4-1
 - Update to new 1.4.4 beta, with necessary spec file adjustments
 - New changes no longer require OffiX-devel (as astrash isn't included)
 - put "afterstepdoc" and related files in the right place :-)

* Tue Feb 17 1998 Michael K. Neylon <mneylon@engin.umich.edu> 1.4-2
 - Fixed documentation problems

* Thu Feb 11 1998 Michael K. Neylon <mneylon@engin.umich.edu> 1.4
 - Updated to 1.4, using root install (including the startmenu worldwrite
   fix

* Thu Jan 15 1998 Kjetil Wiekhorst Jørgensen <jorgens@zarhan.pvv.org> 1.0-7
 - Fixed a minor bug in the code using mktemp(3).

* Tue Jan 13 1998 Kjetil Wiekhorst Jørgensen <jorgens@zarhan.pvv.org> 1.0-6
 - Added patch to allow the usage of m4 to configure afterstep.

* Thu Nov 20 1997 Greg Boehnlein <damin@nacs.net> 1.0-5
 - Modified Exist patch to look in /etc/X11/afterstep for system.steprc

* Wed Nov 19 1997 Greg Boehnlein <damin@nacs.net> 1.0-4
 - Rebuilt RPM under RedHat Mustang (glibc)

* Tue Jul 17 1997 Ximenes Zalteca <ximenes@netset.com> 1.0-3
 - Added Exist popup patch
 - Oh ya, and Malda's cool3.diff has been in since -2 :)

* Wed Jul 03 1997 Ximenes Zalteca <ximenes@netset.com> 1.0-2
 - Put sample.steprc in /etc/X11/afterstep

* Sat Jun 28 1997 Ximenes Zalteca <ximenes@netset.com> 1.0-2
 - Added patch to build properly on Linux/Alpha
 - Modified description
 - Modified BuildRoot
 - Updated URLs
 - Moved things from /usr/lib/X11 to /usr/X11R6/lib/X11