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