]> git.pld-linux.org Git - packages/WSoundServer.git/blobdiff - WSoundServer.spec
- adapterized (sorted %verify attrs)
[packages/WSoundServer.git] / WSoundServer.spec
index b102cfa60001c9630b8685feef20a12d4638c564..3d8bedd1af7754b204e4e42cd68452525111a485 100644 (file)
@@ -3,18 +3,19 @@ Summary(fr):  Serveur de son de Window Maker
 Summary(nb):   Window Maker lydtjener
 Summary(pl):   Serwer d¼wiêku dla WindowMakera
 Name:          WSoundServer
-Version:       0.4.0
-Release:       4
+Version:       0.4.1
+Release:       2
 License:       GPL
 Group:         X11/Window Managers/Tools
-Source0:       http://largo.windowmaker.org/files/%{name}-%{version}.tar.bz2
-# Source0-md5: 222dc783c0d77700259ec93f1c2255ac
+Source0:       http://largo.windowmaker.org/files/%{name}-%{version}.tar.gz
+# Source0-md5: cfc8d0bdf97e7b165790cf266d40670e
 Source1:       %{name}.desktop
 Source2:       %{name}-config
-Patch0:                %{name}-WINGs.patch
+Patch0:                %{name}-libdockapp.patch
 Patch1:                %{name}-rm_unknown_audiofile_compression.patch
 Patch2:                %{name}-acfix.patch
 Icon:          WSoundServer.xpm
+URL:           http://largo.windowmaker.org/files.php#WSoundServer
 BuildRequires: WindowMaker-devel
 BuildRequires: XFree86-devel
 BuildRequires: audiofile-devel >= 0.1.9
@@ -24,13 +25,10 @@ BuildRequires:      libPropList-devel >= 0.8.3
 BuildRequires: libdockapp-devel
 BuildRequires: libtool
 Requires:      WindowMaker >= 0.60.0
-Requires:      wmsound-data
 Provides:      wmsoundserver
+Obsoletes:     wmsoundserver
 BuildRoot:     %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
-Obsoletes:     wmsound
 
-%define        _prefix         /usr/X11R6
-%define                _mandir         %{_prefix}/man
 %define                _sysconfdir     /etc/X11
 
 %description
@@ -51,7 +49,7 @@ 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
-Requires:      %{name} = %{version}
+Requires:      %{name} = %{version}-%{release}
 Obsoletes:     wmsound-devel
 
 %description devel
@@ -71,7 +69,7 @@ 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}
+Requires:      %{name}-devel = %{version}-%{release}
 
 %description static
 WSoundServer static libraries.
@@ -89,7 +87,6 @@ Biblioteki statyczne dla WSoundServer.
 %patch2 -p1
 
 %build
-rm -f missing
 %{__libtoolize}
 %{__aclocal}
 %{__autoconf}
@@ -100,7 +97,7 @@ rm -f missing
 
 %install
 rm -rf $RPM_BUILD_ROOT
-install -d $RPM_BUILD_ROOT{%{_applnkdir}/Utilities,%{_pixmapsdir}} \
+install -d $RPM_BUILD_ROOT{%{_desktopdir},%{_pixmapsdir}} \
        $RPM_BUILD_ROOT%{_sysconfdir}/WindowMaker
 
 %{__make} install \
@@ -108,7 +105,7 @@ install -d $RPM_BUILD_ROOT{%{_applnkdir}/Utilities,%{_pixmapsdir}} \
 
 install src/wsoundserver.xpm $RPM_BUILD_ROOT%{_pixmapsdir}
 
-install %{SOURCE1} $RPM_BUILD_ROOT%{_applnkdir}/Utilities
+install %{SOURCE1} $RPM_BUILD_ROOT%{_desktopdir}
 install %{SOURCE2} $RPM_BUILD_ROOT%{_sysconfdir}/WindowMaker/WMSound
 
 %clean
@@ -124,10 +121,10 @@ rm -rf $RPM_BUILD_ROOT
 %attr(755,root,root) %{_bindir}/setsoundset
 %attr(755,root,root) %{_bindir}/wsound*
 %attr(755,root,root) %{_libdir}/lib*.so.*.*
-%config(noreplace) %verify(not size mtime md5) %{_sysconfdir}/WindowMaker/WMSound
+%config(noreplace) %verify(not md5 mtime size) %{_sysconfdir}/WindowMaker/WMSound
 
 %{_pixmapsdir}/wsoundserver.xpm
-%{_applnkdir}/Utilities/%{name}.desktop
+%{_desktopdir}/%{name}.desktop
 
 %{_mandir}/man1/*
 
This page took 0.146199 seconds and 4 git commands to generate.