From 260bdd387775ea676efe5d2a2434d20a2f0c1370 Mon Sep 17 00:00:00 2001 From: CentOS Buildsys Date: Jul 19 2013 13:33:05 +0000 Subject: import libdvdnav-4.2.0-6.el7.src.rpm --- diff --git a/.libdvdnav.metadata b/.libdvdnav.metadata new file mode 100644 index 0000000..d631c48 --- /dev/null +++ b/.libdvdnav.metadata @@ -0,0 +1 @@ +ded45d985576169ae3630d8be7179a2323bc0f6f SOURCES/libdvdnav-4.2.0.tar.bz2 diff --git a/README.md b/README.md deleted file mode 100644 index 0e7897f..0000000 --- a/README.md +++ /dev/null @@ -1,5 +0,0 @@ -The master branch has no content - -Look at the c7 branch if you are working with CentOS-7, or the c4/c5/c6 branch for CentOS-4, 5 or 6 - -If you find this file in a distro specific branch, it means that no content has been checked in yet diff --git a/SOURCES/libdvdnav-multilib.patch b/SOURCES/libdvdnav-multilib.patch new file mode 100644 index 0000000..2b6d15c --- /dev/null +++ b/SOURCES/libdvdnav-multilib.patch @@ -0,0 +1,55 @@ +diff -up libdvdnav-4.1.3/Makefile.multilib libdvdnav-4.1.3/Makefile +--- libdvdnav-4.1.3/Makefile.multilib 2008-12-30 15:48:46.000000000 +0100 ++++ libdvdnav-4.1.3/Makefile 2009-09-27 00:36:48.000000000 +0200 +@@ -143,12 +143,6 @@ distclean: clean + dvdnav-config: $(.OBJDIR)/dvdnav-config + $(.OBJDIR)/dvdnav-config: $(BUILDDEPS) + @echo '#!/bin/sh' > $(.OBJDIR)/dvdnav-config +- @echo 'prefix='$(PREFIX) >> $(.OBJDIR)/dvdnav-config +- @echo 'libdir='$(shlibdir) >> $(.OBJDIR)/dvdnav-config +- @echo 'version='$(SHLIB_VERSION) >> $(.OBJDIR)/dvdnav-config +- @echo 'dvdread_cflags="'$(DVDREAD_CFLAGS)'"' >> $(.OBJDIR)/dvdnav-config +- @echo 'dvdread_libs="'$(DVDREAD_LIBS)'"' >> $(.OBJDIR)/dvdnav-config +- @echo 'threadlib='$(THREADLIB) >> $(.OBJDIR)/dvdnav-config + @echo >> $(.OBJDIR)/dvdnav-config + cat $(SRC_PATH_BARE)/misc/dvdnav-config2.sh >> $(.OBJDIR)/dvdnav-config + chmod 0755 $(.OBJDIR)/dvdnav-config +diff -up libdvdnav-4.1.3/misc/dvdnav-config2.sh.multilib libdvdnav-4.1.3/misc/dvdnav-config2.sh +--- libdvdnav-4.1.3/misc/dvdnav-config2.sh.multilib 2008-10-10 00:20:01.000000000 +0200 ++++ libdvdnav-4.1.3/misc/dvdnav-config2.sh 2009-09-27 00:34:39.000000000 +0200 +@@ -30,7 +30,7 @@ while test $# -gt 0; do + echo_prefix=yes + ;; + --version) +- echo $version ++ echo `pkg-config --modversion dvdnav` + ;; + --cflags) + echo_cflags=yes +@@ -52,21 +52,21 @@ while test $# -gt 0; do + done + + if test "$echo_prefix" = "yes"; then +- echo $prefix ++ echo `pkg-config --variable=prefix dvdnav` + fi + + if test "$echo_cflags" = "yes"; then +- echo -I$prefix/include $dvdread_cflags $extracflags $threadcflags ++ echo `pkg-config --cflags dvdnav` + fi + + if test "$echo_minicflags" = "yes"; then +- echo -I$prefix/include -I$prefix/include/dvdnav $extracflags $threadcflags ++ echo `pkg-config --cflags dvdnavmini` + fi + + if test "$echo_libs" = "yes"; then +- echo -L$libdir -ldvdnav $dvdread_libs $threadlib ++ echo `pkg-config --libs dvdnav` + fi + + if test "$echo_minilibs" = "yes"; then +- echo -L$libdir -ldvdnavmini $threadlib ++ echo `pkg-config --libs dvdnavmini` + fi diff --git a/SPECS/libdvdnav.spec b/SPECS/libdvdnav.spec new file mode 100644 index 0000000..7108f03 --- /dev/null +++ b/SPECS/libdvdnav.spec @@ -0,0 +1,188 @@ +Name: libdvdnav +Version: 4.2.0 +Release: 6%{?dist} +Summary: A library for reading DVD video discs based on Ogle code + +Group: System Environment/Libraries +License: GPLv2+ +Source0: http://dvdnav.mplayerhq.hu/releases/libdvdnav-%{version}.tar.bz2 +Patch0: %{name}-multilib.patch +BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n) + +BuildRequires: doxygen +BuildRequires: libdvdread-devel >= 4.1.3-0.3 + +%description +libdvdnav provides a simple library for reading DVD video discs. +The code is based on Ogle and used in, among others, the Xine dvdnav plug-in. + +%package devel +Summary: Development files for libdvdnav +Group: Development/Libraries +Requires: %{name} = %{version}-%{release} +Requires: libdvdread-devel >= 4.1.3-0.3 +Requires: pkgconfig + +%description devel +libdvdnav-devel contains the files necessary to build packages that use the +libdvdnav library. + +%prep +%setup -q +%patch0 -p1 -b .multilib + +%build +./configure2 \ + --disable-opts \ + --disable-static \ + --disable-strip \ + --extra-cflags="%{optflags} -fno-strict-aliasing" \ + --libdir=%{_libdir} \ + --prefix=%{_prefix} \ + --shlibdir=%{_libdir} \ + --with-dvdread-config="pkg-config dvdread" \ + +%{__make} %{?_smp_mflags} +pushd doc +doxygen doxy.conf +popd + +%install +%{__rm} -rf %{buildroot} +%{__make} install DESTDIR=%{buildroot} +%{__install} -d -m 755 %{buildroot}/%{_datadir}/aclocal +%{__install} -p -m 644 m4/dvdnav.m4 %{buildroot}/%{_datadir}/aclocal + +%clean +%{__rm} -rf %{buildroot} + +%post -p /sbin/ldconfig + +%postun -p /sbin/ldconfig + +%files +%defattr(-,root,root,-) +%doc AUTHORS ChangeLog COPYING NEWS README +%{_libdir}/libdvdnav.so.* +%{_libdir}/libdvdnavmini.so.* + +%files devel +%defattr(-,root,root,-) +%doc TODO doc/html/* +%{_bindir}/dvdnav-config +%{_libdir}/libdvdnav.so +%{_libdir}/libdvdnavmini.so +%{_includedir}/dvdnav +%{_datadir}/aclocal/dvdnav.m4 +%{_libdir}/pkgconfig/dvdnav.pc +%{_libdir}/pkgconfig/dvdnavmini.pc + +%changelog +* Thu Jul 18 2013 Matthias Clasen - 4.2.0-5 +- Disable strict aliasing + +* Thu Feb 14 2013 Fedora Release Engineering - 4.2.0-4 +- Rebuilt for https://fedoraproject.org/wiki/Fedora_19_Mass_Rebuild + +* Thu Jul 19 2012 Fedora Release Engineering - 4.2.0-3 +- Rebuilt for https://fedoraproject.org/wiki/Fedora_18_Mass_Rebuild + +* Fri Jan 13 2012 Fedora Release Engineering - 4.2.0-2 +- Rebuilt for https://fedoraproject.org/wiki/Fedora_17_Mass_Rebuild + +* Sun Oct 09 2011 Dominik Mierzejewski 4.2.0-1 +- update to 4.2.0 + +* Mon Apr 11 2011 Dominik Mierzejewski 4.1.4-0.3.svn1226 +- update to SVN r1226 + +* Mon Feb 07 2011 Fedora Release Engineering - 4.1.4-0.2.svn1184 +- Rebuilt for https://fedoraproject.org/wiki/Fedora_15_Mass_Rebuild + +* Sat Sep 26 2009 Dominik Mierzejewski 4.1.4-0.1.svn1184 +- fix multilib conflict, based on a patch by Rex Dieter (rhbz#477684) +- update to SVN r1184 +- move TODO to devel docs + +* Fri Jul 24 2009 Fedora Release Engineering - 4.1.3-3 +- Rebuilt for https://fedoraproject.org/wiki/Fedora_12_Mass_Rebuild + +* Wed Feb 25 2009 Fedora Release Engineering - 4.1.3-2 +- Rebuilt for https://fedoraproject.org/wiki/Fedora_11_Mass_Rebuild + +* Tue Sep 09 2008 Dominik Mierzejewski 4.1.3-1 +- update to 4.1.3 final + +* Sun Aug 31 2008 Dominik Mierzejewski 4.1.3-0.4.rc1 +- update to 4.1.3rc1 +- require libdvdread with fixed API + +* Fri Jul 25 2008 Dominik Mierzejewski 4.1.3-0.3 +- add missing file to -devel + +* Thu Jul 17 2008 Dominik Mierzejewski 4.1.3-0.2 +- update to current SVN +- use new external libdvdread + +* Fri Jun 06 2008 Dominik Mierzejewski 4.1.3-0.1 +- update to current SVN (pre-4.1.3) +- macroize +- re-enable parallel make + +* Sun Apr 13 2008 Dominik Mierzejewski 4.1.2-1 +- update to 4.1.2 +- drop obsolete patches (merged upstream) + +* Tue Feb 19 2008 Fedora Release Engineering - 4.1.1-6 +- Autorebuild for GCC 4.3 + +* Sun Jan 27 2008 Dominik Mierzejewski 4.1.1-5 +- fix missing include (bug 428910) + +* Sun Jan 06 2008 Dominik Mierzejewski 4.1.1-4 +- make sure -devel requires our version of libdvdread-devel + +* Thu Nov 22 2007 Dominik Mierzejewski 4.1.1-3 +- fix build with internal libdvdread + +* Wed Nov 21 2007 Dominik Mierzejewski 4.1.1-2 +- use upstream non-autotools buildsystem +- build with external libdvdread for older releases +- fix version.h +- fix soname +- fix lib paths on 64bit + +* Thu Nov 01 2007 Dominik Mierzejewski 4.1.1-1 +- switch to new upstream +- libdvdread comes from here now +- apply dvdread udf-related fixes from upstream SVN + +* Sun Aug 19 2007 Dominik Mierzejewski 0.1.10-4.20070819 +- update to current snapshot +- specfile cleanups + +* Thu May 03 2007 Dominik Mierzejewski 0.1.10-3.20070503 +- update to current snapshot from new upstream +- clean up some specfile cruft +- disable static libs +- drop unnecessary explicit dependency on libdvdread + +* Mon Mar 13 2006 Thorsten Leemhuis 0.1.10-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 + +* Wed Oct 13 2004 Ville Skyttä - 0:0.1.10-0.lvn.1 +- Update to 0.1.10. +- Disable dependency tracking to speed up the build. + +* Wed Jun 25 2003 Thomas Vander Stichele +- 0:0.1.9-0.fdr.2: incorporated bugzilla suggestions, new release + +* Thu May 29 2003 Thomas Vander Stichele +- 0:0.1.9-0.fdr.1: initial RPM release