This commit is contained in:
parent
d163bb395b
commit
8d8f773a4a
18
libsndfile-ac.diff
Normal file
18
libsndfile-ac.diff
Normal file
@ -0,0 +1,18 @@
|
|||||||
|
--- acinclude.m4
|
||||||
|
+++ acinclude.m4
|
||||||
|
@@ -254,7 +254,6 @@
|
||||||
|
fi
|
||||||
|
|
||||||
|
)
|
||||||
|
-]
|
||||||
|
|
||||||
|
if test $ac_cv_c_byte_order = big ; then
|
||||||
|
ac_cv_c_big_endian=1
|
||||||
|
@@ -273,6 +272,7 @@
|
||||||
|
AC_MSG_WARN([[*****************************************************************]])
|
||||||
|
fi
|
||||||
|
|
||||||
|
+]
|
||||||
|
)# AC_C_FIND_ENDIAN
|
||||||
|
|
||||||
|
|
@ -1,3 +1,14 @@
|
|||||||
|
-------------------------------------------------------------------
|
||||||
|
Mon Apr 16 13:56:20 CEST 2007 - tiwai@suse.de
|
||||||
|
|
||||||
|
- Move docs and manpages to appropriate sub-packages (#264820)
|
||||||
|
- Remove static library (#264820)
|
||||||
|
|
||||||
|
-------------------------------------------------------------------
|
||||||
|
Mon Apr 16 11:12:42 CEST 2007 - schwab@suse.de
|
||||||
|
|
||||||
|
- Fix quoting in autoconf macros.
|
||||||
|
|
||||||
-------------------------------------------------------------------
|
-------------------------------------------------------------------
|
||||||
Fri Apr 13 14:50:15 CEST 2007 - tiwai@suse.de
|
Fri Apr 13 14:50:15 CEST 2007 - tiwai@suse.de
|
||||||
|
|
||||||
|
@ -14,13 +14,14 @@ Name: libsndfile
|
|||||||
BuildRequires: alsa-devel flac-devel gcc-c++ libstdc++-devel pkgconfig sqlite-devel
|
BuildRequires: alsa-devel flac-devel gcc-c++ libstdc++-devel pkgconfig sqlite-devel
|
||||||
Summary: A Library to Handle Various Audio File Formats
|
Summary: A Library to Handle Various Audio File Formats
|
||||||
Version: 1.0.17
|
Version: 1.0.17
|
||||||
Release: 35
|
Release: 36
|
||||||
License: GNU Library General Public License v. 2.0 and 2.1 (LGPL)
|
License: GNU Library General Public License v. 2.0 and 2.1 (LGPL)
|
||||||
Group: System/Libraries
|
Group: System/Libraries
|
||||||
Obsoletes: libsnd
|
Obsoletes: libsnd
|
||||||
Provides: libsnd
|
Provides: libsnd
|
||||||
Source: libsndfile-%{version}.tar.bz2
|
Source: libsndfile-%{version}.tar.bz2
|
||||||
Patch: libsndfile-flac-1.1.4-fix.diff
|
Patch: libsndfile-flac-1.1.4-fix.diff
|
||||||
|
Patch1: libsndfile-ac.diff
|
||||||
URL: http://www.mega-nerd.com/libsndfile/
|
URL: http://www.mega-nerd.com/libsndfile/
|
||||||
BuildRoot: %{_tmppath}/%{name}-%{version}-build
|
BuildRoot: %{_tmppath}/%{name}-%{version}-build
|
||||||
|
|
||||||
@ -86,6 +87,7 @@ Authors:
|
|||||||
%prep
|
%prep
|
||||||
%setup
|
%setup
|
||||||
%patch
|
%patch
|
||||||
|
%patch1
|
||||||
|
|
||||||
%build
|
%build
|
||||||
%define warn_flags -W -Wall -Wstrict-prototypes -Wpointer-arith -Wno-unused-parameter
|
%define warn_flags -W -Wall -Wstrict-prototypes -Wpointer-arith -Wno-unused-parameter
|
||||||
@ -93,11 +95,14 @@ autoreconf --force --install
|
|||||||
%{?suse_update_config:%{suse_update_config -f}}
|
%{?suse_update_config:%{suse_update_config -f}}
|
||||||
CFLAGS="$RPM_OPT_FLAGS -fno-strict-aliasing %{warn_flags}"
|
CFLAGS="$RPM_OPT_FLAGS -fno-strict-aliasing %{warn_flags}"
|
||||||
export CFLAGS
|
export CFLAGS
|
||||||
./configure --prefix=%{_prefix} --libdir=%{_libdir} --mandir=%{_mandir}
|
./configure --prefix=%{_prefix} --libdir=%{_libdir} --mandir=%{_mandir} \
|
||||||
|
--disable-static
|
||||||
make
|
make
|
||||||
|
|
||||||
%install
|
%install
|
||||||
make DESTDIR="$RPM_BUILD_ROOT" install
|
make DESTDIR="$RPM_BUILD_ROOT" install
|
||||||
|
# remove unnecessary files
|
||||||
|
rm -f $RPM_BUILD_ROOT%{_libdir}/*.la
|
||||||
# remove binaries from examples directory
|
# remove binaries from examples directory
|
||||||
make -C examples distclean
|
make -C examples distclean
|
||||||
rm -rf $RPM_BUILD_ROOT%{_datadir}/doc/libsndfile1-dev
|
rm -rf $RPM_BUILD_ROOT%{_datadir}/doc/libsndfile1-dev
|
||||||
@ -113,20 +118,18 @@ test "$RPM_BUILD_ROOT" != "/" -a -d "$RPM_BUILD_ROOT" && rm -rf $RPM_BUILD_ROOT
|
|||||||
|
|
||||||
%files
|
%files
|
||||||
%defattr(-, root, root)
|
%defattr(-, root, root)
|
||||||
%doc AUTHORS COPYING ChangeLog INSTALL NEWS README TODO
|
|
||||||
%doc doc/*.html doc/*.jpg doc/*.css doc/*.HOWTO
|
|
||||||
%{_libdir}/libsndfile.so.*
|
%{_libdir}/libsndfile.so.*
|
||||||
%{_mandir}/man?/*
|
|
||||||
|
|
||||||
%files progs
|
%files progs
|
||||||
%defattr(-, root, root)
|
%defattr(-, root, root)
|
||||||
%{_bindir}/*
|
%{_bindir}/*
|
||||||
|
%doc %{_mandir}/man?/*
|
||||||
|
|
||||||
%files devel
|
%files devel
|
||||||
%defattr(-, root, root)
|
%defattr(-, root, root)
|
||||||
|
%doc AUTHORS COPYING ChangeLog INSTALL NEWS README TODO
|
||||||
|
%doc doc/*.html doc/*.jpg doc/*.css doc/*.HOWTO
|
||||||
%{_libdir}/libsndfile.so
|
%{_libdir}/libsndfile.so
|
||||||
%{_libdir}/libsndfile.a
|
|
||||||
%{_libdir}/libsndfile.la
|
|
||||||
%{_includedir}/sndfile.h
|
%{_includedir}/sndfile.h
|
||||||
%{_includedir}/sndfile.hh
|
%{_includedir}/sndfile.hh
|
||||||
%{_libdir}/pkgconfig/*.pc
|
%{_libdir}/pkgconfig/*.pc
|
||||||
@ -142,6 +145,11 @@ test "$RPM_BUILD_ROOT" != "/" -a -d "$RPM_BUILD_ROOT" && rm -rf $RPM_BUILD_ROOT
|
|||||||
%{_datadir}/octave/site/m/sndfile_save.m
|
%{_datadir}/octave/site/m/sndfile_save.m
|
||||||
|
|
||||||
%changelog
|
%changelog
|
||||||
|
* Mon Apr 16 2007 - tiwai@suse.de
|
||||||
|
- Move docs and manpages to appropriate sub-packages (#264820)
|
||||||
|
- Remove static library (#264820)
|
||||||
|
* Mon Apr 16 2007 - schwab@suse.de
|
||||||
|
- Fix quoting in autoconf macros.
|
||||||
* Fri Apr 13 2007 - tiwai@suse.de
|
* Fri Apr 13 2007 - tiwai@suse.de
|
||||||
- fix FLAC-1.1.4 support.
|
- fix FLAC-1.1.4 support.
|
||||||
* Fri Sep 01 2006 - tiwai@suse.de
|
* Fri Sep 01 2006 - tiwai@suse.de
|
||||||
|
Loading…
x
Reference in New Issue
Block a user