]> git.pld-linux.org Git - packages/WSoundServer.git/blob - WSoundServer.spec
- updated to 0.4.0,
[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:        1
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 Requires:       WSoundServer-data
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 Group(de):      X11/Entwicklung/Libraries
54 Group(pl):      X11/Programowanie/Biblioteki
55 Requires:       %{name} = %{version}
56 Obsoletes:      wmsound-devel
57
58 %description devel
59 WSoundServer libraries and headers.
60
61 %description devel -l fr
62 Bibliothèques et includes pour WSoundServer.
63
64 %description devel -l no
65 WSoundServer biblioteket samt «headerfilen».
66
67 %description devel -l pl
68 Biblioteki i pliki nag³ówkowe dla WSoundServer.
69
70 %package static
71 Summary:        WSoundServer static libraries
72 Summary(fr):    Bibliothèques statiques pour WSoundServer
73 Summary(pl):    Biblioteki statyczne dla WSoundServer
74 Group:          X11/Development/Libraries
75 Group(de):      X11/Entwicklung/Libraries
76 Group(pl):      X11/Programowanie/Biblioteki
77 Requires:       %{name}-devel = %{version}
78
79 %description static
80 WSoundServer static libraries.
81
82 %description static -l fr
83 Bibliothèques statiques pour WSoundServer.
84
85 %description static -l pl
86 Biblioteki statyczne dla WSoundServer.
87
88 %prep
89 %setup -q -a4
90 %patch0 -p1
91 %patch1 -p1
92
93 %build
94 %configure 
95
96 %{__make}
97
98 %install
99 rm -rf $RPM_BUILD_ROOT
100 install -d $RPM_BUILD_ROOT%{_applnkdir}/Utilities \
101         $RPM_BUILD_ROOT%{_sysconfdir}/WindowMaker \
102         $RPM_BUILD_ROOT%{_datadir}/{pixmaps,WindowMaker/{SoundSets,Sounds}}
103
104 %{__make} install DESTDIR=$RPM_BUILD_ROOT
105
106 install src/wsoundserver.xpm $RPM_BUILD_ROOT%{_datadir}/pixmaps
107
108 install %{SOURCE1}   $RPM_BUILD_ROOT%{_applnkdir}/Utilities
109 install %{SOURCE2}   $RPM_BUILD_ROOT%{_sysconfdir}/WindowMaker/WMSound
110 install %{SOURCE3}   $RPM_BUILD_ROOT%{_datadir}/WindowMaker/SoundSets/Default
111 install Sounds/*.wav $RPM_BUILD_ROOT%{_datadir}/WindowMaker/Sounds
112
113 gzip -9nf README ChangeLog AUTHORS 
114
115 %post   -p /sbin/ldconfig
116 %postun -p /sbin/ldconfig
117
118 %clean
119 rm -rf $RPM_BUILD_ROOT
120
121 %files
122 %defattr(644,root,root,755)
123 %attr(755,root,root) %{_bindir}/getsoundset
124 %attr(755,root,root) %{_bindir}/setsoundset
125 %attr(755,root,root) %{_bindir}/wsound*
126 %attr(755,root,root) %{_libdir}/lib*.so.*.*
127 %dir %{_datadir}/WindowMaker/Sounds
128 %dir %{_datadir}/WindowMaker/SoundSets
129 %{_datadir}/WindowMaker/Sounds/*.wav
130 %config %verify(not size mtime md5) %{_datadir}/WindowMaker/SoundSets/Default
131 %config %verify(not size mtime md5) %{_sysconfdir}/WindowMaker/WMSound
132
133 %{_pixmapsdir}/wsoundserver.xpm
134 %{_applnkdir}/Utilities/%{name}.desktop
135
136 %{_mandir}/man1/*
137
138 %files devel
139 %defattr(644,root,root,755)
140 %doc *.gz
141 %attr(755,root,root) %{_bindir}/get-wsound-flags
142 %attr(755,root,root) %{_libdir}/lib*.so
143 %attr(755,root,root) %{_libdir}/lib*.la
144 %{_includedir}/*.h
145
146 %files static
147 %defattr(644,root,root,755)
148 %{_libdir}/lib*.a
This page took 0.080649 seconds and 4 git commands to generate.