packages: libsndfile/libsndfile.spec - updated to 1.0.23 - -octave renamed ...
qboosh
qboosh at pld-linux.org
Sun Oct 24 18:13:56 CEST 2010
Author: qboosh Date: Sun Oct 24 16:13:56 2010 GMT
Module: packages Tag: HEAD
---- Log message:
- updated to 1.0.23
- -octave renamed to octave-sndfile
---- Files affected:
packages/libsndfile:
libsndfile.spec (1.73 -> 1.74)
---- Diffs:
================================================================
Index: packages/libsndfile/libsndfile.spec
diff -u packages/libsndfile/libsndfile.spec:1.73 packages/libsndfile/libsndfile.spec:1.74
--- packages/libsndfile/libsndfile.spec:1.73 Wed Aug 18 09:37:48 2010
+++ packages/libsndfile/libsndfile.spec Sun Oct 24 18:13:51 2010
@@ -11,12 +11,12 @@
Summary: C library for reading and writing files containing sampled sound
Summary(pl.UTF-8): Biblioteka obsługi plików dźwiękowych
Name: libsndfile
-Version: 1.0.21
-Release: 2
+Version: 1.0.23
+Release: 1
License: LGPL v2.1+
Group: Libraries
Source0: http://www.mega-nerd.com/libsndfile/files/%{name}-%{version}.tar.gz
-# Source0-md5: 880a40ec636ab2185b97f8927299b292
+# Source0-md5: d0e22b5ff2ef945615db33960376d733
Patch0: octave32.patch
URL: http://www.mega-nerd.com/libsndfile/
BuildRequires: alsa-lib-devel
@@ -32,6 +32,9 @@
BuildRequires: pkgconfig
BuildRequires: sed >= 4.0
%{?with_regtest:BuildRequires: sqlite3-devel >= 3.2}
+Requires: flac >= 1.2.1
+Requires: libogg >= 2:1.1.3
+Requires: libvorbis >= 1:1.2.3
Obsoletes: libsndfile1
BuildRoot: %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
@@ -52,6 +55,8 @@
Group: Development/Libraries
Requires: %{name} = %{version}-%{release}
Requires: flac-devel >= 1.2.1
+Requires: libogg-devel >= 2:1.1.3
+Requires: libvorbis-devel >= 1:1.2.3
Obsoletes: libsndfile1-devel
%description devel
@@ -72,21 +77,6 @@
%description static -l pl.UTF-8
Biblioteki statyczne libsndfile.
-%package octave
-Summary: libsndfile modules for octave
-Summary(pl.UTF-8): Moduły libsndfile dla octave
-Group: Applications/Math
-Requires: %{name} = %{version}-%{release}
-Requires: octave
-
-%description octave
-A couple of script files for loading, saving, and playing sound files
-from within Octave.
-
-%description octave -l pl.UTF-8
-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
@@ -105,6 +95,22 @@
- sndfile-info - wyświetla informacje o pliku dźwiękowym
- sndfile-play - odtwarza pliki dźwiękowe
+%package -n octave-sndfile
+Summary: sndfile module for Octave
+Summary(pl.UTF-8): Moduł sndfile dla Octave
+Group: Applications/Math
+Requires: %{name} = %{version}-%{release}
+Requires: octave
+Obsoletes: libsndfile-octave
+
+%description -n octave-sndfile
+A couple of script files for loading, saving, and playing sound files
+from within Octave.
+
+%description -n octave-sndfile -l pl.UTF-8
+Kilka skryptów Octave do ładowania, zapisywania i odtwarzania plików
+dźwiękowych.
+
%prep
%setup -q
%patch0 -p1
@@ -122,7 +128,8 @@
%{!?with_static_libs:--disable-static} \
%{!?with_regtest:--disable-sqlite}
-%{__make}
+%{__make} \
+ V=1
%{?with_tests: %{__make} test}
%install
@@ -131,7 +138,7 @@
%{__make} install \
DESTDIR=$RPM_BUILD_ROOT
-rm -rf $RPM_BUILD_ROOT%{_docdir}/libsndfile1-dev
+%{__rm} -r $RPM_BUILD_ROOT%{_docdir}/libsndfile1-dev
%clean
rm -rf $RPM_BUILD_ROOT
@@ -159,8 +166,13 @@
%{_libdir}/libsndfile.a
%endif
+%files progs
+%defattr(644,root,root,755)
+%attr(755,root,root) %{_bindir}/sndfile-*
+%{_mandir}/man1/sndfile-*.1*
+
%if %{with octave}
-%files octave
+%files -n octave-sndfile
%defattr(644,root,root,755)
%{_datadir}/octave/site/m/sndfile_*.m
%dir %{_libdir}/octave/*/site/oct/*/sndfile
@@ -168,17 +180,16 @@
%attr(755,root,root) %{_libdir}/octave/*/site/oct/*/sndfile/sndfile.oct
%endif
-%files progs
-%defattr(644,root,root,755)
-%attr(755,root,root) %{_bindir}/sndfile-*
-%{_mandir}/man1/sndfile-*.1*
-
%define date %(echo `LC_ALL="C" date +"%a %b %d %Y"`)
%changelog
* %{date} PLD Team <feedback at pld-linux.org>
All persons listed below can be reached at <cvs_login>@pld-linux.org
$Log$
+Revision 1.74 2010/10/24 16:13:51 qboosh
+- updated to 1.0.23
+- -octave renamed to octave-sndfile
+
Revision 1.73 2010/08/18 07:37:48 arekm
- release 2
================================================================
---- CVS-web:
http://cvs.pld-linux.org/cgi-bin/cvsweb.cgi/packages/libsndfile/libsndfile.spec?r1=1.73&r2=1.74&f=u
More information about the pld-cvs-commit
mailing list