[mingw-libvorbis] Initial import (#722707)

Kalev Lember kalev at fedoraproject.org
Tue Jul 19 13:28:20 UTC 2011


commit 807e229590c774c93ee0af51418d47fc182454bc
Author: Kalev Lember <kalevlember at gmail.com>
Date:   Tue Jul 19 16:26:36 2011 +0300

    Initial import (#722707)

 .gitignore           |    1 +
 mingw-libvorbis.spec |   81 ++++++++++++++++++++++++++++++++++++++++++++++++++
 sources              |    1 +
 3 files changed, 83 insertions(+), 0 deletions(-)
---
diff --git a/.gitignore b/.gitignore
index e69de29..ff5a54a 100644
--- a/.gitignore
+++ b/.gitignore
@@ -0,0 +1 @@
+/libvorbis-1.3.2.tar.gz
diff --git a/mingw-libvorbis.spec b/mingw-libvorbis.spec
new file mode 100644
index 0000000..0e871c3
--- /dev/null
+++ b/mingw-libvorbis.spec
@@ -0,0 +1,81 @@
+%global __strip %{_mingw32_strip}
+%global __objdump %{_mingw32_objdump}
+%define __debug_install_post %{_mingw32_debug_install_post}
+
+Name:           mingw-libvorbis
+Version:        1.3.2
+Release:        1%{?dist}
+Summary:        MinGW Windows libvorbis library
+
+License:        BSD
+Group:          Development/Libraries
+URL:            http://www.xiph.org/
+Source0:        http://downloads.xiph.org/releases/vorbis/libvorbis-%{version}.tar.gz
+
+BuildArch:      noarch
+
+BuildRequires:  mingw32-filesystem >= 68
+BuildRequires:  mingw32-gcc
+BuildRequires:  mingw32-binutils
+BuildRequires:  mingw32-libogg
+
+%description
+Ogg Vorbis is a fully open, non-proprietary, patent- and royalty-free,
+general-purpose compressed audio format for audio and music at fixed
+and variable bitrates from 16 to 128 kbps/channel.
+
+This package contains the MinGW Windows cross compiled libvorbis library.
+
+
+%package -n mingw32-libvorbis
+Summary:        MinGW Windows libvorbis library
+
+%description -n mingw32-libvorbis
+Ogg Vorbis is a fully open, non-proprietary, patent- and royalty-free,
+general-purpose compressed audio format for audio and music at fixed
+and variable bitrates from 16 to 128 kbps/channel.
+
+This package contains the MinGW Windows cross compiled libvorbis library.
+
+
+%{?_mingw32_debug_package}
+
+
+%prep
+%setup -q -n libvorbis-%{version}
+
+
+%build
+sed -i 's/-O20//' configure
+%{_mingw32_configure} --disable-static
+
+make %{?_smp_mflags} V=1
+
+
+%install
+make install DESTDIR=$RPM_BUILD_ROOT
+
+rm -rf $RPM_BUILD_ROOT%{_mingw32_datadir}/doc/
+
+
+%files -n mingw32-libvorbis
+%doc COPYING
+%{_mingw32_bindir}/libvorbis-0.dll
+%{_mingw32_bindir}/libvorbisenc-2.dll
+%{_mingw32_bindir}/libvorbisfile-3.dll
+%{_mingw32_includedir}/vorbis/
+%{_mingw32_libdir}/libvorbis.dll.a
+%{_mingw32_libdir}/libvorbis.la
+%{_mingw32_libdir}/libvorbisenc.dll.a
+%{_mingw32_libdir}/libvorbisenc.la
+%{_mingw32_libdir}/libvorbisfile.dll.a
+%{_mingw32_libdir}/libvorbisfile.la
+%{_mingw32_libdir}/pkgconfig/vorbis.pc
+%{_mingw32_libdir}/pkgconfig/vorbisenc.pc
+%{_mingw32_libdir}/pkgconfig/vorbisfile.pc
+%{_mingw32_datadir}/aclocal/vorbis.m4
+
+
+%changelog
+* Sun Jul 17 2011 Kalev Lember <kalevlember at gmail.com> - 1.3.2-1
+- Initial RPM release
diff --git a/sources b/sources
index e69de29..f2ff17f 100644
--- a/sources
+++ b/sources
@@ -0,0 +1 @@
+c870b9bd5858a0ecb5275c14486d9554  libvorbis-1.3.2.tar.gz


More information about the scm-commits mailing list