1 Summary: WindowMaker sound server
2 Summary(fr): Serveur de son de Window Maker
3 Summary(nb): Window Maker lydtjener
4 Summary(pl): Serwer d¼wiêku dla WindowMakera
9 Group: X11/Window Managers/Tools
10 Source0: http://largo.windowmaker.org/files/%{name}-%{version}.tar.bz2
11 # Source0-md5: 222dc783c0d77700259ec93f1c2255ac
12 Source1: %{name}.desktop
13 Source2: %{name}-config
14 Patch0: %{name}-WINGs.patch
15 Patch1: %{name}-rm_unknown_audiofile_compression.patch
16 Patch2: %{name}-acfix.patch
17 Icon: WSoundServer.xpm
18 BuildRequires: WindowMaker-devel
19 BuildRequires: XFree86-devel
20 BuildRequires: audiofile-devel >= 0.1.9
21 BuildRequires: autoconf
22 BuildRequires: automake
23 BuildRequires: libPropList-devel >= 0.8.3
24 BuildRequires: libdockapp-devel
25 BuildRequires: libtool
26 Requires: WindowMaker >= 0.60.0
27 Requires: wmsound-data
28 Provides: wmsoundserver
29 BuildRoot: %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
32 %define _sysconfdir /etc/X11
35 WSoundServer is the sound server for WindowMaker.
38 WSoundServer est le serveur de son pour Window Maker.
41 WSoundServer er en lydtjener for Window Maker.
44 WSoundServer jest serwerem d¼wiêku dla WindowMakera.
47 Summary: WSoundServer libraries and headers
48 Summary(nb): Utviklings bibliotek for WSoundServer
49 Summary(fr): Bibliothèques et includes pour WSoundServer
50 Summary(pl): Biblioteki i pliki nag³ówkowe dla WSoundServer
51 Group: X11/Development/Libraries
52 Requires: %{name} = %{version}-%{release}
53 Obsoletes: wmsound-devel
56 WSoundServer libraries and headers.
58 %description devel -l fr
59 Bibliothèques et includes pour WSoundServer.
61 %description devel -l nb
62 WSoundServer biblioteket samt «headerfilen».
64 %description devel -l pl
65 Biblioteki i pliki nag³ówkowe dla WSoundServer.
68 Summary: WSoundServer static libraries
69 Summary(fr): Bibliothèques statiques pour WSoundServer
70 Summary(pl): Biblioteki statyczne dla WSoundServer
71 Group: X11/Development/Libraries
72 Requires: %{name}-devel = %{version}-%{release}
75 WSoundServer static libraries.
77 %description static -l fr
78 Bibliothèques statiques pour WSoundServer.
80 %description static -l pl
81 Biblioteki statyczne dla WSoundServer.
99 rm -rf $RPM_BUILD_ROOT
100 install -d $RPM_BUILD_ROOT{%{_desktopdir},%{_pixmapsdir}} \
101 $RPM_BUILD_ROOT%{_sysconfdir}/WindowMaker
104 DESTDIR=$RPM_BUILD_ROOT
106 install src/wsoundserver.xpm $RPM_BUILD_ROOT%{_pixmapsdir}
108 install %{SOURCE1} $RPM_BUILD_ROOT%{_desktopdir}
109 install %{SOURCE2} $RPM_BUILD_ROOT%{_sysconfdir}/WindowMaker/WMSound
112 rm -rf $RPM_BUILD_ROOT
114 %post -p /sbin/ldconfig
115 %postun -p /sbin/ldconfig
118 %defattr(644,root,root,755)
119 %doc AUTHORS ChangeLog README
120 %attr(755,root,root) %{_bindir}/getsoundset
121 %attr(755,root,root) %{_bindir}/setsoundset
122 %attr(755,root,root) %{_bindir}/wsound*
123 %attr(755,root,root) %{_libdir}/lib*.so.*.*
124 %config(noreplace) %verify(not size mtime md5) %{_sysconfdir}/WindowMaker/WMSound
126 %{_pixmapsdir}/wsoundserver.xpm
127 %{_desktopdir}/%{name}.desktop
132 %defattr(644,root,root,755)
133 %attr(755,root,root) %{_bindir}/get-wsound-flags
134 %attr(755,root,root) %{_libdir}/lib*.so
139 %defattr(644,root,root,755)