Author: sls                          Date: Fri Dec 14 00:47:48 2007 GMT
Module: SPECS                         Tag: HEAD
---- Log message:
- added flac_buffer_overflow.patch (from Fedora/Gentoo) - fix for CVE-2007-4974
- new subpackage -progs
- really performing tests (--with tests)
- renamed bcond sqlite to regtest and switched off
- added TODO
- rel. 4

---- Files affected:
SPECS:
   libsndfile.spec (1.58 -> 1.59) 

---- Diffs:

================================================================
Index: SPECS/libsndfile.spec
diff -u SPECS/libsndfile.spec:1.58 SPECS/libsndfile.spec:1.59
--- SPECS/libsndfile.spec:1.58  Mon Sep  3 16:55:25 2007
+++ SPECS/libsndfile.spec       Fri Dec 14 01:47:43 2007
@@ -1,7 +1,10 @@
 # $Revision$, $Date$
+# TODO:
+#      - compare flac.patch with Fedora/Gentoo equivalent
+#      - who needs sndfile-regtest?
 #
 # Conditional build:
-%bcond_without sqlite          # disable use of sqlite
+%bcond_with    regtest         # build sndfile-regtest program
 %bcond_without static_libs     # don't build static library
 %bcond_without tests           # don't build tests
 #
@@ -9,13 +12,14 @@
 Summary(pl.UTF-8):     Biblioteka obsługi plików dźwiękowych
 Name:          libsndfile
 Version:       1.0.17
-Release:       3
+Release:       4
 License:       LGPL v2.1+
 Vendor:                Erik de Castro Lopo <[EMAIL PROTECTED]>
 Group:         Development/Libraries
 Source0:       http://www.mega-nerd.com/libsndfile/%{name}-%{version}.tar.gz
 # Source0-md5: 2d126c35448503f6dbe33934d9581f6b
 Patch0:                %{name}-flac.patch
+Patch1:                %{name}-flac_buffer_overflow.patch
 URL:           http://www.mega-nerd.com/libsndfile/
 BuildRequires: alsa-lib-devel
 BuildRequires: autoconf >= 2.54
@@ -25,7 +29,7 @@
 BuildRequires: libtool
 BuildRequires: pkgconfig
 BuildRequires: sed >= 4.0
-%{?with_sqlite:BuildRequires:  sqlite3-devel}
+%{?with_regtest:BuildRequires: sqlite3-devel}
 Obsoletes:     libsndfile1
 BuildRoot:     %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
 
@@ -81,9 +85,27 @@
 Kilka skryptów Octave do ładowania, zapisywania i odtwarzania plików
 dźwiękowych.
 
+%package progs
+Summary:       libsndfile utility programs
+Summary(pl.UTF-8):     Narzędzia korzystające z biblioteki libsndfile
+Group:         Applications/Graphics
+
+%description progs
+libsndfile utility programs:
+- sndfile-convert − convert a sound files from one format to another
+- sndfile-info − display information about a sound file
+- sndfile-play − play a sound file
+
+%description progs -l pl.UTF-8
+Narzędzia z biblioteki libsndfile:
+- sndfile-convert - kowertertuje pliki dźwiękowe
+- sndfile-info - wyświetla informacje o pliku dźwiękowym
+- sndfile-play - odtwarza pliki dźwiękowe
+
 %prep
 %setup -q
 %patch0 -p1
+%patch1 -p1
 
 %if %{without tests}
 %{__sed} -i 's, tests$,,' Makefile.am
@@ -96,9 +118,10 @@
 %{__automake}
 %configure \
        %{!?with_static_libs:--disable-static} \
-       %{!?with_sqlite:--disable-sqlite}
+       %{!?with_regtest:--disable-sqlite}
 
 %{__make}
+%{?with_tests: %{__make} test}
 
 %install
 rm -rf $RPM_BUILD_ROOT
@@ -117,9 +140,7 @@
 %files
 %defattr(644,root,root,755)
 %doc AUTHORS ChangeLog NEWS README TODO
-%attr(755,root,root) %{_bindir}/sndfile-*
 %attr(755,root,root) %{_libdir}/libsndfile.so.*.*
-%{_mandir}/man1/sndfile-*.1*
 
 %files devel
 %defattr(644,root,root,755)
@@ -139,12 +160,27 @@
 %defattr(644,root,root,755)
 %{_datadir}/octave/site/m/*
 
+%files progs
+%defattr(644,root,root,755)
+%attr(755,root,root) %{_bindir}/sndfile-convert
+%attr(755,root,root) %{_bindir}/sndfile-info
+%attr(755,root,root) %{_bindir}/sndfile-play
+%{_mandir}/man1/sndfile-*.1*
+
 %define date   %(echo `LC_ALL="C" date +"%a %b %d %Y"`)
 %changelog
 * %{date} PLD Team <[EMAIL PROTECTED]>
 All persons listed below can be reached at <cvs_login>@pld-linux.org
 
 $Log$
+Revision 1.59  2007-12-14 00:47:43  sls
+- added flac_buffer_overflow.patch (from Fedora/Gentoo) - fix for CVE-2007-4974
+- new subpackage -progs
+- really performing tests (--with tests)
+- renamed bcond sqlite to regtest and switched off
+- added TODO
+- rel. 4
+
 Revision 1.58  2007-09-03 14:55:25  baggins
 - rel 3
 
================================================================

---- CVS-web:
    
http://cvs.pld-linux.org/cgi-bin/cvsweb.cgi/SPECS/libsndfile.spec?r1=1.58&r2=1.59&f=u

_______________________________________________
pld-cvs-commit mailing list
[email protected]
http://lists.pld-linux.org/mailman/listinfo/pld-cvs-commit

Reply via email to