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 Group(de): X11/Fenstermanager/Werkzeuge
11 Group(pl): X11/Zarz±dcy Okien/Narzêdzia
12 Source0: ftp://shadowmere.student.utwente.nl/pub/WindowMaker/%{name}-%{version}.tar.bz2
13 Source1: %{name}.desktop
14 Source2: %{name}-config
15 Source3: %{name}-soundset
16 Source4: wmsdefault.tar.gz
17 Patch0: %{name}-WINGs.patch
18 Patch1: %{name}-rm_unknown_audiofile_compression.patch
19 Icon: WSoundServer.xpm
20 BuildRequires: libPropList-devel >= 0.8.3
21 BuildRequires: libdockapp-devel
22 BuildRequires: audiofile-devel >= 0.1.9
23 BuildRequires: XFree86-devel
24 BuildRequires: WindowMaker-devel
25 BuildRequires: autoconf
26 BuildRequires: automake
27 BuildRequires: libtool
28 Requires: WindowMaker >= 0.60.0
29 BuildRoot: %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
31 Obsoletes: WSoundServer-data
33 %define _prefix /usr/X11R6
34 %define _mandir %{_prefix}/man
35 %define _sysconfdir /etc/X11
38 WSoundServer is the sound server for WindowMaker.
41 WSoundServer est le serveur de son pour Window Maker.
44 WSoundServer er en lydtjener for Window Maker.
47 WSoundServer jest serwerem d¼wiêku dla WindowMakera.
50 Summary: WSoundServer libraries and headers
51 Summary(no): Utviklings bibliotek for WSoundServer
52 Summary(fr): Bibliothèques et includes pour WSoundServer
53 Summary(pl): Biblioteki i pliki nag³ówkowe dla WSoundServer
54 Group: X11/Development/Libraries
55 Group(de): X11/Entwicklung/Libraries
56 Group(pl): X11/Programowanie/Biblioteki
57 Requires: %{name} = %{version}
58 Obsoletes: wmsound-devel
61 WSoundServer libraries and headers.
63 %description devel -l fr
64 Bibliothèques et includes pour WSoundServer.
66 %description devel -l no
67 WSoundServer biblioteket samt «headerfilen».
69 %description devel -l pl
70 Biblioteki i pliki nag³ówkowe dla WSoundServer.
73 Summary: WSoundServer static libraries
74 Summary(fr): Bibliothèques statiques pour WSoundServer
75 Summary(pl): Biblioteki statyczne dla WSoundServer
76 Group: X11/Development/Libraries
77 Group(de): X11/Entwicklung/Libraries
78 Group(pl): X11/Programowanie/Biblioteki
79 Requires: %{name}-devel = %{version}
82 WSoundServer static libraries.
84 %description static -l fr
85 Bibliothèques statiques pour WSoundServer.
87 %description static -l pl
88 Biblioteki statyczne dla WSoundServer.
97 libtoolize --copy --force
106 rm -rf $RPM_BUILD_ROOT
107 install -d $RPM_BUILD_ROOT%{_applnkdir}/Utilities \
108 $RPM_BUILD_ROOT%{_sysconfdir}/WindowMaker \
109 $RPM_BUILD_ROOT%{_datadir}/{pixmaps,WindowMaker/{SoundSets,Sounds}}
111 %{__make} install DESTDIR=$RPM_BUILD_ROOT
113 install src/wsoundserver.xpm $RPM_BUILD_ROOT%{_datadir}/pixmaps
115 install %{SOURCE1} $RPM_BUILD_ROOT%{_applnkdir}/Utilities
116 install %{SOURCE2} $RPM_BUILD_ROOT%{_sysconfdir}/WindowMaker/WMSound
117 install %{SOURCE3} $RPM_BUILD_ROOT%{_datadir}/WindowMaker/SoundSets/Default
118 install Sounds/*.wav $RPM_BUILD_ROOT%{_datadir}/WindowMaker/Sounds
120 gzip -9nf README ChangeLog AUTHORS
122 %post -p /sbin/ldconfig
123 %postun -p /sbin/ldconfig
126 rm -rf $RPM_BUILD_ROOT
129 %defattr(644,root,root,755)
130 %attr(755,root,root) %{_bindir}/getsoundset
131 %attr(755,root,root) %{_bindir}/setsoundset
132 %attr(755,root,root) %{_bindir}/wsound*
133 %attr(755,root,root) %{_libdir}/lib*.so.*.*
134 %dir %{_datadir}/WindowMaker/Sounds
135 %dir %{_datadir}/WindowMaker/SoundSets
136 %{_datadir}/WindowMaker/Sounds/*.wav
137 %config %verify(not size mtime md5) %{_datadir}/WindowMaker/SoundSets/Default
138 %config %verify(not size mtime md5) %{_sysconfdir}/WindowMaker/WMSound
140 %{_pixmapsdir}/wsoundserver.xpm
141 %{_applnkdir}/Utilities/%{name}.desktop
146 %defattr(644,root,root,755)
148 %attr(755,root,root) %{_bindir}/get-wsound-flags
149 %attr(755,root,root) %{_libdir}/lib*.so
150 %attr(755,root,root) %{_libdir}/lib*.la
154 %defattr(644,root,root,755)