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