X-Git-Url: http://git.pld-linux.org/?a=blobdiff_plain;f=esound.spec;h=2fcb5c7d4f1b3572e45a610aadd5c361b69960c2;hb=be68ebd6b9ae49d1cd675765c2ed3cce380dd92d;hp=c0fcc8457e169bbdda179c4682f0242c9e6aa1a9;hpb=a42a00e1098ae1aaeafd575500febf41420d70ae;p=packages%2Fesound.git diff --git a/esound.spec b/esound.spec index c0fcc84..2fcb5c7 100644 --- a/esound.spec +++ b/esound.spec @@ -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.29 -Release: 2 +Version: 0.2.30 +Release: 1 Epoch: 1 License: GPL Group: Daemons -Source0: http://ftp.gnome.org/pub/GNOME/sources/esound/0.2/%{name}-%{version}.tar.gz +Source0: http://ftp.gnome.org/pub/GNOME/sources/%{name}/0.2/%{name}-%{version}.tar.bz2 +# Source0-md5: 1d384836b74849da9e11eeff61027665 Patch0: %{name}-am.patch -Patch1: %{name}-home_etc.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,11 +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 \ - --with%{?_without_libwrap:out}-libwrap + --enable-ipv6 \ + --with%{?_without_libwrap:out}-libwrap \ + %{?_without_alsa:--disable-alsa} %{__make} @@ -164,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 @@ -183,7 +189,7 @@ 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 %{_libdir}/lib*.la