X-Git-Url: http://git.pld-linux.org/?a=blobdiff_plain;f=WSoundServer.spec;h=af9bcda2db285fc1a57c6de02c62c70faa97057a;hb=fcada41740af44325dacafbb33d6028292398ff4;hp=669ca9242e8d0e6f3891c3cc83563ed523fed50a;hpb=e125e017340273aea5dc6b142580ba3717857e63;p=packages%2FWSoundServer.git diff --git a/WSoundServer.spec b/WSoundServer.spec index 669ca92..af9bcda 100644 --- a/WSoundServer.spec +++ b/WSoundServer.spec @@ -1,102 +1,140 @@ -Summary: WindowMaker sound server -Summary(pl): Serwer d¼wiêku dla WindowMakera +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 Name: WSoundServer -Version: 0.1.1 -Release: 1 +Version: 0.4.0 +Release: 4 +License: GPL Group: X11/Window Managers/Tools -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 +Source0: http://largo.windowmaker.org/files/%{name}-%{version}.tar.bz2 +# Source0-md5: 222dc783c0d77700259ec93f1c2255ac +Source1: %{name}.desktop +Source2: %{name}-config +Patch0: %{name}-WINGs.patch +Patch1: %{name}-rm_unknown_audiofile_compression.patch +Patch2: %{name}-acfix.patch Icon: WSoundServer.xpm -BuildPrereq: libPropList-devel >= 0.8.3 -BuildPrereq: docklib -BuildPrereq: audiofile-devel >= 0.1.7 -BuildPrereq: xpm-devel -BuildPrereq: XFree86-devel -BuildPrereq: WindowMaker-devel +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: libtool Requires: WindowMaker >= 0.60.0 -BuildRoot: /tmp/%{name}-%{version}-root +Requires: wmsound-data +Provides: wmsoundserver +BuildRoot: %{tmpdir}/%{name}-%{version}-root-%(id -u -n) +Obsoletes: wmsound -%define _prefix /usr/X11R6 -%define _mandir %{_prefix}/man +%define _prefix /usr/X11R6 +%define _mandir %{_prefix}/man +%define _sysconfdir /etc/X11 %description WSoundServer is the sound server for WindowMaker. +%description -l fr +WSoundServer est le serveur de son pour Window Maker. + +%description -l no +WSoundServer er en lydtjener for Window Maker. + %description -l pl WSoundServer jest serwerem d¼wiêku dla WindowMakera. %package devel -Summary: WSoundServer libraries and headers -Summary(pl): Biblioteki i pliki nag³ówkowe dla WSoundServer -Group: X11/Development/Libraries -Group(pl): X11/Programowanie/Biblioteki +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 Requires: %{name} = %{version} +Obsoletes: wmsound-devel %description devel WSoundServer libraries and headers. +%description devel -l fr +Bibliothèques et includes pour WSoundServer. + +%description devel -l no +WSoundServer biblioteket samt «headerfilen». + %description devel -l pl Biblioteki i pliki nag³ówkowe dla WSoundServer. %package static -Summary: WSoundServer static libraries -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 Requires: %{name}-devel = %{version} %description static WSoundServer static libraries. +%description static -l fr +Bibliothèques statiques pour WSoundServer. + %description static -l pl Biblioteki statyczne dla WSoundServer. %prep %setup -q +%patch0 -p1 +%patch1 -p1 +%patch2 -p1 %build -LDFLAGS="-s"; export LDFLAGS +rm -f missing +%{__libtoolize} +%{__aclocal} +%{__autoconf} +%{__automake} %configure -make +%{__make} %install rm -rf $RPM_BUILD_ROOT -install -d $RPM_BUILD_ROOT%{_datadir}/pixmaps \ - $RPM_BUILD_ROOT/etc/X11/applnk/Utilities +install -d $RPM_BUILD_ROOT{%{_applnkdir}/Utilities,%{_pixmapsdir}} \ + $RPM_BUILD_ROOT%{_sysconfdir}/WindowMaker -make install DESTDIR=$RPM_BUILD_ROOT -install src/wsoundserver.xpm $RPM_BUILD_ROOT%{_datadir}/pixmaps -install %{SOURCE1} $RPM_BUILD_ROOT/etc/X11/applnk/Utilities +%{__make} install DESTDIR=$RPM_BUILD_ROOT -strip --strip-unneeded $RPM_BUILD_ROOT%{_libdir}/lib*.so.*.* +install src/wsoundserver.xpm $RPM_BUILD_ROOT%{_pixmapsdir} -gzip -9nf $RPM_BUILD_ROOT%{_mandir}/man1/* \ - README ChangeLog AUTHORS - -%post -p /sbin/ldconfig -%postun -p /sbin/ldconfig +install %{SOURCE1} $RPM_BUILD_ROOT%{_applnkdir}/Utilities +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 -%attr(755,root,root) %{_bindir}/* +%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.*.* -%{_libdir}/lib*.la +%config(noreplace) %verify(not size mtime md5) %{_sysconfdir}/WindowMaker/WMSound -%{_datadir}/pixmaps/wsoundserver.xpm -/etc/X11/applnk/Utilities/WSoundServer.desktop +%{_pixmapsdir}/wsoundserver.xpm +%{_applnkdir}/Utilities/%{name}.desktop %{_mandir}/man1/* %files devel %defattr(644,root,root,755) +%attr(755,root,root) %{_bindir}/get-wsound-flags %attr(755,root,root) %{_libdir}/lib*.so +%{_libdir}/lib*.la %{_includedir}/*.h %files static