From 4eb987814a1b4ba2521ea73ca79f2a4c975f36e3 Mon Sep 17 00:00:00 2001 From: Dominik Mierzejewski Date: Thu, 17 Jul 2008 18:45:17 +0000 Subject: [PATCH] - resurrect from new upstream, after splitting from libdvdnav --- .cvsignore | 2 +- Makefile | 21 +++++++ dead.package | 1 - libdvdread.spec | 164 ++++++++++++++++++++++++++++++++++++++++++++++++ sources | 1 + 5 files changed, 187 insertions(+), 2 deletions(-) create mode 100644 Makefile delete mode 100644 dead.package create mode 100644 libdvdread.spec create mode 100644 sources diff --git a/.cvsignore b/.cvsignore index e66fb80..917dd98 100644 --- a/.cvsignore +++ b/.cvsignore @@ -1 +1 @@ -libdvdread-0.9.7.tar.gz +libdvdread-20080716.tar.bz2 diff --git a/Makefile b/Makefile new file mode 100644 index 0000000..5b3e79d --- /dev/null +++ b/Makefile @@ -0,0 +1,21 @@ +# Makefile for source rpm: libdvdread +# $Id: Makefile,v 1.1 2006/11/27 22:18:46 rathann Exp $ +NAME := libdvdread +SPECFILE = $(firstword $(wildcard *.spec)) + +define find-makefile-common +for d in common ../common ../../common ; do if [ -f $$d/Makefile.common ] ; then if [ -f $$d/CVS/Root -a -w $$/Makefile.common ] ; then cd $$d ; cvs -Q update ; fi ; echo "$$d/Makefile.common" ; break ; fi ; done +endef + +MAKEFILE_COMMON := $(shell $(find-makefile-common)) + +ifeq ($(MAKEFILE_COMMON),) +# attept a checkout +define checkout-makefile-common +test -f CVS/Root && { cvs -Q -d $$(cat CVS/Root) checkout common && echo "common/Makefile.common" ; } || { echo "ERROR: I can't figure out how to checkout the 'common' module." ; exit -1 ; } >&2 +endef + +MAKEFILE_COMMON := $(shell $(checkout-makefile-common)) +endif + +include $(MAKEFILE_COMMON) diff --git a/dead.package b/dead.package deleted file mode 100644 index 45841b3..0000000 --- a/dead.package +++ /dev/null @@ -1 +0,0 @@ -Superseeded by libdvdread subpackage from libdvdnav. diff --git a/libdvdread.spec b/libdvdread.spec new file mode 100644 index 0000000..918a4de --- /dev/null +++ b/libdvdread.spec @@ -0,0 +1,164 @@ +Name: libdvdread +Version: 4.1.3 +Release: 0.2%{?dist} +Summary: A library for reading DVD video discs based on Ogle code + +Group: System Environment/Libraries +License: GPLv2+ +#Source: http://www.mplayerhq.hu/MPlayer/releases/dvdnav/libdvdread-%{version}.tar.gz +# svn export svn://svn.mplayerhq.hu/dvdnav/trunk/libdvdread +Source: %{name}-20080716.tar.bz2 +BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n) + +%description +libdvdread provides a simple foundation for reading DVD video disks. +It provides the functionality that is required to access many DVDs. + +%package devel +Summary: Development files for libdvdread +Group: Development/Libraries +Requires: %{name} = %{version}-%{release} +Requires: pkgconfig + +%description devel +libdvdread provides a simple foundation for reading DVD video disks. +It provides the functionality that is required to access many DVDs. + +This package contains development files for libdvdread. + +%prep +%setup -q + +%build +./configure2 \ + --disable-opts \ + --disable-static \ + --disable-strip \ + --extra-cflags="%{optflags}" \ + --libdir=%{_libdir} \ + --prefix=%{_prefix} \ + --shlibdir=%{_libdir} \ + +%{__make} %{?_smp_mflags} + +%install +%{__rm} -rf %{buildroot} +%{__make} install DESTDIR=%{buildroot} + +%clean +rm -rf %{buildroot} + +%post -p /sbin/ldconfig + +%postun -p /sbin/ldconfig + +%files +%defattr(-,root,root,-) +%{_libdir}/libdvdread.so.* + +%files devel +%defattr(-,root,root,-) +%{_bindir}/dvdread-config +%{_includedir}/libdvdread +%{_libdir}/libdvdread.so +%{_libdir}/pkgconfig/dvdread.pc + +%changelog +* Thu Jul 17 2008 Dominik Mierzejewski 4.1.3-0.2 +- resurrect package from new upstream + +* Sun Jan 27 2008 Dominik Mierzejewski 0.9.7-4 +- fix missing include (bug 428910) + +* Wed Aug 29 2007 Dominik Mierzejewski 0.9.7-3 +- rebuild for BuildID +- update license tag + +* Wed Nov 26 2006 Dominik Mierzejewski 0.9.7-2 +- Rebuild. + +* Fri Oct 6 2006 Dams - 0.9.7-1 +- Updated to 0.9.7 + +* Wed Sep 20 2006 Ville Skyttä - 0.9.6-2 +- Rebuild. + +* Sun Jul 23 2006 Ville Skyttä - 0.9.6-1 +- 0.9.6. +- Specfile cleanup. + +* Thu Mar 16 2006 Ville Skyttä - 0.9.4-4 +- Fix linking with libdl on x86_64. +- Don't ship static libs. +- Build with dependency tracking disabled. +- Convert specfile and docs to UTF-8. +- Improve package descriptions. + +* Thu Mar 16 2006 Dams - 0.9.4-3 +- We BuildConflicting libdvdcss-devel at build time + +* Mon Mar 13 2006 Thorsten Leemhuis 0.9.4-2 +- Drop Epoch completely + +* Thu Mar 09 2006 Andreas Bierfert +- switch to new release field +- drop Epoch + +* Tue Feb 28 2006 Andreas Bierfert +- add dist + +* Thu Apr 3 2003 Marius Johndal 0:0.9.4-0.fdr.1 +- Initial Fedora RPM release. + +* Mon Mar 31 2003 Matthias Saou +- Rebuilt for Red Hat Linux 9. +- Exclude .la file. + +* Sun Feb 16 2003 Matthias Saou +- Update to 0.9.4. + +* Thu Sep 26 2002 Matthias Saou +- Updated to the latest cvs release. +- Rebuilt for Red Hat Linux 8.0. +- Updated URLs. + +* Mon May 27 2002 Matthias Saou +- Update to 0.9.3. + +* Wed May 15 2002 Matthias Saou +- Fixed the libdvdcss.so.0/1/2 problem again. + +* Thu May 2 2002 Matthias Saou +- Back to using libdvdcss 1.1.1, now it's all merged and fine. +- Rebuilt against Red Hat Linux 7.3. +- Added the %{?_smp_mflags} expansion. + +* Sat Jan 12 2002 Matthias Saou +- Reverted back to using libdvdcss 0.0.3.ogle3 since it works MUCH better + than 1.0.x. Doh! + +* Tue Nov 13 2001 Matthias Saou +- Rebuilt against libdvdcss 1.0.0 (added a patch). + +* Mon Oct 29 2001 Matthias Saou +- Spec file cleanup and fixes. + +* Thu Oct 11 2001 Martin Norbäck +- Updated to version 0.9.2 + +* Tue Sep 25 2001 Martin Norbäck +- Added small patch to fix the ldopen of libdvdcss + +* Tue Sep 18 2001 Martin Norbäck +- Updated to version 0.9.1 + +* Fri Sep 14 2001 Martin Norbäck +- Split into normal and devel package + +* Thu Sep 6 2001 Martin Norbäck +- Updated to version 0.9.0 + +* Tue Jul 03 2001 Martin Norbäck +- initial version + + diff --git a/sources b/sources new file mode 100644 index 0000000..6094bea --- /dev/null +++ b/sources @@ -0,0 +1 @@ +dbe121012514a4391dacf6c8b1b1332d libdvdread-20080716.tar.bz2