]> git.pld-linux.org Git - packages/esound.git/blob - esound.spec
- perl -pi -e "s/^automake -a -c$/automake -a -c -f/"
[packages/esound.git] / esound.spec
1 #
2 # Conditional build:
3 # _without_libwrap      - without hosts.{access,deny} support
4 #
5 Summary:        The Enlightened Sound Daemon
6 Summary(es):    Demonio de sonido de Enlightment
7 Summary(fr):    Démon audio de Enlightment
8 Summary(pl):    O¶wiecony Demon D¼wiêku
9 Name:           esound
10 Version:        0.2.23
11 Release:        7
12 Epoch:          1
13 License:        GPL
14 Group:          Daemons
15 Source0:        ftp://ftp.gnome.org/pub/GNOME/stable/sources/esound/%{name}-%{version}.tar.gz
16 Patch0:         %{name}-esddsp.in.patch
17 Patch1:         http://webpages.charter.net/tprado/esound/files/%{name}-0.2.23-ztp20011218_0.patch.gz
18 URL:            http://www.tux.org/~ricdude/EsounD.html
19 BuildRequires:  audiofile-devel >= 0.2.0
20 BuildRequires:  autoconf
21 BuildRequires:  automake
22 BuildRequires:  libtool
23 BuildRequires:  pkgconfig
24 %{!?_without_libwrap:BuildRequires:     libwrap-devel}
25 BuildRoot:      %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
26 Obsoletes:      libesound0
27
28 %define         _sysconfdir     /etc
29
30 %description
31 The Enlightened Sound Daemon is a server process that allows multiple
32 applications to share a single sound card.
33
34 %description -l es
35 El demonio de sonido de Enlightment es un proceso servidor que permite
36 a más de una aplicación de usar la tarjeta de sonido al mismo tiempo
37
38 %description -l fr
39 Le démon audio de Enlightment est un processus serveur qui permets à
40 plusieures applications d'utilsier la carte son à la fois.
41
42 %description -l pl
43 "O¶wiecony demon d¼wiêku" jest serwerem, który umo¿liwia korzystanie
44 (dzielenie) z jednej karty d¼wiêkowej przez ró¿ne aplikacje.
45
46 %package devel
47 Summary:        Libraries, includes, etc to develop EsounD applications
48 Summary(es):    Bibliotecas, includes, etc para desarrollar programas para EsounD
49 Summary(fr):    Bibliothèques, includes, etc pour programmer pour EsounD
50 Summary(pl):    Biblioteki, pliki nag³ówkowe oraz dokumentacja
51 Group:          Development/Libraries
52 Requires:       %{name} = %{version}
53 Requires:       audiofile-devel
54 Obsoletes:      libesound0-devel
55
56 %description devel
57 Libraries, include files, etc you can use to develop EsounD
58 applications.
59
60 %description devel -l es
61 Bibliotecas, archivos *.h, etc necesarios para escribir programas con
62 soporte para EsounD.
63
64 %description devel -l fr
65 Bibliothèques, fichiers d'en-têtes, etc. necessaires pour écrire des
66 applications avec support EsounD
67
68 %description devel -l pl
69 Biblioteki, pliki nag³ówkowe oraz dokumentacja - czyli wszystko czego
70 potrzebujesz do tworzenia aplikacji pod EsounD.
71
72 %package static
73 Summary:        EsounD static library
74 Summary(pl):    Biblioteka statyczna esound
75 Group:          Development/Libraries
76 Requires:       %{name} = %{version}
77
78 %description static
79 EsounD static library.
80
81 %description static -l pl
82 Biblioteka statyczna esound.
83
84 %prep
85 %setup -q
86 %patch0 -p1
87 %patch1 -p1
88
89 %build
90 rm -f missing acinclude.m4
91 libtoolize --copy --force
92 aclocal || ( echo 'AC_DEFUN([AM_PATH_ALSA],[])' > acinclude.m4 && aclocal )
93 autoconf
94 automake -a -c -f
95 %configure \
96         --disable-alsa \
97         --with%{?_without_libwrap:out}-libwrap
98
99 %{__make}
100
101 %install
102 rm -rf $RPM_BUILD_ROOT
103
104 %{__make} install \
105         DESTDIR=$RPM_BUILD_ROOT \
106         m4datadir=%{_aclocaldir} \
107         pkgconfigdir=%{_pkgconfigdir}
108
109 gzip -9nf README AUTHORS ChangeLog NEWS
110
111 %clean
112 rm -rf $RPM_BUILD_ROOT
113
114 %post   -p /sbin/ldconfig
115 %postun -p /sbin/ldconfig
116
117 %files
118 %defattr(644,root,root,755)
119 %doc README.gz
120
121 %config(noreplace) %verify(not md5 mtime size) %{_sysconfdir}/esd.conf
122 %attr(755,root,root) %{_bindir}/esd
123 %attr(755,root,root) %{_bindir}/esdcat
124 %attr(755,root,root) %{_bindir}/esdctl
125 %attr(755,root,root) %{_bindir}/esddsp
126 %attr(755,root,root) %{_bindir}/esdfilt
127 %attr(755,root,root) %{_bindir}/esdloop
128 %attr(755,root,root) %{_bindir}/esdmon
129 %attr(755,root,root) %{_bindir}/esdplay
130 %attr(755,root,root) %{_bindir}/esdrec
131 %attr(755,root,root) %{_bindir}/esdsample
132
133 %attr(755,root,root) %{_libdir}/lib*.so.*.*
134
135 %files devel
136 %defattr(644,root,root,755)
137 %doc {AUTHORS,ChangeLog,NEWS}.gz
138
139 %attr(755,root,root) %{_libdir}/lib*.so
140 %attr(755,root,root) %{_libdir}/lib*.la
141 %attr(755,root,root) %{_bindir}/esd-config
142
143 %{_includedir}/*
144 %{_aclocaldir}/*
145 %{_pkgconfigdir}/esound*
146
147 %files static
148 %defattr(644,root,root,755)
149 %{_libdir}/lib*.a
This page took 0.069043 seconds and 3 git commands to generate.