]>
Commit | Line | Data |
---|---|---|
87fe0d72 | 1 | Summary: WindowMaker sound server |
ae42fbb6 ER |
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 | |
5f951e7a | 5 | Name: WSoundServer |
6fd43a91 | 6 | Version: 0.4.1 |
7cc7279d | 7 | Release: 5 |
cc11e52d | 8 | License: GPL |
5f951e7a | 9 | Group: X11/Window Managers/Tools |
6fd43a91 | 10 | Source0: http://largo.windowmaker.org/files/%{name}-%{version}.tar.gz |
11 | # Source0-md5: cfc8d0bdf97e7b165790cf266d40670e | |
cc11e52d | 12 | Source1: %{name}.desktop |
13 | Source2: %{name}-config | |
6fd43a91 | 14 | Patch0: %{name}-libdockapp.patch |
cc11e52d | 15 | Patch1: %{name}-rm_unknown_audiofile_compression.patch |
74f7c3e4 | 16 | Patch2: %{name}-acfix.patch |
a999dec3 | 17 | Patch3: %{name}-asneeded.patch |
0432bc98 | 18 | URL: http://largo.windowmaker.org/files.php#WSoundServer |
3352d770 | 19 | BuildRequires: WindowMaker-devel |
74f7c3e4 | 20 | BuildRequires: audiofile-devel >= 0.1.9 |
519cda61 JB |
21 | BuildRequires: autoconf |
22 | BuildRequires: automake | |
a999dec3 | 23 | BuildRequires: esound-devel |
74f7c3e4 JB |
24 | BuildRequires: libPropList-devel >= 0.8.3 |
25 | BuildRequires: libdockapp-devel | |
519cda61 | 26 | BuildRequires: libtool |
67f5fcf4 | 27 | BuildRequires: xorg-proto-xproto-devel |
5f951e7a | 28 | Requires: WindowMaker >= 0.60.0 |
74f7c3e4 | 29 | Provides: wmsoundserver |
6fd43a91 | 30 | Obsoletes: wmsoundserver |
0432bc98 | 31 | BuildRoot: %{tmpdir}/%{name}-%{version}-root-%(id -u -n) |
5f951e7a | 32 | |
049f8dc7 | 33 | %define _sysconfdir /etc/X11 |
5f951e7a | 34 | |
35 | %description | |
36 | WSoundServer is the sound server for WindowMaker. | |
37 | ||
9c673db2 | 38 | %description -l fr.UTF-8 |
049f8dc7 | 39 | WSoundServer est le serveur de son pour Window Maker. |
40 | ||
9c673db2 | 41 | %description -l nb.UTF-8 |
049f8dc7 | 42 | WSoundServer er en lydtjener for Window Maker. |
43 | ||
9c673db2 JR |
44 | %description -l pl.UTF-8 |
45 | WSoundServer jest serwerem dźwięku dla WindowMakera. | |
5f951e7a | 46 | |
47 | %package devel | |
87fe0d72 | 48 | Summary: WSoundServer libraries and headers |
ae42fbb6 ER |
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 | |
87fe0d72 | 52 | Group: X11/Development/Libraries |
b4396da3 | 53 | Requires: %{name} = %{version}-%{release} |
97d778b5 | 54 | Obsoletes: wmsound-devel |
5f951e7a | 55 | |
56 | %description devel | |
3e0b2246 | 57 | WSoundServer libraries and headers. |
5f951e7a | 58 | |
9c673db2 JR |
59 | %description devel -l fr.UTF-8 |
60 | Bibliothèques et includes pour WSoundServer. | |
049f8dc7 | 61 | |
9c673db2 JR |
62 | %description devel -l nb.UTF-8 |
63 | WSoundServer biblioteket samt «headerfilen». | |
049f8dc7 | 64 | |
9c673db2 JR |
65 | %description devel -l pl.UTF-8 |
66 | Biblioteki i pliki nagłówkowe dla WSoundServer. | |
5f951e7a | 67 | |
68 | %package static | |
87fe0d72 | 69 | Summary: WSoundServer static libraries |
ae42fbb6 ER |
70 | Summary(fr.UTF-8): Bibliothèques statiques pour WSoundServer |
71 | Summary(pl.UTF-8): Biblioteki statyczne dla WSoundServer | |
87fe0d72 | 72 | Group: X11/Development/Libraries |
b4396da3 | 73 | Requires: %{name}-devel = %{version}-%{release} |
5f951e7a | 74 | |
75 | %description static | |
3e0b2246 | 76 | WSoundServer static libraries. |
5f951e7a | 77 | |
9c673db2 JR |
78 | %description static -l fr.UTF-8 |
79 | Bibliothèques statiques pour WSoundServer. | |
049f8dc7 | 80 | |
9c673db2 | 81 | %description static -l pl.UTF-8 |
3e0b2246 | 82 | Biblioteki statyczne dla WSoundServer. |
5f951e7a | 83 | |
84 | %prep | |
74f7c3e4 | 85 | %setup -q |
cc11e52d | 86 | %patch0 -p1 |
87 | %patch1 -p1 | |
74f7c3e4 | 88 | %patch2 -p1 |
a999dec3 | 89 | %patch3 -p1 |
5f951e7a | 90 | |
91 | %build | |
943f884c | 92 | %{__libtoolize} |
9a0b3fcd | 93 | %{__aclocal} |
58691e1a | 94 | %{__autoconf} |
95 | %{__automake} | |
273a6ba6 | 96 | %configure |
5f951e7a | 97 | |
d45745e8 | 98 | %{__make} |
5f951e7a | 99 | |
100 | %install | |
101 | rm -rf $RPM_BUILD_ROOT | |
b4396da3 | 102 | install -d $RPM_BUILD_ROOT{%{_desktopdir},%{_pixmapsdir}} \ |
74f7c3e4 | 103 | $RPM_BUILD_ROOT%{_sysconfdir}/WindowMaker |
5f951e7a | 104 | |
e4656218 PG |
105 | %{__make} install \ |
106 | DESTDIR=$RPM_BUILD_ROOT | |
049f8dc7 | 107 | |
74f7c3e4 | 108 | install src/wsoundserver.xpm $RPM_BUILD_ROOT%{_pixmapsdir} |
049f8dc7 | 109 | |
b4396da3 | 110 | install %{SOURCE1} $RPM_BUILD_ROOT%{_desktopdir} |
9e433df3 | 111 | install %{SOURCE2} $RPM_BUILD_ROOT%{_sysconfdir}/WindowMaker/WMSound |
5f951e7a | 112 | |
74f7c3e4 JB |
113 | %clean |
114 | rm -rf $RPM_BUILD_ROOT | |
5f951e7a | 115 | |
9e433df3 | 116 | %post -p /sbin/ldconfig |
5f951e7a | 117 | %postun -p /sbin/ldconfig |
118 | ||
5f951e7a | 119 | %files |
120 | %defattr(644,root,root,755) | |
74f7c3e4 | 121 | %doc AUTHORS ChangeLog README |
049f8dc7 | 122 | %attr(755,root,root) %{_bindir}/getsoundset |
123 | %attr(755,root,root) %{_bindir}/setsoundset | |
124 | %attr(755,root,root) %{_bindir}/wsound* | |
5f951e7a | 125 | %attr(755,root,root) %{_libdir}/lib*.so.*.* |
58dc3556 | 126 | %config(noreplace) %verify(not md5 mtime size) %{_sysconfdir}/WindowMaker/WMSound |
049f8dc7 | 127 | |
cc11e52d | 128 | %{_pixmapsdir}/wsoundserver.xpm |
b4396da3 | 129 | %{_desktopdir}/%{name}.desktop |
cc11e52d | 130 | |
131 | %{_mandir}/man1/* | |
132 | ||
5f951e7a | 133 | %files devel |
134 | %defattr(644,root,root,755) | |
049f8dc7 | 135 | %attr(755,root,root) %{_bindir}/get-wsound-flags |
5f951e7a | 136 | %attr(755,root,root) %{_libdir}/lib*.so |
cf923bed | 137 | %{_libdir}/lib*.la |
5f951e7a | 138 | %{_includedir}/*.h |
139 | ||
140 | %files static | |
141 | %defattr(644,root,root,755) | |
142 | %{_libdir}/lib*.a |