auto-import libsndfile-1.0.11-2 on branch devel from
libsndfile-1.0.11-2.src.rpm
This commit is contained in:
parent
6541c4e2c3
commit
0f6011d873
@ -1 +1 @@
|
|||||||
libsndfile-1.0.4.tar.gz
|
libsndfile-1.0.11.tar.gz
|
||||||
|
12
libsndfile-1.0.11-svx-channels.patch
Normal file
12
libsndfile-1.0.11-svx-channels.patch
Normal file
@ -0,0 +1,12 @@
|
|||||||
|
diff -Nur libsndfile-1.0.11-orig/src/svx.c libsndfile-1.0.11/src/svx.c
|
||||||
|
--- libsndfile-1.0.11-orig/src/svx.c 2004-10-17 02:46:34.000000000 +0200
|
||||||
|
+++ libsndfile-1.0.11/src/svx.c 2005-03-05 02:08:14.094919120 +0100
|
||||||
|
@@ -280,7 +280,7 @@
|
||||||
|
|
||||||
|
bytecount += psf_binheader_readf (psf, "E4", &channels) ;
|
||||||
|
|
||||||
|
- psf_log_printf (psf, " Channels : %d => %d\n", channels) ;
|
||||||
|
+ psf_log_printf (psf, " Channels : %d\n", channels) ;
|
||||||
|
|
||||||
|
psf_binheader_readf (psf, "j", dword - bytecount) ;
|
||||||
|
break ;
|
@ -1,18 +1,21 @@
|
|||||||
Summary: A library for reading and writing sound files.
|
Summary: Library for reading and writing sound files
|
||||||
Name: libsndfile
|
Name: libsndfile
|
||||||
Version: 1.0.4
|
Version: 1.0.11
|
||||||
Release: 2
|
Release: 2
|
||||||
License: LGPL
|
License: LGPL
|
||||||
Group: System Environment/Libraries
|
Group: System Environment/Libraries
|
||||||
URL: http://www.zip.com.au/~erikd/libsndfile/
|
URL: http://www.mega-nerd.com/libsndfile/
|
||||||
Source0: http://www.zip.com.au/~erikd/libsndfile/%{name}-%{version}.tar.gz
|
Source0: http://www.mega-nerd.com/libsndfile/libsndfile-%{version}.tar.gz
|
||||||
BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-buildroot
|
Patch0: libsndfile-1.0.11-svx-channels.patch
|
||||||
BuildRequires: pkgconfig
|
BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-buildroot-%(%{__id_u} -n)
|
||||||
|
|
||||||
|
BuildRequires: alsa-lib-devel
|
||||||
|
Provides: %{name}-octave = %{version}-%{release}
|
||||||
|
|
||||||
%package devel
|
%package devel
|
||||||
Summary: Development files for libsndfile.
|
Summary: Development files for libsndfile
|
||||||
Group: Development/Libraries
|
Group: Development/Libraries
|
||||||
Requires: %{name} = %{version}-%{release}
|
Requires: %{name} = %{version}-%{release} pkgconfig
|
||||||
|
|
||||||
%description
|
%description
|
||||||
libsndfile is a C library for reading and writing sound files such as
|
libsndfile is a C library for reading and writing sound files such as
|
||||||
@ -26,19 +29,32 @@ libsndfile is a C library for reading and writing sound files such as
|
|||||||
AIFF, AU, WAV, and others through one standard interface.
|
AIFF, AU, WAV, and others through one standard interface.
|
||||||
This package contains files needed to develop with libsndfile.
|
This package contains files needed to develop with libsndfile.
|
||||||
|
|
||||||
|
|
||||||
%prep
|
%prep
|
||||||
%setup -q
|
%setup -q
|
||||||
|
%patch0 -p1 -b .svx-channels
|
||||||
|
|
||||||
|
|
||||||
%build
|
%build
|
||||||
%configure
|
%configure --disable-dependency-tracking
|
||||||
make %{?_smp_mflags}
|
make %{?_smp_mflags}
|
||||||
|
|
||||||
|
|
||||||
%install
|
%install
|
||||||
rm -rf %{buildroot}
|
rm -rf $RPM_BUILD_ROOT __docs
|
||||||
%makeinstall
|
make install DESTDIR=$RPM_BUILD_ROOT
|
||||||
|
cp -pR $RPM_BUILD_ROOT%{_docdir}/libsndfile1-dev/html __docs
|
||||||
|
rm -rf $RPM_BUILD_ROOT%{_docdir}/libsndfile1-dev
|
||||||
|
|
||||||
|
|
||||||
%clean
|
%clean
|
||||||
rm -rf %{buildroot}
|
rm -rf $RPM_BUILD_ROOT
|
||||||
|
|
||||||
|
|
||||||
|
%post -p /sbin/ldconfig
|
||||||
|
|
||||||
|
%postun -p /sbin/ldconfig
|
||||||
|
|
||||||
|
|
||||||
%files
|
%files
|
||||||
%defattr(-,root,root,-)
|
%defattr(-,root,root,-)
|
||||||
@ -50,23 +66,34 @@ rm -rf %{buildroot}
|
|||||||
%{_mandir}/man1/sndfile-play.1*
|
%{_mandir}/man1/sndfile-play.1*
|
||||||
%{_mandir}/man1/sndfile-convert.1*
|
%{_mandir}/man1/sndfile-convert.1*
|
||||||
%{_libdir}/%{name}.so.*
|
%{_libdir}/%{name}.so.*
|
||||||
%{_datadir}/octave/site/m/sndfile_load.m
|
%{_datadir}/octave
|
||||||
%{_datadir}/octave/site/m/sndfile_play.m
|
|
||||||
%{_datadir}/octave/site/m/sndfile_save.m
|
|
||||||
|
|
||||||
%files devel
|
%files devel
|
||||||
%defattr(-,root,root,-)
|
%defattr(-,root,root,-)
|
||||||
|
%doc __docs/*
|
||||||
%exclude %{_libdir}/%{name}.la
|
%exclude %{_libdir}/%{name}.la
|
||||||
%{_includedir}/sndfile.h
|
%{_includedir}/sndfile.h
|
||||||
%{_libdir}/%{name}.so
|
%{_libdir}/%{name}.so
|
||||||
%{_libdir}/%{name}.a
|
%{_libdir}/%{name}.a
|
||||||
%{_libdir}/pkgconfig/sndfile.pc
|
%{_libdir}/pkgconfig/sndfile.pc
|
||||||
|
|
||||||
|
|
||||||
%changelog
|
%changelog
|
||||||
* Wed Nov 10 2004 Matthias Saou <http://freshrpms.net/> 1.0.4-2
|
* Sat Mar 5 2005 Michael Schwendt <mschwendt[AT]users.sf.net> - 1.0.11-2
|
||||||
- Bump release to provide Extras upgrade path.
|
- Fix format string bug (#149863).
|
||||||
- Fix spaces/tabs uglyness.
|
- Drop explicit Epoch 0.
|
||||||
|
|
||||||
|
* Sat Dec 4 2004 Ville Skyttä <ville.skytta at iki.fi> - 0:1.0.11-0.fdr.1
|
||||||
|
- Update to 1.0.11.
|
||||||
|
|
||||||
|
* Wed Oct 13 2004 Ville Skyttä <ville.skytta at iki.fi> - 0:1.0.10-0.fdr.1
|
||||||
|
- Update to 1.0.10, update URLs, include ALSA support.
|
||||||
|
- Disable dependency tracking to speed up the build.
|
||||||
|
- Add missing ldconfig invocations.
|
||||||
|
- Make -devel require pkgconfig.
|
||||||
|
- Include developer docs in -devel.
|
||||||
|
- Provide -octave in main package, own more related dirs.
|
||||||
|
- Bring specfile up to date with current spec templates.
|
||||||
|
|
||||||
* Sat Apr 12 2003 Dams <anvil[AT]livna.org>
|
* Sat Apr 12 2003 Dams <anvil[AT]livna.org>
|
||||||
- Initial build.
|
- Initial build.
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user