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: libdockapp-devel
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
31 %define _applnkdir %{_datadir}/applnk
34 WSoundServer is the sound server for WindowMaker.
37 WSoundServer est le serveur de son pour Window Maker.
40 WSoundServer er en lydtjener for Window Maker.
43 WSoundServer jest serwerem d¼wiêku dla WindowMakera.
46 Summary: WSoundServer data
47 Summary(fr): Données de WSoundServer
48 Summary(no): Data til WSoundServer
49 Summary(pl): Pliki z danymi dla WSoundServer
50 Group: X11/Window Managers/Tools
51 Group(pl): X11/Zarz±dcy Okien/Narzêdzia
52 Obsoletes: wmsound-data
55 The standard WSoundServer data.
57 %description data -l fr
58 Les données standard de WSoundServer.
60 %description data -l no
61 Standard datafiler til WSoundServer.
63 %description data -l pl
64 Standardowe pliki d¼wiêkowe dla WSoundServer.
67 Summary: WSoundServer libraries and headers
68 Summary(no): Utviklings bibliotek for WSoundServer
69 Summary(fr): Bibliothèques et includes pour WSoundServer
70 Summary(pl): Biblioteki i pliki nag³ówkowe dla WSoundServer
71 Group: X11/Development/Libraries
72 Group(pl): X11/Programowanie/Biblioteki
73 Requires: %{name} = %{version}
74 Obsoletes: wmsound-devel
77 WSoundServer libraries and headers.
79 %description devel -l fr
80 Bibliothèques et includes pour WSoundServer.
82 %description devel -l no
83 WSoundServer biblioteket samt «headerfilen».
85 %description devel -l pl
86 Biblioteki i pliki nag³ówkowe dla WSoundServer.
89 Summary: WSoundServer static libraries
90 Summary(fr): Bibliothèques statiques pour WSoundServer
91 Summary(pl): Biblioteki statyczne dla WSoundServer
92 Group: X11/Development/Libraries
93 Group(pl): X11/Programowanie/Biblioteki
94 Requires: %{name}-devel = %{version}
97 WSoundServer static libraries.
99 %description static -l fr
100 Bibliothèques statiques pour WSoundServer.
102 %description static -l pl
103 Biblioteki statyczne dla WSoundServer.
109 LDFLAGS="-s"; export LDFLAGS
115 rm -rf $RPM_BUILD_ROOT
116 install -d $RPM_BUILD_ROOT%{_applnkdir}/Utilities \
117 $RPM_BUILD_ROOT%{_sysconfdir}/WindowMaker \
118 $RPM_BUILD_ROOT%{_datadir}/{pixmaps,WindowMaker/{SoundSets,Sounds}}
120 make install DESTDIR=$RPM_BUILD_ROOT
122 install src/wsoundserver.xpm $RPM_BUILD_ROOT%{_datadir}/pixmaps
124 install %{SOURCE1} $RPM_BUILD_ROOT%{_applnkdir}/Utilities
125 install %{SOURCE2} $RPM_BUILD_ROOT%{_sysconfdir}/WindowMaker/WMSound
126 install %{SOURCE3} $RPM_BUILD_ROOT%{_datadir}/WindowMaker/SoundSets/Default
127 install Sounds/*.wav $RPM_BUILD_ROOT%{_datadir}/WindowMaker/Sounds
129 strip --strip-unneeded $RPM_BUILD_ROOT%{_libdir}/lib*.so.*.*
131 gzip -9nf $RPM_BUILD_ROOT%{_mandir}/man1/* \
132 README ChangeLog AUTHORS
134 %post -p /sbin/ldconfig
135 %postun -p /sbin/ldconfig
138 rm -rf $RPM_BUILD_ROOT
141 %defattr(644,root,root,755)
142 %doc {README,ChangeLog,AUTHORS}.gz
143 %attr(755,root,root) %{_bindir}/getsoundset
144 %attr(755,root,root) %{_bindir}/setsoundset
145 %attr(755,root,root) %{_bindir}/wsound*
146 %attr(755,root,root) %{_libdir}/lib*.so.*.*
149 %{_datadir}/pixmaps/wsoundserver.xpm
150 %{_applnkdir}/Utilities/%{name}.desktop
155 %defattr(644,root,root,755)
156 %dir %{_datadir}/WindowMaker/Sounds
157 %dir %{_datadir}/WindowMaker/SoundSets
158 %{_datadir}/WindowMaker/Sounds/*.wav
159 %config %verify(not size mtime md5) %{_datadir}/WindowMaker/SoundSets/Default
160 %config %verify(not size mtime md5) %{_sysconfdir}/WindowMaker/WMSound
163 %defattr(644,root,root,755)
164 %attr(755,root,root) %{_bindir}/get-wsound-flags
165 %attr(755,root,root) %{_libdir}/lib*.so
166 %attr(755,root,root) %{_libdir}/lib*.la
170 %defattr(644,root,root,755)