File wsndpref.spec of Package wsndpref
#
# spec file for package wsndpref (Version 1.1.1)
#
# Copyright (c) 2008 SUSE LINUX Products GmbH, Nuernberg, Germany.
# This file and all modifications and additions to the pristine
# package are under the same license as the package itself.
#
# Please submit bugfixes or comments via http://bugs.opensuse.org/
#
# norootforbuild
Name: wsndpref
BuildRequires: WindowMaker-devel esound-devel freetype2-devel wsndsrv
License: BSD 3-Clause
Group: System/GUI/Other
Url: ftp://shadowmere.student.utwente.nl/pub/WindowMaker/
Provides: WSoundPrefs
AutoReqProv: on
Summary: A Setup Program for the WSoundServer
Version: 1.1.1
Release: 1121
Source: WSoundPrefs-%{version}.tar.gz
Patch1: WSoundPrefs-1.1.1-wstrappend.patch
Patch2: WSoundPrefs-1.1.1-imake.patch
Patch3: WSoundPrefs-1.1.1-IconImage.patch
Patch4: WSoundPrefs-1.1.1-noPropList.patch
Patch5: WSoundPrefs-1.1.1-compile.patch
Patch6: WSoundPrefs-1.1.1-warnings.patch
BuildRoot: %{_tmppath}/%{name}-%{version}-build
%description
A setup program for the WSoundServer.
Authors:
--------
Pascal Hofstee <daeron@shadowmere.student.utwente.nl>
%prep
%setup -q -n WSoundPrefs-%{version}
%patch1
%patch2
%patch3
%patch4 -p 1
%patch5
%patch6
# ---------------------------------------------------------------------------
%build
xmkmf -a
make
# ---------------------------------------------------------------------------
%install
rm -rf $RPM_BUILD_ROOT
make DESTDIR=$RPM_BUILD_ROOT/usr/lib/GNUstep install
mv $RPM_BUILD_ROOT/usr/lib/GNUstep/usr/lib/GNUstep/Apps/WSoundPrefs.app/* $RPM_BUILD_ROOT/usr/lib/GNUstep/Apps/WSoundPrefs.app
mv $RPM_BUILD_ROOT/usr/lib/GNUstep/WSoundPrefs.{tiff,xpm} $RPM_BUILD_ROOT/usr/lib/GNUstep/Apps/WSoundPrefs.app
%clean
rm -rf $RPM_BUILD_ROOT
%files
%defattr(-,root,root)
%dir /usr/lib/GNUstep/Apps
/usr/lib/GNUstep/Apps/WSoundPrefs.app
%doc AUTHORS
%doc COPYING
%doc ChangeLog
%doc INSTALL
%changelog
* Mon Apr 28 2008 ro@suse.de
- remove hermes-devel from buildreq
* Thu May 31 2007 anosek@suse.cz
- fixed incorrect string comparison (warnings.patch)
* Mon Aug 21 2006 anosek@suse.cz
- changed prefix /usr/X11R6 -> /usr
* Wed Jan 25 2006 mls@suse.de
- converted neededforbuild to BuildRequires
* Thu Apr 14 2005 sbrabec@suse.cz
- Added audiofile-devel to neededforbuild.
* Fri Jan 21 2005 ro@suse.de
- fix build
* Sun Jan 11 2004 adrian@suse.de
- add %%defattr
* Fri May 30 2003 nadvornik@suse.cz
- correctly installed icons
* Wed May 07 2003 ro@suse.de
- added freetype2 and expat to neededforbuild
- make it compile with current WindowMaker
* Fri Apr 18 2003 ro@suse.de
- updated neededforbuild
* Wed Oct 02 2002 nadvornik@suse.cz
- applied debian patch to compile without libPropList
* Fri Sep 27 2002 ro@suse.de
- Added alsa alsa-devel to neededforbuild (esound)
* Mon Jul 15 2002 meissner@suse.de
- added esound/esound-devel to neededforbuild
* Fri Feb 01 2002 ro@suse.de
- changed neededforbuild <libpng> to <libpng-devel-packages>
* Tue Sep 11 2001 nadvornik@suse.cz
- fixed crash with new WindowMaker
* Tue Jun 12 2001 nadvornik@suse.cz
- used ComplexProgramTargetNoMan in Imakefile
* Wed Jun 06 2001 nadvornik@suse.cz
- added hermes and hermes-devel to neededforbuild
* Mon Apr 30 2001 nadvornik@suse.cz
- fixed crash with new WindowMaker
* Tue Mar 13 2001 ro@suse.de
- changed neededforbuild <WindowMaker> to <WindowMaker WindowMaker-devel>
* Tue Feb 27 2001 nadvornik@suse.cz
- fixed to compile
* Wed Nov 15 2000 ro@suse.de
- fixed neededforbuild for libPropList
* Mon Nov 06 2000 ro@suse.de
- fixed neededforbuild
* Thu Jun 22 2000 nadvornik@suse.cz
- updated URL
* Tue May 09 2000 nadvornik@suse.cz
- updated to 1.1.1
* Fri May 05 2000 nadvornik@suse.cz
- added BuildRoot
* Wed Mar 01 2000 choeger@suse.de
- added Group and Url Tag
* Tue Oct 26 1999 ro@suse.de
-switched to libungif
* Tue Sep 21 1999 ro@suse.de
- added proplst, proplstd to neededforbuild
* Mon Sep 13 1999 bs@suse.de
- ran old prepare_spec on spec file to switch to new prepare_spec.
* Thu Jul 08 1999 choeger@suse.de
- first package, v1.1.0