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