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