SHA256
1
0
forked from pool/xine-lib

Accepting request 125288 from multimedia:xine

- don't include .la files in libxine-devel to avoid bogus libtool errors

OBS-URL: https://build.opensuse.org/request/show/125288
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/xine-lib?expand=0&rev=48
This commit is contained in:
Stephan Kulow 2012-06-18 12:52:20 +00:00 committed by Git OBS Bridge
commit 45a7ac7469
2 changed files with 25 additions and 2 deletions

View File

@ -1,3 +1,8 @@
-------------------------------------------------------------------
Mon Jun 18 11:20:29 UTC 2012 - lnussel@suse.de
- don't include .la files in libxine-devel to avoid bogus libtool errors
-------------------------------------------------------------------
Thu Jun 14 20:20:01 UTC 2012 - coolo@suse.com

View File

@ -16,6 +16,7 @@
#
Name: xine-lib
# %bcond_with = default off
# %bcond_without = default on
@ -253,6 +254,7 @@ Autoren:
Guenter Bartsch <guenter@sourceforge.net>
%if %{with pulseaudio}
%package -n libxine2-pulse
Summary: Pulseaudio plugin for xine
License: GPL-2.0+ ; SUSE-Public-Domain
@ -280,6 +282,7 @@ Autoren:
%endif
%if %{with sdl}
%package -n libxine2-sdl
Summary: SDL plugin for xine
License: GPL-2.0+ ; SUSE-Public-Domain
@ -306,6 +309,7 @@ Autoren:
%endif
%if %{with aalib}
%package -n libxine2-aa
Summary: Aalib and libcaca plugin for xine
License: GPL-2.0+ ; SUSE-Public-Domain
@ -332,6 +336,7 @@ Autoren:
%endif
%if %{with esd}
%package -n libxine2-esd
Summary: Esd plugin for xine
License: GPL-2.0+ ; SUSE-Public-Domain
@ -358,6 +363,7 @@ Autoren:
%endif
%if %{with jack}
%package -n libxine2-jack
Summary: Jack plugin for xine
License: GPL-2.0+ ; SUSE-Public-Domain
@ -384,6 +390,7 @@ Autoren:
%endif
%if %{with directfb}
%package -n libxine2-directfb
Summary: Directfb plugin for xine
License: GPL-2.0+ ; SUSE-Public-Domain
@ -410,6 +417,7 @@ Autoren:
%endif
%if %{with gnome_vfs}
%package -n libxine2-gnome-vfs
Summary: Gnome-vfs plugin for xine
License: GPL-2.0+ ; SUSE-Public-Domain
@ -424,6 +432,7 @@ Eingabeplugin welches xine ermöglicht Gnome-vfs zu benutzen
%endif
%if !%{with distributable}
%package -n libxine2-codecs
# these libs are possibly illegal and may not work without libdvdcss anyway
Summary: Xine plugins for watching DVDs, DivX and more
@ -560,6 +569,8 @@ LIB="%{buildroot}%{_libdir}/xine/plugins/%{abiversion}"
#install -m 0644 %{SOURCE1} COPYING AUTHORS %{buildroot}%{_defaultdocdir}/xine/
# remove usless READMEs
rm %{buildroot}%{_defaultdocdir}/xine/README.{irix,solaris,WIN32}
# remove .la files, they are evil
rm %{buildroot}%{_libdir}/*.la
%ifarch %{ix86}
mkdir -p %{buildroot}/usr/lib/win32
%endif
@ -761,6 +772,7 @@ rm -rf %{buildroot}%{_mandir}/man5
rm -rf %{buildroot}
%if !%{with onlynondistributable}
%post -n libxine2 -p /sbin/ldconfig
%postun -n libxine2 -p /sbin/ldconfig
@ -791,36 +803,43 @@ rm -rf %{buildroot}
%endif
%if %{with pulseaudio}
%files -n libxine2-pulse -f files.pulse
%defattr(-,root,root,0755)
%endif
%if %{with sdl}
%files -n libxine2-sdl -f files.sdl
%defattr(-,root,root,0755)
%endif
%if %{with esd}
%files -n libxine2-esd -f files.esd
%defattr(-,root,root,0755)
%endif
%if %{with jack}
%files -n libxine2-jack -f files.jack
%defattr(-,root,root,0755)
%endif
%if %{with aalib}
%files -n libxine2-aa -f files.aalib
%defattr(-,root,root,0755)
%endif
%if %{with directfb}
%files -n libxine2-directfb -f files.directfb
%defattr(-,root,root,0755)
%endif
%if %{with gnome_vfs}
%files -n libxine2-gnome-vfs -f files.gnome-vfs
%defattr(-,root,root,0755)
%endif
@ -830,15 +849,14 @@ rm -rf %{buildroot}
%doc %{_mandir}/man1/xine-config.1.gz
/usr/bin/xine-config
%{_libdir}/pkgconfig/libxine.pc
%{_libdir}/libxine.la
%{_libdir}/libxine.so
%{_libdir}/libxine-interface.la
/usr/share/aclocal/xine.m4
/usr/include/xine
/usr/include/xine.h
%endif # onlynondistributable
%if !%{with distributable}
%files -n libxine2-codecs -f files.codecs
%defattr(-,root,root)
%dir %{_libdir}/xine