1 Summary: WindowMaker sound server
2 Summary(fr): Serveur de son de Window Maker
3 Summary(no): 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 _prefix /usr/X11R6
33 %define _mandir %{_prefix}/man
34 %define _sysconfdir /etc/X11
37 WSoundServer is the sound server for WindowMaker.
40 WSoundServer est le serveur de son pour Window Maker.
43 WSoundServer er en lydtjener for Window Maker.
46 WSoundServer jest serwerem d¼wiêku dla WindowMakera.
49 Summary: WSoundServer libraries and headers
50 Summary(no): Utviklings bibliotek for WSoundServer
51 Summary(fr): Bibliothèques et includes pour WSoundServer
52 Summary(pl): Biblioteki i pliki nag³ówkowe dla WSoundServer
53 Group: X11/Development/Libraries
54 Requires: %{name} = %{version}
55 Obsoletes: wmsound-devel
58 WSoundServer libraries and headers.
60 %description devel -l fr
61 Bibliothèques et includes pour WSoundServer.
63 %description devel -l no
64 WSoundServer biblioteket samt «headerfilen».
66 %description devel -l pl
67 Biblioteki i pliki nag³ówkowe dla WSoundServer.
70 Summary: WSoundServer static libraries
71 Summary(fr): Bibliothèques statiques pour WSoundServer
72 Summary(pl): Biblioteki statyczne dla WSoundServer
73 Group: X11/Development/Libraries
74 Requires: %{name}-devel = %{version}
77 WSoundServer static libraries.
79 %description static -l fr
80 Bibliothèques statiques pour WSoundServer.
82 %description static -l pl
83 Biblioteki statyczne dla WSoundServer.
102 rm -rf $RPM_BUILD_ROOT
103 install -d $RPM_BUILD_ROOT{%{_applnkdir}/Utilities,%{_pixmapsdir}} \
104 $RPM_BUILD_ROOT%{_sysconfdir}/WindowMaker
106 %{__make} install DESTDIR=$RPM_BUILD_ROOT
108 install src/wsoundserver.xpm $RPM_BUILD_ROOT%{_pixmapsdir}
110 install %{SOURCE1} $RPM_BUILD_ROOT%{_applnkdir}/Utilities
111 install %{SOURCE2} $RPM_BUILD_ROOT%{_sysconfdir}/WindowMaker/WMSound
114 rm -rf $RPM_BUILD_ROOT
116 %post -p /sbin/ldconfig
117 %postun -p /sbin/ldconfig
120 %defattr(644,root,root,755)
121 %doc AUTHORS ChangeLog README
122 %attr(755,root,root) %{_bindir}/getsoundset
123 %attr(755,root,root) %{_bindir}/setsoundset
124 %attr(755,root,root) %{_bindir}/wsound*
125 %attr(755,root,root) %{_libdir}/lib*.so.*.*
126 %config(noreplace) %verify(not size mtime md5) %{_sysconfdir}/WindowMaker/WMSound
128 %{_pixmapsdir}/wsoundserver.xpm
129 %{_applnkdir}/Utilities/%{name}.desktop
134 %defattr(644,root,root,755)
135 %attr(755,root,root) %{_bindir}/get-wsound-flags
136 %attr(755,root,root) %{_libdir}/lib*.so
141 %defattr(644,root,root,755)