]> git.pld-linux.org Git - packages/WSoundServer.git/blob - WSoundServer.spec
- rebuild against libdockapp
[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:        3
8 Group:          X11/Window Managers/Tools
9 Group(pl):      X11/Zarz±dcy Okien/Narzêdzia
10 License:        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:  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
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 %define         _applnkdir      %{_datadir}/applnk
32
33 %description
34 WSoundServer is the sound server for WindowMaker.
35
36 %description -l fr
37 WSoundServer est le serveur de son pour Window Maker.
38
39 %description -l no
40 WSoundServer er en lydtjener for Window Maker.
41
42 %description -l pl
43 WSoundServer jest serwerem d¼wiêku dla WindowMakera.
44
45 %package data
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
53
54 %description data
55 The standard WSoundServer data.
56
57 %description data -l fr
58 Les données standard de WSoundServer.
59
60 %description data -l no
61 Standard datafiler til WSoundServer.
62
63 %description data -l pl
64 Standardowe pliki d¼wiêkowe dla WSoundServer.
65
66 %package devel
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
75
76 %description devel
77 WSoundServer libraries and headers.
78
79 %description devel -l fr
80 Bibliothèques et includes pour WSoundServer.
81
82 %description devel -l no
83 WSoundServer biblioteket samt «headerfilen».
84
85 %description devel -l pl
86 Biblioteki i pliki nag³ówkowe dla WSoundServer.
87
88 %package static
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}
95
96 %description static
97 WSoundServer static libraries.
98
99 %description static -l fr
100 Bibliothèques statiques pour WSoundServer.
101
102 %description static -l pl
103 Biblioteki statyczne dla WSoundServer.
104
105 %prep
106 %setup -q -a4
107
108 %build
109 LDFLAGS="-s"; export LDFLAGS
110 %configure 
111
112 make
113
114 %install
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}}
119
120 make install DESTDIR=$RPM_BUILD_ROOT
121
122 install src/wsoundserver.xpm $RPM_BUILD_ROOT%{_datadir}/pixmaps
123
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
128
129 strip --strip-unneeded $RPM_BUILD_ROOT%{_libdir}/lib*.so.*.*
130
131 gzip -9nf $RPM_BUILD_ROOT%{_mandir}/man1/* \
132         README ChangeLog AUTHORS 
133
134 %post   -p /sbin/ldconfig
135 %postun -p /sbin/ldconfig
136
137 %clean
138 rm -rf $RPM_BUILD_ROOT
139
140 %files
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.*.*
147 %{_libdir}/lib*.la
148
149 %{_datadir}/pixmaps/wsoundserver.xpm
150 %{_applnkdir}/Utilities/%{name}.desktop
151
152 %{_mandir}/man1/*
153
154 %files data
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
161
162 %files devel
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
167 %{_includedir}/*.h
168
169 %files static
170 %defattr(644,root,root,755)
171 %{_libdir}/lib*.a
This page took 1.294148 seconds and 3 git commands to generate.