Accepting request 80120 from multimedia:libs
- remove examples that fail to build, also SDL and png are only needed for those, so remove from buildrequires. (forwarded request 80116 from elvigia) OBS-URL: https://build.opensuse.org/request/show/80120 OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/libtheora?expand=0&rev=24
This commit is contained in:
commit
f153ec7cd3
@ -1,3 +1,9 @@
|
||||
-------------------------------------------------------------------
|
||||
Mon Aug 29 19:11:23 UTC 2011 - crrodriguez@opensuse.org
|
||||
|
||||
- remove examples that fail to build, also SDL and png
|
||||
are only needed for those, so remove from buildrequires.
|
||||
|
||||
-------------------------------------------------------------------
|
||||
Wed Jul 27 23:53:06 UTC 2011 - crrodriguez@opensuse.org
|
||||
|
||||
|
@ -19,7 +19,7 @@
|
||||
|
||||
|
||||
Name: libtheora
|
||||
BuildRequires: SDL-devel gcc-c++ libogg-devel libpng-devel libvorbis-devel pkg-config python
|
||||
BuildRequires: gcc-c++ libogg-devel libvorbis-devel pkg-config python
|
||||
Url: http://www.theora.org/
|
||||
License: BSD3c(or similar)
|
||||
Group: Productivity/Multimedia/Other
|
||||
@ -97,7 +97,7 @@ Authors:
|
||||
|
||||
%build
|
||||
ACLOCAL="aclocal -I m4" autoreconf -f -i
|
||||
%configure \
|
||||
%configure --disable-examples \
|
||||
--disable-static \
|
||||
--with-pic
|
||||
%{__make} %{?jobs:-j%jobs} docdir=%{_docdir}/%{name}
|
||||
@ -105,21 +105,8 @@ ACLOCAL="aclocal -I m4" autoreconf -f -i
|
||||
%install
|
||||
%makeinstall docdir=%{_docdir}/%{name}
|
||||
%{__install} -d $RPM_BUILD_ROOT%{_bindir}
|
||||
# Use non-generic name here to prevent vague meaning:
|
||||
%{__install} examples/.libs/dump_video $RPM_BUILD_ROOT%{_bindir}/dump_video_theora
|
||||
%{__install} examples/.libs/encoder_example $RPM_BUILD_ROOT%{_bindir}/encoder_example_theora
|
||||
%{__install} examples/.libs/player_example $RPM_BUILD_ROOT%{_bindir}/player_example_theora
|
||||
# And provide symlinks to old names (<= openSUSE 10.2):
|
||||
%{__ln_s} dump_video_theora $RPM_BUILD_ROOT%{_bindir}/dump_video
|
||||
%{__ln_s} encoder_example_theora $RPM_BUILD_ROOT%{_bindir}/encoder_example
|
||||
%{__ln_s} player_example_theora $RPM_BUILD_ROOT%{_bindir}/player_example
|
||||
# Install remaining parts of documentation.
|
||||
%{__cp} -a AUTHORS CHANGES COPYING LICENSE README $RPM_BUILD_ROOT%{_docdir}/%{name}
|
||||
cd examples
|
||||
%{__make} clean
|
||||
%{__cp} -a . $RPM_BUILD_ROOT%{_docdir}/%{name}/examples
|
||||
cd $RPM_BUILD_ROOT%{_docdir}/%{name}/examples
|
||||
%{__rm} -rf .deps Makefile*
|
||||
|
||||
%check
|
||||
%{__make} check
|
||||
@ -141,7 +128,6 @@ cd $RPM_BUILD_ROOT%{_docdir}/%{name}/examples
|
||||
%defattr(-,root,root)
|
||||
%doc %dir %{_docdir}/%{name}
|
||||
%doc %{_docdir}/%{name}/*
|
||||
%{_bindir}/*
|
||||
%{_includedir}/theora
|
||||
%{_libdir}/*.so
|
||||
%{_libdir}/pkgconfig/theoradec.pc
|
||||
|
Loading…
x
Reference in New Issue
Block a user