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