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 URL: http://largo.windowmaker.org/files.php#WSoundServer
19 BuildRequires: WindowMaker-devel
20 BuildRequires: XFree86-devel
21 BuildRequires: audiofile-devel >= 0.1.9
22 BuildRequires: autoconf
23 BuildRequires: automake
24 BuildRequires: libPropList-devel >= 0.8.3
25 BuildRequires: libdockapp-devel
26 BuildRequires: libtool
27 Requires: WindowMaker >= 0.60.0
28 Requires: wmsound-data
29 Provides: wmsoundserver
31 BuildRoot: %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
33 %define _sysconfdir /etc/X11
36 WSoundServer is the sound server for WindowMaker.
39 WSoundServer est le serveur de son pour Window Maker.
42 WSoundServer er en lydtjener for Window Maker.
45 WSoundServer jest serwerem d¼wiêku dla WindowMakera.
48 Summary: WSoundServer libraries and headers
49 Summary(nb): Utviklings bibliotek for WSoundServer
50 Summary(fr): Bibliothèques et includes pour WSoundServer
51 Summary(pl): Biblioteki i pliki nag³ówkowe dla WSoundServer
52 Group: X11/Development/Libraries
53 Requires: %{name} = %{version}-%{release}
54 Obsoletes: wmsound-devel
57 WSoundServer libraries and headers.
59 %description devel -l fr
60 Bibliothèques et includes pour WSoundServer.
62 %description devel -l nb
63 WSoundServer biblioteket samt «headerfilen».
65 %description devel -l pl
66 Biblioteki i pliki nag³ówkowe dla WSoundServer.
69 Summary: WSoundServer static libraries
70 Summary(fr): Bibliothèques statiques pour WSoundServer
71 Summary(pl): Biblioteki statyczne dla WSoundServer
72 Group: X11/Development/Libraries
73 Requires: %{name}-devel = %{version}-%{release}
76 WSoundServer static libraries.
78 %description static -l fr
79 Bibliothèques statiques pour WSoundServer.
81 %description static -l pl
82 Biblioteki statyczne dla WSoundServer.
100 rm -rf $RPM_BUILD_ROOT
101 install -d $RPM_BUILD_ROOT{%{_desktopdir},%{_pixmapsdir}} \
102 $RPM_BUILD_ROOT%{_sysconfdir}/WindowMaker
105 DESTDIR=$RPM_BUILD_ROOT
107 install src/wsoundserver.xpm $RPM_BUILD_ROOT%{_pixmapsdir}
109 install %{SOURCE1} $RPM_BUILD_ROOT%{_desktopdir}
110 install %{SOURCE2} $RPM_BUILD_ROOT%{_sysconfdir}/WindowMaker/WMSound
113 rm -rf $RPM_BUILD_ROOT
115 %post -p /sbin/ldconfig
116 %postun -p /sbin/ldconfig
119 %defattr(644,root,root,755)
120 %doc AUTHORS ChangeLog README
121 %attr(755,root,root) %{_bindir}/getsoundset
122 %attr(755,root,root) %{_bindir}/setsoundset
123 %attr(755,root,root) %{_bindir}/wsound*
124 %attr(755,root,root) %{_libdir}/lib*.so.*.*
125 %config(noreplace) %verify(not size mtime md5) %{_sysconfdir}/WindowMaker/WMSound
127 %{_pixmapsdir}/wsoundserver.xpm
128 %{_desktopdir}/%{name}.desktop
133 %defattr(644,root,root,755)
134 %attr(755,root,root) %{_bindir}/get-wsound-flags
135 %attr(755,root,root) %{_libdir}/lib*.so
140 %defattr(644,root,root,755)