]> git.pld-linux.org Git - packages/WSoundServer.git/blob - WSoundServer.spec
757f1b7f3700ca197c4bb627419cb1403d52df71
[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.4.0
7 Release:        3
8 License:        GPL
9 Group:          X11/Window Managers/Tools
10 Group(de):      X11/Fenstermanager/Werkzeuge
11 Group(pl):      X11/Zarz±dcy Okien/Narzêdzia
12 Source0:        ftp://shadowmere.student.utwente.nl/pub/WindowMaker/%{name}-%{version}.tar.bz2
13 Source1:        %{name}.desktop
14 Source2:        %{name}-config
15 Source3:        %{name}-soundset
16 Source4:        wmsdefault.tar.gz
17 Patch0:         %{name}-WINGs.patch
18 Patch1:         %{name}-rm_unknown_audiofile_compression.patch
19 Icon:           WSoundServer.xpm
20 BuildRequires:  libPropList-devel >= 0.8.3
21 BuildRequires:  libdockapp-devel
22 BuildRequires:  audiofile-devel >= 0.1.9
23 BuildRequires:  XFree86-devel
24 BuildRequires:  WindowMaker-devel
25 BuildRequires:  autoconf
26 BuildRequires:  automake
27 BuildRequires:  libtool
28 Requires:       WindowMaker >= 0.60.0
29 BuildRoot:      %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
30 Obsoletes:      wmsound
31 Obsoletes:      WSoundServer-data
32
33 %define         _prefix         /usr/X11R6
34 %define         _mandir         %{_prefix}/man
35 %define         _sysconfdir     /etc/X11
36
37 %description
38 WSoundServer is the sound server for WindowMaker.
39
40 %description -l fr
41 WSoundServer est le serveur de son pour Window Maker.
42
43 %description -l no
44 WSoundServer er en lydtjener for Window Maker.
45
46 %description -l pl
47 WSoundServer jest serwerem d¼wiêku dla WindowMakera.
48
49 %package devel
50 Summary:        WSoundServer libraries and headers
51 Summary(no):    Utviklings bibliotek for WSoundServer
52 Summary(fr):    Bibliothèques et includes pour WSoundServer
53 Summary(pl):    Biblioteki i pliki nag³ówkowe dla WSoundServer
54 Group:          X11/Development/Libraries
55 Group(de):      X11/Entwicklung/Libraries
56 Group(es):      X11/Desarrollo/Bibliotecas
57 Group(fr):      X11/Development/Librairies
58 Group(pl):      X11/Programowanie/Biblioteki
59 Group(pt_BR):   X11/Desenvolvimento/Bibliotecas
60 Group(ru):      X11/òÁÚÒÁÂÏÔËÁ/âÉÂÌÉÏÔÅËÉ
61 Group(uk):      X11/òÏÚÒÏÂËÁ/â¦Â̦ÏÔÅËÉ
62 Requires:       %{name} = %{version}
63 Obsoletes:      wmsound-devel
64
65 %description devel
66 WSoundServer libraries and headers.
67
68 %description devel -l fr
69 Bibliothèques et includes pour WSoundServer.
70
71 %description devel -l no
72 WSoundServer biblioteket samt «headerfilen».
73
74 %description devel -l pl
75 Biblioteki i pliki nag³ówkowe dla WSoundServer.
76
77 %package static
78 Summary:        WSoundServer static libraries
79 Summary(fr):    Bibliothèques statiques pour WSoundServer
80 Summary(pl):    Biblioteki statyczne dla WSoundServer
81 Group:          X11/Development/Libraries
82 Group(de):      X11/Entwicklung/Libraries
83 Group(es):      X11/Desarrollo/Bibliotecas
84 Group(fr):      X11/Development/Librairies
85 Group(pl):      X11/Programowanie/Biblioteki
86 Group(pt_BR):   X11/Desenvolvimento/Bibliotecas
87 Group(ru):      X11/òÁÚÒÁÂÏÔËÁ/âÉÂÌÉÏÔÅËÉ
88 Group(uk):      X11/òÏÚÒÏÂËÁ/â¦Â̦ÏÔÅËÉ
89 Requires:       %{name}-devel = %{version}
90
91 %description static
92 WSoundServer static libraries.
93
94 %description static -l fr
95 Bibliothèques statiques pour WSoundServer.
96
97 %description static -l pl
98 Biblioteki statyczne dla WSoundServer.
99
100 %prep
101 %setup -q -a4
102 %patch0 -p1
103 %patch1 -p1
104
105 %build
106 rm -f missing
107 libtoolize --copy --force
108 aclocal
109 autoconf
110 automake -a -c
111 %configure 
112
113 %{__make}
114
115 %install
116 rm -rf $RPM_BUILD_ROOT
117 install -d $RPM_BUILD_ROOT%{_applnkdir}/Utilities \
118         $RPM_BUILD_ROOT%{_sysconfdir}/WindowMaker \
119         $RPM_BUILD_ROOT%{_datadir}/{pixmaps,WindowMaker/{SoundSets,Sounds}}
120
121 %{__make} install DESTDIR=$RPM_BUILD_ROOT
122
123 install src/wsoundserver.xpm $RPM_BUILD_ROOT%{_datadir}/pixmaps
124
125 install %{SOURCE1}   $RPM_BUILD_ROOT%{_applnkdir}/Utilities
126 install %{SOURCE2}   $RPM_BUILD_ROOT%{_sysconfdir}/WindowMaker/WMSound
127 install %{SOURCE3}   $RPM_BUILD_ROOT%{_datadir}/WindowMaker/SoundSets/Default
128 install Sounds/*.wav $RPM_BUILD_ROOT%{_datadir}/WindowMaker/Sounds
129
130 gzip -9nf README ChangeLog AUTHORS 
131
132 %post   -p /sbin/ldconfig
133 %postun -p /sbin/ldconfig
134
135 %clean
136 rm -rf $RPM_BUILD_ROOT
137
138 %files
139 %defattr(644,root,root,755)
140 %attr(755,root,root) %{_bindir}/getsoundset
141 %attr(755,root,root) %{_bindir}/setsoundset
142 %attr(755,root,root) %{_bindir}/wsound*
143 %attr(755,root,root) %{_libdir}/lib*.so.*.*
144 %dir %{_datadir}/WindowMaker/Sounds
145 %dir %{_datadir}/WindowMaker/SoundSets
146 %{_datadir}/WindowMaker/Sounds/*.wav
147 %config %verify(not size mtime md5) %{_datadir}/WindowMaker/SoundSets/Default
148 %config %verify(not size mtime md5) %{_sysconfdir}/WindowMaker/WMSound
149
150 %{_pixmapsdir}/wsoundserver.xpm
151 %{_applnkdir}/Utilities/%{name}.desktop
152
153 %{_mandir}/man1/*
154
155 %files devel
156 %defattr(644,root,root,755)
157 %doc *.gz
158 %attr(755,root,root) %{_bindir}/get-wsound-flags
159 %attr(755,root,root) %{_libdir}/lib*.so
160 %attr(755,root,root) %{_libdir}/lib*.la
161 %{_includedir}/*.h
162
163 %files static
164 %defattr(644,root,root,755)
165 %{_libdir}/lib*.a
This page took 0.03297 seconds and 3 git commands to generate.