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