From bcb35ce2aaaa0a3c6eb267f4cb2834d1fdb93f7c Mon Sep 17 00:00:00 2001 From: Silvan Calarco Date: Sat, 6 Jan 2024 04:09:01 +0100 Subject: [PATCH] update to 4.2.1 [release 4.2.1-1mamba;Sat Dec 28 2013] --- README.md | 2 + libdvdnav-4.1.2-config.patch | 12 +++++ libdvdnav.spec | 91 ++++++++++++++++++++++++++++++++++++ 3 files changed, 105 insertions(+) create mode 100644 libdvdnav-4.1.2-config.patch create mode 100644 libdvdnav.spec diff --git a/README.md b/README.md index 3d88078..ec0ad1f 100644 --- a/README.md +++ b/README.md @@ -1,2 +1,4 @@ # libdvdnav +The libdvdnav library provides support to applications wishing to make use of advanced DVD features. + 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/libdvdnav.spec b/libdvdnav.spec new file mode 100644 index 0000000..50a422c --- /dev/null +++ b/libdvdnav.spec @@ -0,0 +1,91 @@ +Name: libdvdnav +Version: 4.2.1 +Release: 1mamba +Summary: A library for reading DVD video disks +Group: System/Libraries +Vendor: openmamba +Distribution: openmamba +Packager: Aleph0 +URL: http://www.mplayerhq.hu +Source: http://dvdnav.mplayerhq.hu/releases/libdvdnav-%{version}.tar.xz +Patch0: libdvdnav-4.1.2-config.patch +License: GPL +## AUTOBUILDREQ-BEGIN +BuildRequires: glibc-devel +## AUTOBUILDREQ-END +BuildRequires: libdvdread-devel +BuildRoot: %{_tmppath}/%{name}-%{version}-root + +%description +The libdvdnav library provides support to applications wishing to make use of advanced DVD features. + +%package devel +Summary: Development files for the libdvdnav DVD menu navigation library +Group: Development/Libraries +Requires: %{name} = %{?epoch:%epoch:}%{version}-%{release} + +%description devel +The libdvdnav library provides support to applications wishing to make use of advanced DVD features. +This package contains the libraries and header files needed to develop applications which will use libdvdnav. + +%prep +%setup -q +#%patch0 -p1 + +%build +./autogen.sh +%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}/libdvdnav.so.* +%{_libdir}/libdvdnavmini.so.* +%doc AUTHORS ChangeLog COPYING NEWS README TODO + +%files devel +%defattr(-, root, root) +%{_bindir}/dvdnav-config +%{_datadir}/aclocal/dvdnav.m4 +%dir %{_includedir}/dvdnav/ +%{_includedir}/dvdnav/* +%{_libdir}/libdvdnav.la +%{_libdir}/libdvdnav.so +%{_libdir}/libdvdnavmini.la +%{_libdir}/libdvdnavmini.so +%{_libdir}/pkgconfig/dvdnav.pc +%{_libdir}/pkgconfig/dvdnavmini.pc + +%changelog +* 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 + +* 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 [?]... +