]> git.pld-linux.org Git - packages/WSoundServer.git/blob - WSoundServer.spec
899bbb76fa25b47ee73ee2916b20609ee47a043f
[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:        4
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 Patch0:         %{name}-WINGs.patch
14 Patch1:         %{name}-rm_unknown_audiofile_compression.patch
15 Patch2:         %{name}-acfix.patch
16 Icon:           WSoundServer.xpm
17 BuildRequires:  WindowMaker-devel
18 BuildRequires:  XFree86-devel
19 BuildRequires:  audiofile-devel >= 0.1.9
20 BuildRequires:  autoconf
21 BuildRequires:  automake
22 BuildRequires:  libPropList-devel >= 0.8.3
23 BuildRequires:  libdockapp-devel
24 BuildRequires:  libtool
25 Requires:       WindowMaker >= 0.60.0
26 Requires:       wmsound-data
27 Provides:       wmsoundserver
28 BuildRoot:      %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
29 Obsoletes:      wmsound
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
86 %patch0 -p1
87 %patch1 -p1
88 %patch2 -p1
89
90 %build
91 rm -f missing
92 %{__libtoolize}
93 aclocal
94 %{__autoconf}
95 %{__automake}
96 %configure 
97
98 %{__make}
99
100 %install
101 rm -rf $RPM_BUILD_ROOT
102 install -d $RPM_BUILD_ROOT{%{_applnkdir}/Utilities,%{_pixmapsdir}} \
103         $RPM_BUILD_ROOT%{_sysconfdir}/WindowMaker
104
105 %{__make} install DESTDIR=$RPM_BUILD_ROOT
106
107 install src/wsoundserver.xpm $RPM_BUILD_ROOT%{_pixmapsdir}
108
109 install %{SOURCE1}   $RPM_BUILD_ROOT%{_applnkdir}/Utilities
110 install %{SOURCE2}   $RPM_BUILD_ROOT%{_sysconfdir}/WindowMaker/WMSound
111
112 %clean
113 rm -rf $RPM_BUILD_ROOT
114
115 %post   -p /sbin/ldconfig
116 %postun -p /sbin/ldconfig
117
118 %files
119 %defattr(644,root,root,755)
120 %doc AUTHORS ChangeLog README
121 %attr(755,root,root) %{_bindir}/getsoundset
122 %attr(755,root,root) %{_bindir}/setsoundset
123 %attr(755,root,root) %{_bindir}/wsound*
124 %attr(755,root,root) %{_libdir}/lib*.so.*.*
125 %config(noreplace) %verify(not size mtime md5) %{_sysconfdir}/WindowMaker/WMSound
126
127 %{_pixmapsdir}/wsoundserver.xpm
128 %{_applnkdir}/Utilities/%{name}.desktop
129
130 %{_mandir}/man1/*
131
132 %files devel
133 %defattr(644,root,root,755)
134 %attr(755,root,root) %{_bindir}/get-wsound-flags
135 %attr(755,root,root) %{_libdir}/lib*.so
136 %attr(755,root,root) %{_libdir}/lib*.la
137 %{_includedir}/*.h
138
139 %files static
140 %defattr(644,root,root,755)
141 %{_libdir}/lib*.a
This page took 0.101549 seconds and 3 git commands to generate.