Accepting request 98146 from multimedia:libs

- own aclocal directory

- -O20 optimization level does not exist, use -O3

OBS-URL: https://build.opensuse.org/request/show/98146
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/libogg?expand=0&rev=25
This commit is contained in:
Stephan Kulow 2011-12-27 17:36:50 +00:00 committed by Git OBS Bridge
commit b496155e44
2 changed files with 17 additions and 2 deletions

View File

@ -1,3 +1,13 @@
-------------------------------------------------------------------
Sun Dec 25 15:06:51 UTC 2011 - coolo@suse.com
- own aclocal directory
-------------------------------------------------------------------
Sun Dec 25 11:14:05 UTC 2011 - idonmez@suse.com
- -O20 optimization level does not exist, use -O3
------------------------------------------------------------------- -------------------------------------------------------------------
Sun Nov 20 19:18:37 UTC 2011 - reddwarf@opensuse.org Sun Nov 20 19:18:37 UTC 2011 - reddwarf@opensuse.org

View File

@ -21,10 +21,10 @@
Name: libogg Name: libogg
Version: 1.3.0 Version: 1.3.0
Release: 0 Release: 0
License: BSD-3-Clause
Summary: Ogg Bitstream Library Summary: Ogg Bitstream Library
Url: http://www.vorbis.com/ License: BSD-3-Clause
Group: System/Libraries Group: System/Libraries
Url: http://www.vorbis.com/
Source: http://downloads.xiph.org/releases/ogg/%{name}-%{version}.tar.gz Source: http://downloads.xiph.org/releases/ogg/%{name}-%{version}.tar.gz
Source2: baselibs.conf Source2: baselibs.conf
Patch1: lib64.dif Patch1: lib64.dif
@ -40,6 +40,7 @@ codec ) and the libtheora (Theora video codec)
%package -n libogg%{_SO_nr} %package -n libogg%{_SO_nr}
Summary: Ogg Bitstream Library Summary: Ogg Bitstream Library
Group: System/Libraries
%description -n libogg%{_SO_nr} %description -n libogg%{_SO_nr}
Libogg is a library for manipulating ogg bitstreams. It handles both Libogg is a library for manipulating ogg bitstreams. It handles both
@ -66,6 +67,9 @@ if [ "%{_lib}" == "lib64" ]; then
fi fi
%build %build
# Fix optimization level
sed -i s,-O20,-O3,g configure
%configure --disable-static %configure --disable-static
make %{?_smp_mflags} make %{?_smp_mflags}
@ -91,6 +95,7 @@ make check
%{_docdir}/%{name}-devel %{_docdir}/%{name}-devel
%{_includedir}/ogg %{_includedir}/ogg
%{_libdir}/libogg.so %{_libdir}/libogg.so
%dir %{_datadir}/aclocal
%{_datadir}/aclocal/ogg.m4 %{_datadir}/aclocal/ogg.m4
%{_libdir}/pkgconfig/ogg.pc %{_libdir}/pkgconfig/ogg.pc