]> git.pld-linux.org Git - packages/WSoundServer.git/blobdiff - WSoundServer.spec
- BuildRequires: autoconf, automake, libtool
[packages/WSoundServer.git] / WSoundServer.spec
index 466805e76044321f7b1558bba384acc6463ab1e1..44954fd646da0481b58b5122a703d6fe510ac23a 100644 (file)
@@ -1,27 +1,34 @@
-Summary:        WindowMaker sound server
+Summary:       WindowMaker sound server
 Summary(fr):   Serveur de son de Window Maker
 Summary(no):   Window Maker lydtjener
-Summary(pl):    Serwer d¼wiêku dla WindowMakera
+Summary(pl):   Serwer d¼wiêku dla WindowMakera
 Name:          WSoundServer
-Version:       0.2.1
-Release:       2
+Version:       0.4.0
+Release:       3
+License:       GPL
 Group:         X11/Window Managers/Tools
+Group(de):     X11/Fenstermanager/Werkzeuge
 Group(pl):     X11/Zarz±dcy Okien/Narzêdzia
-Copyright:     GPL
 Source0:       ftp://shadowmere.student.utwente.nl/pub/WindowMaker/%{name}-%{version}.tar.bz2
-Source1:       WSoundServer.desktop
-Source2:       WSoundServer-config
-Source3:       WSoundServer-soundset
+Source1:       %{name}.desktop
+Source2:       %{name}-config
+Source3:       %{name}-soundset
 Source4:       wmsdefault.tar.gz
+Patch0:                %{name}-WINGs.patch
+Patch1:                %{name}-rm_unknown_audiofile_compression.patch
 Icon:          WSoundServer.xpm
 BuildRequires: libPropList-devel >= 0.8.3
-BuildRequires: docklib
+BuildRequires: libdockapp-devel
 BuildRequires: audiofile-devel >= 0.1.9
-BuildRequires: xpm-devel
 BuildRequires: XFree86-devel
 BuildRequires: WindowMaker-devel
+BuildRequires: autoconf
+BuildRequires: automake
+BuildRequires: libtool
 Requires:      WindowMaker >= 0.60.0
-BuildRoot:     /tmp/%{name}-%{version}-root
+BuildRoot:     %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
+Obsoletes:     wmsound
+Obsoletes:     WSoundServer-data
 
 %define        _prefix         /usr/X11R6
 %define                _mandir         %{_prefix}/man
@@ -39,36 +46,16 @@ WSoundServer er en lydtjener for Window Maker.
 %description -l pl
 WSoundServer jest serwerem d¼wiêku dla WindowMakera.
 
-%package data
-Summary:        WSoundSerer data
-Summary(fr):    Données de WSoundServer
-Summary(no):    Data til WSoundServer
-Summary(pl):    Pliki z danymi dla WSoundServer
-Group:          X11/Window Managers/Tools
-Group(pl):      X11/Zarz±dcy Okien/Narzêdzia
-Requires:       %{name} = %{version}
-Obsoletes:     wmsound-data
-
-%description data
-The standard WSoundSerer data.
-
-%description data -l fr
-Les données standard de WSoundSerer.
-
-%description data -l no
-Standard datafiler til WSoundSerer.
-
-%description data -l pl
-Pliki z danymi dla WSoundSerer.
-
 %package devel
-Summary:        WSoundServer libraries and headers
+Summary:       WSoundServer libraries and headers
 Summary(no):   Utviklings bibliotek for WSoundServer
 Summary(fr):   Bibliothèques et includes pour WSoundServer
-Summary(pl):    Biblioteki i pliki nag³ówkowe dla WSoundServer
-Group:          X11/Development/Libraries
-Group(pl):      X11/Programowanie/Biblioteki
+Summary(pl):   Biblioteki i pliki nag³ówkowe dla WSoundServer
+Group:         X11/Development/Libraries
+Group(de):     X11/Entwicklung/Libraries
+Group(pl):     X11/Programowanie/Biblioteki
 Requires:      %{name} = %{version}
+Obsoletes:     wmsound-devel
 
 %description devel
 WSoundServer libraries and headers.
@@ -83,11 +70,12 @@ WSoundServer biblioteket samt 
 Biblioteki i pliki nag³ówkowe dla WSoundServer.
 
 %package static
