From 7120156f2a0bd41500ff8cb58c07e07dc01a3f5c Mon Sep 17 00:00:00 2001 From: Silvan Calarco Date: Sat, 6 Jan 2024 04:09:26 +0100 Subject: [PATCH] legacy package [release 6.0.1-2mamba;Thu Nov 14 2019] --- README.md | 4 ++ libdvdnav-4.1.2-config.patch | 12 ++++ libdvdread4.spec | 121 +++++++++++++++++++++++++++++++++++ 3 files changed, 137 insertions(+) create mode 100644 libdvdnav-4.1.2-config.patch create mode 100644 libdvdread4.spec diff --git a/README.md b/README.md index 9882c5f..5bc24bc 100644 --- a/README.md +++ b/README.md @@ -1,2 +1,6 @@ # libdvdread4 +libdvdread provides a simple foundation for reading DVD video disks. +It provides the functionality that is required to access many DVDs. +It parses IFO files, reads NAV-blocks, and performs CSS authentication and descrambling. + diff --git a/libdvdnav-4.1.2-config.patch b/libdvdnav-4.1.2-config.patch new file mode 100644 index 0000000..9fccb0b --- /dev/null +++ b/libdvdnav-4.1.2-config.patch @@ -0,0 +1,12 @@ +diff -Nru libdvdnav-4.1.2.orig/misc/dvdnav-config.in libdvdnav-4.1.2/misc/dvdnav-config.in +--- libdvdnav-4.1.2.orig/misc/dvdnav-config.in 2008-01-01 18:31:41.000000000 +0100 ++++ libdvdnav-4.1.2/misc/dvdnav-config.in 2008-05-26 16:39:43.000000000 +0200 +@@ -76,7 +76,7 @@ + fi + + if test "$echo_cflags" = "yes"; then +- echo -I@includedir@ -I@includedir@/dvdread @THREAD_CFLAGS@ ++ echo -I@includedir@ -I@includedir@/dvdread -I@includedir@/dvdnav @THREAD_CFLAGS@ + fi + + if test "$echo_libs" = "yes"; then diff --git a/libdvdread4.spec b/libdvdread4.spec new file mode 100644 index 0000000..3bd18e9 --- /dev/null +++ b/libdvdread4.spec @@ -0,0 +1,121 @@ +%define MAJver %(echo %version | cut -d. -f1) +Name: libdvdread4 +Version: 6.0.1 +Release: 2mamba +Summary: A library for reading DVD video disks +Group: System/Libraries +Vendor: openmamba +Distribution: openmamba +Packager: Aleph0 +URL: http://www.mplayerhq.hu +Source: https://get.videolan.org/libdvdread/%{version}/libdvdread-%{version}.tar.bz2 +Patch0: libdvdnav-4.1.2-config.patch +License: GPL +## AUTOBUILDREQ-BEGIN +BuildRequires: glibc-devel +## AUTOBUILDREQ-END +BuildRoot: %{_tmppath}/%{name}-%{version}-root + +%description +libdvdread provides a simple foundation for reading DVD video disks. +It provides the functionality that is required to access many DVDs. +It parses IFO files, reads NAV-blocks, and performs CSS authentication and descrambling. + +%package devel +Summary: Development files from the libdvdread library +Group: Development/Libraries +Requires: %{name} = %{version}-%{release} + +%description devel +libdvdread provides a simple foundation for reading DVD video disks. +It provides the functionality that is required to access many DVDs. +It parses IFO files, reads NAV-blocks, and performs CSS authentication and descrambling. +You will need to install these development files if you intend to rebuild programs that use this library. + +%debug_package + +%prep +%setup -q -n libdvdread-%{version} +#%patch0 -p1 +autoreconf -f -i + +%build +%configure +%make + +%install +[ "%{buildroot}" != / ] && rm -rf "%{buildroot}" +%makeinstall + +%clean +[ "%{buildroot}" != / ] && rm -rf "%{buildroot}" + +%post -p /sbin/ldconfig +%postun -p /sbin/ldconfig + +%files +%defattr(-, root, root) +%{_libdir}/libdvdread.so.* +%doc AUTHORS COPYING + +%files devel +%defattr(-, root, root) +#%{_bindir}/dvdread-config +%dir %{_includedir}/dvdread/ +%{_includedir}/dvdread/* +%{_libdir}/libdvdread.a +%{_libdir}/libdvdread.la +%{_libdir}/libdvdread.so +%{_libdir}/pkgconfig/dvdread.pc +%dir %{_docdir}/libdvdread +%{_docdir}/libdvdread/* +#%{_datadir}/aclocal/dvdread.m4 +#% doc ChangeLog NEWS README TODO + +%changelog +* Thu Nov 14 2019 Silvan Calarco 6.0.1-2mamba +- legacy package + +* Thu Mar 07 2019 Automatic Build System 6.0.1-1mamba +- automatic version update by autodist + +* Wed Mar 21 2018 Silvan Calarco 6.0.0-1mamba +- update to 6.0.0 + +* Sun Jul 31 2016 Silvan Calarco 5.0.4-1mamba +- update to 5.0.4 + +* Wed Nov 25 2015 Silvan Calarco 5.0.3-1mamba +- update to 5.0.3 + +* Wed Jan 21 2015 Silvan Calarco 5.0.1-1mamba +- update to 5.0.1 + +* Sat Oct 04 2014 Silvan Calarco 5.0.0-1mamba +- update to 5.0.0 + +* Wed Apr 30 2014 Automatic Build System 4.9.9-1mamba +- automatic version update by autodist + +* Sat Dec 28 2013 Silvan Calarco 4.2.1-1mamba +- update to 4.2.1 + +* Sat Dec 01 2012 Automatic Build System 4.2.0-1mamba +- update to 4.2.0 + +* Thu Jan 08 2009 Silvan Calarco 4.1.3-1mamba +- update to 4.1.3 (splitted libdvdnap into libdvdnav and libdvdread) + +* Mon May 26 2008 Silvan Calarco 4.1.2-1mamba +- update to 4.1.2 +- move to mplayer release which also provides libdvdread + +* Thu Oct 11 2007 Aleph0 0.1.10-3mamba +- specfile updated + +* Fri Oct 01 2004 Davide Madrisan 0.1.10-2qilnx +- specfile fixed and modified to match QiLinux standards + +* Sun Sep 19 2004 Matteo Bernasconi 0.1.10-1qilnx +- first buildaggiornamento del pacchetto libdvdnav alla versione [?]... +