diff --git a/README.md b/README.md index a8f623c..8b9ce30 100644 --- a/README.md +++ b/README.md @@ -1,2 +1,6 @@ # libdvdread +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/libdvdread.spec b/libdvdread.spec new file mode 100644 index 0000000..0854fb8 --- /dev/null +++ b/libdvdread.spec @@ -0,0 +1,90 @@ +Name: libdvdread +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/libdvdread-%{version}.tar.xz +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. + +%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}/libdvdread.so.* +%doc AUTHORS ChangeLog COPYING NEWS README TODO + +%files devel +%defattr(-, root, root) +%{_bindir}/dvdread-config +%dir %{_includedir}/dvdread/ +%{_includedir}/dvdread/* +%{_libdir}/libdvdread.la +%{_libdir}/libdvdread.so +%{_libdir}/pkgconfig/dvdread.pc +%{_datadir}/aclocal/dvdread.m4 + +%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 (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 [?]... +