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
8 Group: X11/Window Managers/Tools
9 Group(pl): X11/Zarz±dcy Okien/Narzêdzia
11 Source0: ftp://shadowmere.student.utwente.nl/pub/WindowMaker/%{name}-%{version}.tar.bz2
12 Source1: WSoundServer.desktop
13 Source2: WSoundServer-config
14 Source3: WSoundServer-soundset
15 Source4: wmsdefault.tar.gz
16 Icon: WSoundServer.xpm
17 BuildRequires: libPropList-devel >= 0.8.3
18 BuildRequires: docklib
19 BuildRequires: audiofile-devel >= 0.1.9
20 BuildRequires: xpm-devel
21 BuildRequires: XFree86-devel
22 BuildRequires: WindowMaker-devel
23 Requires: WindowMaker >= 0.60.0
24 Requires: WSoundServer-data
26 BuildRoot: /tmp/%{name}-%{version}-root
28 %define _prefix /usr/X11R6
29 %define _mandir %{_prefix}/man
30 %define _sysconfdir /etc/X11
33 WSoundServer is the sound server for WindowMaker.
36 WSoundServer est le serveur de son pour Window Maker.
39 WSoundServer er en lydtjener for Window Maker.
42 WSoundServer jest serwerem d¼wiêku dla WindowMakera.
45 Summary: WSoundServer data
46 Summary(fr): Données de WSoundServer
47 Summary(no): Data til WSoundServer
48 Summary(pl): Pliki z danymi dla WSoundServer
49 Group: X11/Window Managers/Tools
50 Group(pl): X11/Zarz±dcy Okien/Narzêdzia
51 Obsoletes: wmsound-data
54 The standard WSoundServer data.
56 %description data -l fr
57 Les données standard de WSoundServer.
59 %description data -l no
60 Standard datafiler til WSoundServer.
62 %description data -l pl
63 Standardowe pliki d¼wiêkowe dla WSoundServer.
66 Summary: WSoundServer libraries and headers
67 Summary(no): Utviklings bibliotek for WSoundServer
68 Summary(fr): Bibliothèques et includes pour WSoundServer
69 Summary(pl): Biblioteki i pliki nag³ówkowe dla WSoundServer
70 Group: X11/Development/Libraries
71 Group(pl): X11/Programowanie/Biblioteki
72 Requires: %{name} = %{version}
75 WSoundServer libraries and headers.
77 %description devel -l fr
78 Bibliothèques et includes pour WSoundServer.
80 %description devel -l no
81 WSoundServer biblioteket samt «headerfilen».
83 %description devel -l pl
84 Biblioteki i pliki nag³ówkowe dla WSoundServer.
87 Summary: WSoundServer static libraries
88 Summary(fr): Bibliothèques statiques pour WSoundServer
89 Summary(pl): Biblioteki statyczne dla WSoundServer
90 Group: X11/Development/Libraries
91 Group(pl): X11/Programowanie/Biblioteki
92 Requires: %{name}-devel = %{version}
95 WSoundServer static libraries.
97 %description static -l fr
98 Bibliothèques statiques pour WSoundServer.
100 %description static -l pl
101 Biblioteki statyczne dla WSoundServer.
107 LDFLAGS="-s"; export LDFLAGS
113 rm -rf $RPM_BUILD_ROOT
114 install -d $RPM_BUILD_ROOT%{_datadir}/{pixmaps,applnk/Utilities} \
115 $RPM_BUILD_ROOT%{_sysconfdir}/WindowMaker \
116 $RPM_BUILD_ROOT%{_datadir}/WindowMaker/{SoundSets,Sounds}
118 make install DESTDIR=$RPM_BUILD_ROOT
120 install src/wsoundserver.xpm $RPM_BUILD_ROOT%{_datadir}/pixmaps
122 install %{SOURCE1} $RPM_BUILD_ROOT%{_datadir}/applnk/Utilities
123 install %{SOURCE2} $RPM_BUILD_ROOT%{_sysconfdir}/WindowMaker/WMSound
124 install %{SOURCE3} $RPM_BUILD_ROOT%{_datadir}/WindowMaker/SoundSets/Default
125 install Sounds/*.wav $RPM_BUILD_ROOT%{_datadir}/WindowMaker/Sounds
127 strip --strip-unneeded $RPM_BUILD_ROOT%{_libdir}/lib*.so.*.*
129 gzip -9nf $RPM_BUILD_ROOT%{_mandir}/man1/* \
130 README ChangeLog AUTHORS
132 %post -p /sbin/ldconfig
133 %postun -p /sbin/ldconfig
136 rm -rf $RPM_BUILD_ROOT
139 %defattr(644,root,root,755)
140 %doc {README,ChangeLog,AUTHORS}.gz
141 %attr(755,root,root) %{_bindir}/getsoundset
142 %attr(755,root,root) %{_bindir}/setsoundset
143 %attr(755,root,root) %{_bindir}/wsound*
144 %attr(755,root,root) %{_libdir}/lib*.so.*.*
147 %{_datadir}/pixmaps/wsoundserver.xpm
148 %{_datadir}/applnk/Utilities/WSoundServer.desktop
153 %defattr(644,root,root,755)
154 %dir %{_datadir}/WindowMaker/Sounds
155 %dir %{_datadir}/WindowMaker/SoundSets
156 %{_datadir}/WindowMaker/Sounds/*.wav
157 %config %verify(not size mtime md5) %{_datadir}/WindowMaker/SoundSets/Default
158 %config %verify(not size mtime md5) %{_sysconfdir}/WindowMaker/WMSound
161 %defattr(644,root,root,755)
162 %attr(755,root,root) %{_bindir}/get-wsound-flags
163 %attr(755,root,root) %{_libdir}/lib*.so
164 %attr(755,root,root) %{_libdir}/lib*.la
168 %defattr(644,root,root,755)