]> git.pld-linux.org Git - packages/esound.git/blobdiff - esound.spec
- updated to 0.2.30
[packages/esound.git] / esound.spec
index ece52d0bcea103aa8bf35b5dfcf2cc1bf594e701..2fcb5c7d4f1b3572e45a610aadd5c361b69960c2 100644 (file)
@@ -1,5 +1,6 @@
 #
 # Conditional build:
+# _without_alsa                - without ALSA support
 # _without_libwrap     - without hosts.{access,deny} support
 #
 Summary:       The Enlightened Sound Daemon
@@ -10,23 +11,25 @@ Summary(pt_BR):     O servidor de som do Enlightenment
 Summary(ru):   óÅÒ×ÅÒ, ÐÏÚ×ÏÌÑÀÝÉÊ ÍÉËÛÉÒÏ×ÁÔØ ×Ù×ÏÄ ÎÁ Ú×ÕËÏ×ÏÅ ÕÓÔÒÏÊÓÔ×Ï
 Summary(uk):   óÅÒ×ÅÒ, ÝÏ ÄÏÚ×ÏÌѤ Í¦ËÛÉÒÕ×ÁÔÉ ×ÉצĠÎÁ Ú×ÕËÏ×ÉÊ ÐÒÉÓÔÒ¦Ê
 Name:          esound
-Version:       0.2.27
-Release:       2
+Version:       0.2.30
+Release:       1
 Epoch:         1
 License:       GPL
 Group:         Daemons
-Source0:       ftp://ftp.gnome.org/pub/GNOME/stable/sources/esound/%{name}-%{version}.tar.gz
-Patch0:                %{name}-esddsp.in.patch
-Patch1:                %{name}-am.patch
+Source0:       http://ftp.gnome.org/pub/GNOME/sources/%{name}/0.2/%{name}-%{version}.tar.bz2
+# Source0-md5: 1d384836b74849da9e11eeff61027665
+Patch0:                %{name}-am.patch
+Patch1:                %{name}-etc_dir.patch
 URL:           http://www.tux.org/~ricdude/EsounD.html
+%{!?_without_alsa:BuildRequires:       alsa-lib-devel}
 BuildRequires: audiofile-devel >= 0.2.0
 BuildRequires: autoconf
 BuildRequires: automake
 BuildRequires: libtool
-BuildRequires: pkgconfig
 %{!?_without_libwrap:BuildRequires:    libwrap-devel}
-BuildRoot:     %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
+BuildRequires: pkgconfig
 Obsoletes:     libesound0
+BuildRoot:     %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
 
 %define                _sysconfdir     /etc
 
@@ -68,7 +71,8 @@ Summary(pt_BR):       Bibliotecas, arquivos de inclus
 Summary(ru):   âÉÂÌÉÏÔÅËÉ ÒÁÚÒÁÂÏÔËÉ ÄÌÑ esound
 Summary(uk):   â¦Â̦ÏÔÅËÉ ÒÏÚÒÏÂËÉ ÄÌÑ esound
 Group:         Development/Libraries
-Requires:      %{name} = %{version}
+Requires:      %{name} = %{epoch}:%{version}
+%{!?_without_alsa:Requires:    alsa-lib-devel}
 Requires:      audiofile-devel
 Obsoletes:     libesound0-devel
 
@@ -108,7 +112,7 @@ Summary(pt_BR):     Bibliotecas est
 Summary(ru):   óÔÁÔÉÞÅÓËÉÅ ÂÉÂÌÉÏÔÅËÉ ÒÁÚÒÁÂÏÔËÉ ÄÌÑ esound
 Summary(uk):   óÔÁÔÉÞΦ Â¦Â̦ÏÔÅËÉ ÒÏÚÒÏÂËÉ ÄÌÑ esound
 Group:         Development/Libraries
-Requires:      %{name} = %{version}
+Requires:      %{name} = %{epoch}:%{version}
 
 %description static
 EsounD static library.
@@ -140,12 +144,13 @@ usem o servidor de som EsounD.
 %build
 rm -f missing acinclude.m4
 %{__libtoolize}
-aclocal || ( echo 'AC_DEFUN([AM_PATH_ALSA],[])' > acinclude.m4 && aclocal )
+%{__aclocal}
 %{__autoconf}
 %{__automake}
 %configure \
-       --disable-alsa \
-       --with%{?_without_libwrap:out}-libwrap
+       --enable-ipv6 \
+       --with%{?_without_libwrap:out}-libwrap \
+       %{?_without_alsa:--disable-alsa}
 
 %{__make}
 
@@ -165,7 +170,7 @@ rm -rf $RPM_BUILD_ROOT
 
 %files
 %defattr(644,root,root,755)
-%doc README
+%doc README TIPS docs/html
 
 %config(noreplace) %verify(not md5 mtime size) %{_sysconfdir}/esd.conf
 %attr(755,root,root) %{_bindir}/esd
@@ -184,10 +189,10 @@ rm -rf $RPM_BUILD_ROOT
 
 %files devel
 %defattr(644,root,root,755)
-%doc AUTHORS ChangeLog NEWS
+%doc AUTHORS ChangeLog NEWS TODO
 %attr(755,root,root) %{_bindir}/esd-config
 %attr(755,root,root) %{_libdir}/lib*.so
-%attr(755,root,root) %{_libdir}/lib*.la
+%{_libdir}/lib*.la
 %{_includedir}/*
 %{_aclocaldir}/*
 %{_pkgconfigdir}/esound*
This page took 0.045984 seconds and 4 git commands to generate.