]> git.pld-linux.org Git - packages/WSoundServer.git/blobdiff - WSoundServer.spec
- kill Icon: field (support for these is obsolete says jbj)
[packages/WSoundServer.git] / WSoundServer.spec
index a64c5b9a6ab7dd53e3d18859e577389455d26862..b6bdaabf5936e8b34a044a76baea53b32bdb9a7c 100644 (file)
@@ -1,31 +1,33 @@
 Summary:       WindowMaker sound server
 Summary(fr):   Serveur de son de Window Maker
-Summary(no):   Window Maker lydtjener
+Summary(nb):   Window Maker lydtjener
 Summary(pl):   Serwer d¼wiêku dla WindowMakera
 Name:          WSoundServer
-Version:       0.2.2
-Release:       4
-Group:         X11/Window Managers/Tools
-Group(pl):     X11/Zarz±dcy Okien/Narzêdzia
+Version:       0.4.1
+Release:       2
 License:       GPL
-Source0:       ftp://shadowmere.student.utwente.nl/pub/WindowMaker/%{name}-%{version}.tar.bz2
-Source1:       WSoundServer.desktop
-Source2:       WSoundServer-config
-Source3:       WSoundServer-soundset
-Source4:       wmsdefault.tar.gz
-Icon:          WSoundServer.xpm
+Group:         X11/Window Managers/Tools
+Source0:       http://largo.windowmaker.org/files/%{name}-%{version}.tar.gz
+# Source0-md5: cfc8d0bdf97e7b165790cf266d40670e
+Source1:       %{name}.desktop
+Source2:       %{name}-config
+Patch0:                %{name}-libdockapp.patch
+Patch1:                %{name}-rm_unknown_audiofile_compression.patch
+Patch2:                %{name}-acfix.patch
+URL:           http://largo.windowmaker.org/files.php#WSoundServer
+BuildRequires: WindowMaker-devel
+BuildRequires: XFree86-devel
+BuildRequires: audiofile-devel >= 0.1.9
+BuildRequires: autoconf
+BuildRequires: automake
 BuildRequires: libPropList-devel >= 0.8.3
 BuildRequires: libdockapp-devel
-BuildRequires: audiofile-devel >= 0.1.9
-BuildRequires: XFree86-devel
-BuildRequires: WindowMaker-devel
+BuildRequires: libtool
 Requires:      WindowMaker >= 0.60.0
-Requires:      WSoundServer-data
-Obsoletes:     wmsound
+Provides:      wmsoundserver
+Obsoletes:     wmsoundserver
 BuildRoot:     %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
 
-%define        _prefix         /usr/X11R6
-%define                _mandir         %{_prefix}/man
 %define                _sysconfdir     /etc/X11
 
 %description
@@ -34,41 +36,19 @@ WSoundServer is the sound server for WindowMaker.
 %description -l fr
 WSoundServer est le serveur de son pour Window Maker.
 
-%description -l no
+%description -l nb
 WSoundServer er en lydtjener for Window Maker.
 
 %description -l pl
 WSoundServer jest serwerem d¼wiêku dla WindowMakera.
 
-%package data
-Summary:       WSoundServer 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
-Obsoletes:     wmsound-data
-
-%description data
-The standard WSoundServer data.
-
-%description data -l fr
-Les données standard de WSoundServer.
-
-%description data -l no
-Standard datafiler til WSoundServer.
-
-%description data -l pl
-Standardowe pliki d¼wiêkowe dla WSoundServer.
-
 %package devel
 Summary:       WSoundServer libraries and headers
-Summary(no):   Utviklings bibliotek for WSoundServer
+Summary(nb):   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
-Requires:      %{name} = %{version}
+Requires:      %{name} = %{version}-%{release}
 Obsoletes:     wmsound-devel
 
 %description devel
@@ -77,7 +57,7 @@ WSoundServer libraries and headers.
 %description devel -l fr
 Bibliothèques et includes pour WSoundServer.
 
-%description devel -l no
+%description devel -l nb
 WSoundServer biblioteket samt «headerfilen».
 
 %description devel -l pl
@@ -88,8 +68,7 @@ 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
-Requires:      %{name}-devel = %{version}
+Requires:      %{name}-devel = %{version}-%{release}
 
 %description static
 WSoundServer static libraries.
@@ -101,66 +80,58 @@ Biblioth
 Biblioteki statyczne dla WSoundServer.
 
 %prep
-%setup -q -a4
+%setup -q
+%patch0 -p1
+%patch1 -p1
+%patch2 -p1
 
 %build
-LDFLAGS="-s"; export LDFLAGS
-%configure 
+%{__libtoolize}
+%{__aclocal}
+%{__autoconf}
+%{__automake}
+%configure
 
 %{__make}
 
 %install
 rm -rf $RPM_BUILD_ROOT
-install -d $RPM_BUILD_ROOT%{_applnkdir}/Utilities \
-       $RPM_BUILD_ROOT%{_sysconfdir}/WindowMaker \
-       $RPM_BUILD_ROOT%{_datadir}/{pixmaps,WindowMaker/{SoundSets,Sounds}}
+install -d $RPM_BUILD_ROOT{%{_desktopdir},%{_pixmapsdir}} \
+       $RPM_BUILD_ROOT%{_sysconfdir}/WindowMaker
 
-%{__make} install DESTDIR=$RPM_BUILD_ROOT
+%{__make} install \
+       DESTDIR=$RPM_BUILD_ROOT
 
-install src/wsoundserver.xpm $RPM_BUILD_ROOT%{_datadir}/pixmaps
+install src/wsoundserver.xpm $RPM_BUILD_ROOT%{_pixmapsdir}
 
-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 
-
-%post   -p /sbin/ldconfig
-%postun -p /sbin/ldconfig
+install %{SOURCE1} $RPM_BUILD_ROOT%{_desktopdir}
+install %{SOURCE2} $RPM_BUILD_ROOT%{_sysconfdir}/WindowMaker/WMSound
 
 %clean
 rm -rf $RPM_BUILD_ROOT
 
+%post  -p /sbin/ldconfig
+%postun -p /sbin/ldconfig
+
 %files
 %defattr(644,root,root,755)
-%doc {README,ChangeLog,AUTHORS}.gz
+%doc AUTHORS ChangeLog README
 %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.*.*
+%config(noreplace) %verify(not md5 mtime size) %{_sysconfdir}/WindowMaker/WMSound
 
-%{_datadir}/pixmaps/wsoundserver.xpm
-%{_applnkdir}/Utilities/%{name}.desktop
+%{_pixmapsdir}/wsoundserver.xpm
+%{_desktopdir}/%{name}.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
-
 %files devel
 %defattr(644,root,root,755)
 %attr(755,root,root) %{_bindir}/get-wsound-flags
 %attr(755,root,root) %{_libdir}/lib*.so
-%attr(755,root,root) %{_libdir}/lib*.la
+%{_libdir}/lib*.la
 %{_includedir}/*.h
 
 %files static
This page took 0.09691 seconds and 4 git commands to generate.