From 784453840d59cc8a2312e87ce7c522b252d06cf9 Mon Sep 17 00:00:00 2001 From: Silvan Calarco Date: Sat, 6 Jan 2024 06:12:16 +0100 Subject: [PATCH] obsolete libxine1, add a -tools subpackage, add debug package [release 1.2.10-2mamba;Wed Jan 01 2020] --- libxine.spec | 47 ++++++++++++++++++++++++++++++++++++----------- 1 file changed, 36 insertions(+), 11 deletions(-) diff --git a/libxine.spec b/libxine.spec index f9f14f9..8dc3d07 100644 --- a/libxine.spec +++ b/libxine.spec @@ -2,8 +2,8 @@ %define with_arts 0 Name: libxine -Version: 1.2.6 -Release: 1mamba +Version: 1.2.10 +Release: 2mamba Epoch: 2 Summary: A free multimedia player. It plays back CDs, DVDs, and VCDs Group: System/Libraries @@ -83,6 +83,8 @@ BuildRequires: ImageMagick BuildRequires: libdca-devel Requires: ImageMagick Provides: %{pkgname} = %{epoch}:%{version}-%{release} +Requires: %{name}-tools = %{epoch}:%{version}-%{release} +Obsoletes: libxine1 BuildRoot: %{_tmppath}/%{name}-%{version}-root # FIXME (missing Build Requirements): @@ -102,7 +104,9 @@ xine itself is a shared library with an easy to use, yet powerful API which is u Summary: Devel files for xine libraries Group: Development/Libraries Requires: %{name} = %{epoch}:%{version}-%{release} +Requires: %{name}-tools = %{epoch}:%{version}-%{release} Provides: %{pkgname}-devel = %{epoch}:%{version}-%{release} +Obsoletes: libxine1-devel %description devel xine is a free (GPL-licensed) high-performance, portable and reusable multimedia playback engine. @@ -110,6 +114,19 @@ xine itself is a shared library with an easy to use, yet powerful API which is u This is the devel package for the xine-lib library. +%package tools +Summary: Tools provided with xine libraries +Group: Applications/Multimedia +Requires: %{name} = %{epoch}:%{version}-%{release} + +%description tools +xine is a free (GPL-licensed) high-performance, portable and reusable multimedia playback engine. +xine itself is a shared library with an easy to use, yet powerful API which is used by many applications for smooth video playback and video processing purposes. + +This is the devel package for the xine-lib library. + +%debug_package + %prep %setup -q -n %{pkgname}-%{version} #%patch2 -p1 @@ -169,34 +186,42 @@ mv %{buildroot}%{_datadir}/doc/xine-lib \ %files -f libxine2.lang %defattr(-,root,root) -%{_bindir}/xine-list-* -%dir %{_datadir}/xine-lib -%{_datadir}/xine-lib/* %{_libdir}/*.so.* %dir %{_libdir}/xine %{_libdir}/xine/plugins/ %dir %{_libdir}/win32 %{_libdir}/win32/README_w32codecs -%{_mandir}/man1/xine-list-* -%{_mandir}/man5/xine.* -%exclude %{_datadir}/doc/libxine-%{version}/ %doc AUTHORS COPYING %files devel %defattr(-,root,root) %{_bindir}/xine-config %{_datadir}/aclocal/xine.m4 -%{_libdir}/pkgconfig/libxine.pc -%{_libdir}/*.la -%{_libdir}/*.so %dir %{_includedir}/xine %{_includedir}/xine/*.h %{_includedir}/xine.h +%{_libdir}/*.la +%{_libdir}/*.so +%{_libdir}/pkgconfig/libxine.pc %{_datadir}/doc/libxine-%{version}/ %{_mandir}/man1/xine-config.* +%{_mandir}/man5/xine.* %doc ChangeLog CREDITS TODO +%files tools +%defattr(-,root,root) +%{_bindir}/xine-list-* +%{_mandir}/man1/xine-list-* +%dir %{_datadir}/xine-lib +%{_datadir}/xine-lib/* + %changelog +* Wed Jan 01 2020 Silvan Calarco 1.2.10-2mamba +- obsolete libxine1, add a -tools subpackage, add debug package + +* Tue Dec 31 2019 Automatic Build System 1.2.10-1mamba +- automatic version update by autodist + * Tue Jul 08 2014 Automatic Build System 1.2.6-1mamba - automatic version update by autodist