]> git.pld-linux.org Git - packages/WSoundServer.git/blob - WSoundServer.spec
- kill Icon: field (support for these is obsolete says jbj)
[packages/WSoundServer.git] / WSoundServer.spec
1 Summary:        WindowMaker sound server
2 Summary(fr):    Serveur de son de Window Maker
3 Summary(nb):    Window Maker lydtjener
4 Summary(pl):    Serwer d¼wiêku dla WindowMakera
5 Name:           WSoundServer
6 Version:        0.4.1
7 Release:        2
8 License:        GPL
9 Group:          X11/Window Managers/Tools
10 Source0:        http://largo.windowmaker.org/files/%{name}-%{version}.tar.gz
11 # Source0-md5:  cfc8d0bdf97e7b165790cf266d40670e
12 Source1:        %{name}.desktop
13 Source2:        %{name}-config
14 Patch0:         %{name}-libdockapp.patch
15 Patch1:         %{name}-rm_unknown_audiofile_compression.patch
16 Patch2:         %{name}-acfix.patch
17 URL:            http://largo.windowmaker.org/files.php#WSoundServer
18 BuildRequires:  WindowMaker-devel
19 BuildRequires:  XFree86-devel
20 BuildRequires:  audiofile-devel >= 0.1.9
21 BuildRequires:  autoconf
22 BuildRequires:  automake
23 BuildRequires:  libPropList-devel >= 0.8.3
24 BuildRequires:  libdockapp-devel
25 BuildRequires:  libtool
26 Requires:       WindowMaker >= 0.60.0
27 Provides:       wmsoundserver
28 Obsoletes:      wmsoundserver
29 BuildRoot:      %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
30
31 %define         _sysconfdir     /etc/X11
32
33 %description
34 WSoundServer is the sound server for WindowMaker.
35
36 %description -l fr
37 WSoundServer est le serveur de son pour Window Maker.
38
39 %description -l nb
40 WSoundServer er en lydtjener for Window Maker.
41
42 %description -l pl
43 WSoundServer jest serwerem d¼wiêku dla WindowMakera.
44
45 %package devel
46 Summary:        WSoundServer libraries and headers
47 Summary(nb):    Utviklings bibliotek for WSoundServer
48 Summary(fr):    Bibliothèques et includes pour WSoundServer
49 Summary(pl):    Biblioteki i pliki nag³ówkowe dla WSoundServer
50 Group:          X11/Development/Libraries
51 Requires:       %{name} = %{version}-%{release}
52 Obsoletes:      wmsound-devel
53
54 %description devel
55 WSoundServer libraries and headers.
56
57 %description devel -l fr
58 Bibliothèques et includes pour WSoundServer.
59
60 %description devel -l nb
61 WSoundServer biblioteket samt «headerfilen».
62
63 %description devel -l pl
64 Biblioteki i pliki nag³ówkowe dla WSoundServer.
65
66 %package static
67 Summary:        WSoundServer static libraries
68 Summary(fr):    Bibliothèques statiques pour WSoundServer
69 Summary(pl):    Biblioteki statyczne dla WSoundServer
70 Group:          X11/Development/Libraries
71 Requires:       %{name}-devel = %{version}-%{release}
72
73 %description static
74 WSoundServer static libraries.
75
76 %description static -l fr
77 Bibliothèques statiques pour WSoundServer.
78
79 %description static -l pl
80 Biblioteki statyczne dla WSoundServer.
81
82 %prep
83 %setup -q
84 %patch0 -p1
85 %patch1 -p1
86 %patch2 -p1
87
88 %build
89 %{__libtoolize}
90 %{__aclocal}
91 %{__autoconf}
92 %{__automake}
93 %configure
94
95 %{__make}
96
97 %install
98 rm -rf $RPM_BUILD_ROOT
99 install -d $RPM_BUILD_ROOT{%{_desktopdir},%{_pixmapsdir}} \
100         $RPM_BUILD_ROOT%{_sysconfdir}/WindowMaker
101
102 %{__make} install \
103         DESTDIR=$RPM_BUILD_ROOT
104
105 install src/wsoundserver.xpm $RPM_BUILD_ROOT%{_pixmapsdir}
106
107 install %{SOURCE1} $RPM_BUILD_ROOT%{_desktopdir}
108 install %{SOURCE2} $RPM_BUILD_ROOT%{_sysconfdir}/WindowMaker/WMSound
109
110 %clean
111 rm -rf $RPM_BUILD_ROOT
112
113 %post   -p /sbin/ldconfig
114 %postun -p /sbin/ldconfig
115
116 %files
117 %defattr(644,root,root,755)
118 %doc AUTHORS ChangeLog README
119 %attr(755,root,root) %{_bindir}/getsoundset
120 %attr(755,root,root) %{_bindir}/setsoundset
121 %attr(755,root,root) %{_bindir}/wsound*
122 %attr(755,root,root) %{_libdir}/lib*.so.*.*
123 %config(noreplace) %verify(not md5 mtime size) %{_sysconfdir}/WindowMaker/WMSound
124
125 %{_pixmapsdir}/wsoundserver.xpm
126 %{_desktopdir}/%{name}.desktop
127
128 %{_mandir}/man1/*
129
130 %files devel
131 %defattr(644,root,root,755)
132 %attr(755,root,root) %{_bindir}/get-wsound-flags
133 %attr(755,root,root) %{_libdir}/lib*.so
134 %{_libdir}/lib*.la
135 %{_includedir}/*.h
136
137 %files static
138 %defattr(644,root,root,755)
139 %{_libdir}/lib*.a
This page took 0.042471 seconds and 3 git commands to generate.