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: ftp://shadowmere.student.utwente.nl/pub/WindowMaker/%{name}-%{version}.tar.bz2
11 Source1: %{name}.desktop
12 Source2: %{name}-config
13 Source3: %{name}-soundset
14 Source4: wmsdefault.tar.gz
15 Patch0: %{name}-WINGs.patch
16 Patch1: %{name}-rm_unknown_audiofile_compression.patch
17 Icon: WSoundServer.xpm
18 BuildRequires: libPropList-devel >= 0.8.3
19 BuildRequires: libdockapp-devel
20 BuildRequires: audiofile-devel >= 0.1.9
21 BuildRequires: XFree86-devel
22 BuildRequires: WindowMaker-devel
23 BuildRequires: autoconf
24 BuildRequires: automake
25 BuildRequires: libtool
26 Requires: WindowMaker >= 0.60.0
27 BuildRoot: %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
29 Obsoletes: WSoundServer-data
31 %define _prefix /usr/X11R6
32 %define _mandir %{_prefix}/man
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(no): 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}
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 no
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}
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.
91 libtoolize --copy --force
100 rm -rf $RPM_BUILD_ROOT
101 install -d $RPM_BUILD_ROOT%{_applnkdir}/Utilities \
102 $RPM_BUILD_ROOT%{_sysconfdir}/WindowMaker \
103 $RPM_BUILD_ROOT%{_datadir}/{pixmaps,WindowMaker/{SoundSets,Sounds}}
105 %{__make} install DESTDIR=$RPM_BUILD_ROOT
107 install src/wsoundserver.xpm $RPM_BUILD_ROOT%{_datadir}/pixmaps
109 install %{SOURCE1} $RPM_BUILD_ROOT%{_applnkdir}/Utilities
110 install %{SOURCE2} $RPM_BUILD_ROOT%{_sysconfdir}/WindowMaker/WMSound
111 install %{SOURCE3} $RPM_BUILD_ROOT%{_datadir}/WindowMaker/SoundSets/Default
112 install Sounds/*.wav $RPM_BUILD_ROOT%{_datadir}/WindowMaker/Sounds
114 gzip -9nf README ChangeLog AUTHORS
116 %post -p /sbin/ldconfig
117 %postun -p /sbin/ldconfig
120 rm -rf $RPM_BUILD_ROOT
123 %defattr(644,root,root,755)
124 %attr(755,root,root) %{_bindir}/getsoundset
125 %attr(755,root,root) %{_bindir}/setsoundset
126 %attr(755,root,root) %{_bindir}/wsound*
127 %attr(755,root,root) %{_libdir}/lib*.so.*.*
128 %dir %{_datadir}/WindowMaker/Sounds
129 %dir %{_datadir}/WindowMaker/SoundSets
130 %{_datadir}/WindowMaker/Sounds/*.wav
131 %config %verify(not size mtime md5) %{_datadir}/WindowMaker/SoundSets/Default
132 %config %verify(not size mtime md5) %{_sysconfdir}/WindowMaker/WMSound
134 %{_pixmapsdir}/wsoundserver.xpm
135 %{_applnkdir}/Utilities/%{name}.desktop
140 %defattr(644,root,root,755)
142 %attr(755,root,root) %{_bindir}/get-wsound-flags
143 %attr(755,root,root) %{_libdir}/lib*.so
144 %attr(755,root,root) %{_libdir}/lib*.la
148 %defattr(644,root,root,755)