1 Summary: WindowMaker sound server
2 Summary(fr.UTF-8): Serveur de son de Window Maker
3 Summary(nb.UTF-8): Window Maker lydtjener
4 Summary(pl.UTF-8): Serwer dźwięku dla WindowMakera
9 Group: X11/Window Managers/Tools
10 Source0: http://largo.windowmaker.org/files/%{name}-%{version}.tar.gz
11 # Source0-md5: cfc8d0bdf97e7b165790cf266d40670e
12 Source1: %{name}.desktop
13 Source2: %{name}-config
14 Patch0: %{name}-libdockapp.patch
15 Patch1: %{name}-rm_unknown_audiofile_compression.patch
16 Patch2: %{name}-acfix.patch
17 Patch3: %{name}-asneeded.patch
18 URL: http://largo.windowmaker.org/files.php#WSoundServer
19 BuildRequires: WindowMaker-devel
20 BuildRequires: audiofile-devel >= 0.1.9
21 BuildRequires: autoconf
22 BuildRequires: automake
23 BuildRequires: esound-devel
24 BuildRequires: libPropList-devel >= 0.8.3
25 BuildRequires: libdockapp-devel
26 BuildRequires: libtool
27 BuildRequires: xorg-proto-xproto-devel
28 Requires: WindowMaker >= 0.60.0
29 Provides: wmsoundserver
30 Obsoletes: wmsoundserver
31 BuildRoot: %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
33 %define _sysconfdir /etc/X11
36 WSoundServer is the sound server for WindowMaker.
38 %description -l fr.UTF-8
39 WSoundServer est le serveur de son pour Window Maker.
41 %description -l nb.UTF-8
42 WSoundServer er en lydtjener for Window Maker.
44 %description -l pl.UTF-8
45 WSoundServer jest serwerem dźwięku dla WindowMakera.
48 Summary: WSoundServer libraries and headers
49 Summary(nb.UTF-8): Utviklings bibliotek for WSoundServer
50 Summary(fr.UTF-8): Bibliothèques et includes pour WSoundServer
51 Summary(pl.UTF-8): 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.UTF-8
60 Bibliothèques et includes pour WSoundServer.
62 %description devel -l nb.UTF-8
63 WSoundServer biblioteket samt «headerfilen».
65 %description devel -l pl.UTF-8
66 Biblioteki i pliki nagłówkowe dla WSoundServer.
69 Summary: WSoundServer static libraries
70 Summary(fr.UTF-8): Bibliothèques statiques pour WSoundServer
71 Summary(pl.UTF-8): Biblioteki statyczne dla WSoundServer
72 Group: X11/Development/Libraries
73 Requires: %{name}-devel = %{version}-%{release}
76 WSoundServer static libraries.
78 %description static -l fr.UTF-8
79 Bibliothèques statiques pour WSoundServer.
81 %description static -l pl.UTF-8
82 Biblioteki statyczne dla WSoundServer.
101 rm -rf $RPM_BUILD_ROOT
102 install -d $RPM_BUILD_ROOT{%{_desktopdir},%{_pixmapsdir}} \
103 $RPM_BUILD_ROOT%{_sysconfdir}/WindowMaker
106 DESTDIR=$RPM_BUILD_ROOT
108 install src/wsoundserver.xpm $RPM_BUILD_ROOT%{_pixmapsdir}
110 install %{SOURCE1} $RPM_BUILD_ROOT%{_desktopdir}
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 md5 mtime size) %{_sysconfdir}/WindowMaker/WMSound
128 %{_pixmapsdir}/wsoundserver.xpm
129 %{_desktopdir}/%{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)