]> git.pld-linux.org Git - packages/WSoundServer.git/blob - WSoundServer.spec
- added Obsoletes: wmsound-devel
[packages/WSoundServer.git] / WSoundServer.spec
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
5 Name:           WSoundServer
6 Version:        0.2.2
7 Release:        2
8 Group:          X11/Window Managers/Tools
9 Group(pl):      X11/Zarz±dcy Okien/Narzêdzia
10 Copyright:      GPL
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
25 Obsoletes:      wmsound
26 BuildRoot:      /tmp/%{name}-%{version}-root
27
28 %define         _prefix         /usr/X11R6
29 %define         _mandir         %{_prefix}/man
30 %define         _sysconfdir     /etc/X11
31
32 %description
33 WSoundServer is the sound server for WindowMaker.
34
35 %description -l fr
36 WSoundServer est le serveur de son pour Window Maker.
37
38 %description -l no
39 WSoundServer er en lydtjener for Window Maker.
40
41 %description -l pl
42 WSoundServer jest serwerem d¼wiêku dla WindowMakera.
43
44 %package data
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
52
53 %description data
54 The standard WSoundServer data.
55
56 %description data -l fr
57 Les données standard de WSoundServer.
58
59 %description data -l no
60 Standard datafiler til WSoundServer.
61
62 %description data -l pl
63 Standardowe pliki d¼wiêkowe dla WSoundServer.
64
65 %package devel
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}
73 Obsoletes:      wmsound-devel
74
75 %description devel
76 WSoundServer libraries and headers.
77
78 %description devel -l fr
79 Bibliothèques et includes pour WSoundServer.
80
81 %description devel -l no
82 WSoundServer biblioteket samt «headerfilen».
83
84 %description devel -l pl
85 Biblioteki i pliki nag³ówkowe dla WSoundServer.
86
87 %package static
88 Summary:        WSoundServer static libraries
89 Summary(fr):    Bibliothèques statiques pour WSoundServer
90 Summary(pl):    Biblioteki statyczne dla WSoundServer
91 Group:          X11/Development/Libraries
92 Group(pl):      X11/Programowanie/Biblioteki
93 Requires:       %{name}-devel = %{version}
94
95 %description static
96 WSoundServer static libraries.
97
98 %description static -l fr
99 Bibliothèques statiques pour WSoundServer.
100
101 %description static -l pl
102 Biblioteki statyczne dla WSoundServer.
103
104 %prep
105 %setup -q -a4
106
107 %build
108 LDFLAGS="-s"; export LDFLAGS
109 %configure 
110
111 make
112
113 %install
114 rm -rf $RPM_BUILD_ROOT
115 install -d $RPM_BUILD_ROOT%{_datadir}/{pixmaps,applnk/Utilities} \
116         $RPM_BUILD_ROOT%{_sysconfdir}/WindowMaker \
117         $RPM_BUILD_ROOT%{_datadir}/WindowMaker/{SoundSets,Sounds}
118
119 make install DESTDIR=$RPM_BUILD_ROOT
120
121 install src/wsoundserver.xpm $RPM_BUILD_ROOT%{_datadir}/pixmaps
122
123 install %{SOURCE1} $RPM_BUILD_ROOT%{_datadir}/applnk/Utilities
124 install %{SOURCE2} $RPM_BUILD_ROOT%{_sysconfdir}/WindowMaker/WMSound
125 install %{SOURCE3} $RPM_BUILD_ROOT%{_datadir}/WindowMaker/SoundSets/Default
126 install Sounds/*.wav $RPM_BUILD_ROOT%{_datadir}/WindowMaker/Sounds
127
128 strip --strip-unneeded $RPM_BUILD_ROOT%{_libdir}/lib*.so.*.*
129
130 gzip -9nf $RPM_BUILD_ROOT%{_mandir}/man1/* \
131         README ChangeLog AUTHORS 
132
133 %post   -p /sbin/ldconfig
134 %postun -p /sbin/ldconfig
135
136 %clean
137 rm -rf $RPM_BUILD_ROOT
138
139 %files
140 %defattr(644,root,root,755)
141 %doc {README,ChangeLog,AUTHORS}.gz
142 %attr(755,root,root) %{_bindir}/getsoundset
143 %attr(755,root,root) %{_bindir}/setsoundset
144 %attr(755,root,root) %{_bindir}/wsound*
145 %attr(755,root,root) %{_libdir}/lib*.so.*.*
146 %{_libdir}/lib*.la
147
148 %{_datadir}/pixmaps/wsoundserver.xpm
149 %{_datadir}/applnk/Utilities/WSoundServer.desktop
150
151 %{_mandir}/man1/*
152
153 %files data
154 %defattr(644,root,root,755)
155 %dir %{_datadir}/WindowMaker/Sounds
156 %dir %{_datadir}/WindowMaker/SoundSets
157 %{_datadir}/WindowMaker/Sounds/*.wav
158 %config %verify(not size mtime md5) %{_datadir}/WindowMaker/SoundSets/Default
159 %config %verify(not size mtime md5) %{_sysconfdir}/WindowMaker/WMSound
160
161 %files devel
162 %defattr(644,root,root,755)
163 %attr(755,root,root) %{_bindir}/get-wsound-flags
164 %attr(755,root,root) %{_libdir}/lib*.so
165 %attr(755,root,root) %{_libdir}/lib*.la
166 %{_includedir}/*.h
167
168 %files static
169 %defattr(644,root,root,755)
170 %{_libdir}/lib*.a
This page took 0.114308 seconds and 3 git commands to generate.