[mingw-libogg: 2/11] package import

epienbro epienbro at fedoraproject.org
Wed Mar 7 19:35:34 UTC 2012


commit 6c92be6d74472369253c7c12bc3b6cd5510ce32a
Author: Gerd Hoffmann <kraxel at fedoraproject.org>
Date:   Wed Jul 14 15:08:41 2010 +0000

    package import

 .cvsignore          |    1 +
 import.log          |    1 +
 mingw32-libogg.spec |   59 +++++++++++++++++++++++++++++++++++++++++++++++++++
 sources             |    1 +
 4 files changed, 62 insertions(+), 0 deletions(-)
---
diff --git a/.cvsignore b/.cvsignore
index e69de29..f38bef0 100644
--- a/.cvsignore
+++ b/.cvsignore
@@ -0,0 +1 @@
+libogg-1.1.4.tar.gz
diff --git a/import.log b/import.log
new file mode 100644
index 0000000..69aa506
--- /dev/null
+++ b/import.log
@@ -0,0 +1 @@
+mingw32-libogg-1_1_4-2_fc14:HEAD:mingw32-libogg-1.1.4-2.fc14.src.rpm:1279120068
diff --git a/mingw32-libogg.spec b/mingw32-libogg.spec
new file mode 100644
index 0000000..1e18cea
--- /dev/null
+++ b/mingw32-libogg.spec
@@ -0,0 +1,59 @@
+%define __strip %{_mingw32_strip}
+%define __objdump %{_mingw32_objdump}
+%define _use_internal_dependency_generator 0
+%define __find_requires %{_mingw32_findrequires}
+%define __find_provides %{_mingw32_findprovides}
+
+Summary:        The Ogg bitstream file format library
+Name:           mingw32-libogg
+Version:        1.1.4
+Release:        2%{?dist}
+Group:          System Environment/Libraries
+License:        BSD
+URL:            http://www.xiph.org/
+Source:         http://downloads.xiph.org/releases/ogg/libogg-%{version}.tar.gz
+
+BuildArch:      noarch
+BuildRequires:  mingw32-filesystem >= 49
+BuildRequires:  mingw32-gcc
+BuildRequires:  mingw32-binutils
+Requires:       pkgconfig
+
+%description
+Libogg is a library for manipulating Ogg bitstream file formats.
+Libogg supports both making Ogg bitstreams and getting packets from
+Ogg bitstreams.
+
+
+%prep
+%setup -q -n libogg-%{version}
+
+%build
+sed -i "s/-O20/-O2/" configure
+sed -i "s/-ffast-math//" configure
+%{_mingw32_configure} --disable-static
+make %{?_smp_mflags}
+
+%install
+make DESTDIR=$RPM_BUILD_ROOT install
+# zap docs, redundant with native package
+rm -rf $RPM_BUILD_ROOT%{_mingw32_docdir}
+
+%files
+%defattr(-,root,root)
+%doc AUTHORS CHANGES COPYING README
+%{_mingw32_bindir}/libogg*
+%{_mingw32_libdir}/libogg*
+%{_mingw32_libdir}/pkgconfig/ogg.pc
+%dir %{_mingw32_includedir}/ogg
+%{_mingw32_includedir}/ogg/ogg.h
+%{_mingw32_includedir}/ogg/os_types.h
+%{_mingw32_includedir}/ogg/config_types.h
+%{_mingw32_datadir}/aclocal/ogg.m4
+
+%changelog
+* Tue Jul 13 2010 Gerd Hoffmann <kraxel at redhat.com> - 1.1.4-2
+- Remove documentation.
+
+* Mon Jul 12 2010 Gerd Hoffmann <kraxel at redhat.com> - 1.1.4-1
+- Initial package.
diff --git a/sources b/sources
index e69de29..2e8e8c4 100644
--- a/sources
+++ b/sources
@@ -0,0 +1 @@
+10200ec22543841d9d1c23e0aed4e5e9  libogg-1.1.4.tar.gz


More information about the scm-commits mailing list