-Summary:        WSoundServer static libraries
-Summary(fr):    Bibliothèques statiques pour WSoundServer
-Summary(pl):    Biblioteki statyczne dla WSoundServer
-Group:          X11/Development/Libraries
-Group(pl):      X11/Programowanie/Biblioteki
+Summary:       WSoundServer static libraries
+Summary(fr):   Bibliothèques statiques pour WSoundServer
+Summary(pl):   Biblioteki statyczne dla WSoundServer
+Group:         X11/Development/Libraries
+Group(de):     X11/Entwicklung/Libraries
+Group(pl):     X11/Programowanie/Biblioteki
 Requires:      %{name}-devel = %{version}
 
 %description static
@@ -101,32 +89,35 @@ Biblioteki statyczne dla WSoundServer.
 
 %prep
 %setup -q -a4
+%patch0 -p1
+%patch1 -p1
 
 %build
-LDFLAGS="-s"; export LDFLAGS
+rm -f missing
+libtoolize --copy --force
+aclocal
+autoconf
+automake -a -c
 %configure 
 
-make
+%{__make}
 
 %install
 rm -rf $RPM_BUILD_ROOT
-install -d $RPM_BUILD_ROOT%{_datadir}/{pixmaps,applnk/Utilities} \
+install -d $RPM_BUILD_ROOT%{_applnkdir}/Utilities \
        $RPM_BUILD_ROOT%{_sysconfdir}/WindowMaker \
-       $RPM_BUILD_ROOT%{_datadir}/WindowMaker/{SoundSets,Sounds}
+       $RPM_BUILD_ROOT%{_datadir}/{pixmaps,WindowMaker/{SoundSets,Sounds}}
 
-make install DESTDIR=$RPM_BUILD_ROOT
+%{__make} install DESTDIR=$RPM_BUILD_ROOT
 
 install src/wsoundserver.xpm $RPM_BUILD_ROOT%{_datadir}/pixmaps
 
-install %{SOURCE1} $RPM_BUILD_ROOT%{_datadir}/applnk/Utilities
-install %{SOURCE2} $RPM_BUILD_ROOT%{_sysconfdir}/WindowMaker/WMSound
-install %{SOURCE3} $RPM_BUILD_ROOT%{_datadir}/WindowMaker/SoundSets/Default
+install %{SOURCE1}   $RPM_BUILD_ROOT%{_applnkdir}/Utilities
+install %{SOURCE2}   $RPM_BUILD_ROOT%{_sysconfdir}/WindowMaker/WMSound
+install %{SOURCE3}   $RPM_BUILD_ROOT%{_datadir}/WindowMaker/SoundSets/Default
 install Sounds/*.wav $RPM_BUILD_ROOT%{_datadir}/WindowMaker/Sounds
 
-strip --strip-unneeded $RPM_BUILD_ROOT%{_libdir}/lib*.so.*.*
-
-gzip -9nf $RPM_BUILD_ROOT%{_mandir}/man1/* \
-       README ChangeLog AUTHORS 
+gzip -9nf README ChangeLog AUTHORS 
 
 %post   -p /sbin/ldconfig
 %postun -p /sbin/ldconfig
@@ -136,28 +127,24 @@ rm -rf $RPM_BUILD_ROOT
 
 %files
 %defattr(644,root,root,755)
-%doc {README,ChangeLog,AUTHORS}.gz
 %attr(755,root,root) %{_bindir}/getsoundset
 %attr(755,root,root) %{_bindir}/setsoundset
 %attr(755,root,root) %{_bindir}/wsound*
 %attr(755,root,root) %{_libdir}/lib*.so.*.*
-%{_libdir}/lib*.la
-
-%{_datadir}/pixmaps/wsoundserver.xpm
-%{_datadir}/applnk/Utilities/WSoundServer.desktop
-
-%{_mandir}/man1/*
-
-%files data
-%defattr(644,root,root,755)
 %dir %{_datadir}/WindowMaker/Sounds
 %dir %{_datadir}/WindowMaker/SoundSets
 %{_datadir}/WindowMaker/Sounds/*.wav
 %config %verify(not size mtime md5) %{_datadir}/WindowMaker/SoundSets/Default
 %config %verify(not size mtime md5) %{_sysconfdir}/WindowMaker/WMSound
 
+%{_pixmapsdir}/wsoundserver.xpm
+%{_applnkdir}/Utilities/%{name}.desktop
+
+%{_mandir}/man1/*
+
 %files devel
 %defattr(644,root,root,755)
+%doc *.gz
 %attr(755,root,root) %{_bindir}/get-wsound-flags
 %attr(755,root,root) %{_libdir}/lib*.so
 %attr(755,root,root) %{_libdir}/lib*.la
This page took 0.07909 seconds and 4 git commands to generate.