libdvdnav-vl.spec 5.5 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184
  1. Name: libdvdnav
  2. Version: 4.2.0
  3. Release: 1%{?_dist_release}
  4. Summary: A library for reading DVD video discs based on Ogle code
  5. Group: System Environment/Libraries
  6. License: GPLv2+
  7. Source0: http://dvdnav.mplayerhq.hu/releases/libdvdnav-%{version}.tar.bz2
  8. Patch0: %{name}-multilib.patch
  9. Obsoletes: self-build-libdvdnav
  10. BuildRoot: %{_tmppath}/%{name}-%{version}-root
  11. BuildRequires: doxygen
  12. BuildRequires: libdvdread-devel >= 4.1.3-1
  13. Vendor: Project Vine
  14. Distribution: Vine Linux
  15. Packager: munepi
  16. %description
  17. libdvdnav provides a simple library for reading DVD video discs.
  18. The code is based on Ogle and used in, among others, the Xine dvdnav plug-in.
  19. %package devel
  20. Summary: Development files for libdvdnav
  21. Group: Development/Libraries
  22. Requires: %{name} = %{version}-%{release}
  23. Requires: libdvdread-devel >= 4.1.3-1
  24. Requires: pkgconfig
  25. %description devel
  26. libdvdnav-devel contains the files necessary to build packages that use the
  27. libdvdnav library.
  28. %prep
  29. %setup -q
  30. %patch0 -p1 -b .multilib
  31. %build
  32. ./configure2 \
  33. --disable-opts \
  34. --disable-static \
  35. --disable-strip \
  36. --extra-cflags="%{optflags}" \
  37. --libdir=%{_libdir} \
  38. --prefix=%{_prefix} \
  39. --shlibdir=%{_libdir} \
  40. --with-dvdread-config="pkg-config dvdread" \
  41. ;
  42. %{__make} %{?_smp_mflags}
  43. pushd doc
  44. doxygen doxy.conf
  45. popd
  46. %install
  47. %{__rm} -rf %{buildroot}
  48. %{__make} install DESTDIR=%{buildroot}
  49. %{__install} -d -m 755 %{buildroot}/%{_datadir}/aclocal
  50. %{__install} -p -m 644 m4/dvdnav.m4 %{buildroot}/%{_datadir}/aclocal
  51. %clean
  52. %{__rm} -rf %{buildroot}
  53. %post -p /sbin/ldconfig
  54. %postun -p /sbin/ldconfig
  55. %files
  56. %defattr(-,root,root,-)
  57. %doc AUTHORS ChangeLog COPYING NEWS README
  58. %{_libdir}/libdvdnav.so.*
  59. %{_libdir}/libdvdnavmini.so.*
  60. %files devel
  61. %defattr(-,root,root,-)
  62. %doc TODO doc/html/*
  63. %{_bindir}/dvdnav-config
  64. %{_libdir}/libdvdnav.so
  65. %{_libdir}/libdvdnavmini.so
  66. %{_includedir}/dvdnav
  67. %{_datadir}/aclocal/dvdnav.m4
  68. %{_libdir}/pkgconfig/dvdnav.pc
  69. %{_libdir}/pkgconfig/dvdnavmini.pc
  70. %changelog
  71. * Wed Nov 2 2011 Munehiro Yamamoto <munepi@vinelinux.org> 4.2.0-1
  72. - updated to 4.2.0 release
  73. - simplified multilib patch from Fedora rawhide
  74. - added some docs
  75. - added Vendor, Distribution, Packager tags
  76. * Sun Mar 21 2010 Munehiro Yamamoto <munepi@vinelinux.org> 4.1.3-5
  77. - change release to sync with self-build-libdvdnav
  78. * Tue May 26 2009 Munehiro Yamamoto <munepi@cg8.so-net.ne.jp> 4.1.3-4
  79. - change release to sync with self-build-libdvdnav
  80. * Sat Jan 24 2009 Munehiro Yamamoto <munepi@cg8.so-net.ne.jp> 4.1.3-3
  81. - change release to sync with self-build-libdvdnav
  82. * Sat Dec 27 2008 Munehiro Yamamoto <munepi@cg8.so-net.ne.jp> 4.1.3-2
  83. - change release to sync with self-build-libdvdnav
  84. * Sun Nov 02 2008 Munehiro Yamamoto <munepi@cg8.so-net.ne.jp> 4.1.3-1
  85. - initial bulid based on Fedora package
  86. * Tue Sep 09 2008 Dominik Mierzejewski <rpm[AT]greysector.net> 4.1.3-1
  87. - update to 4.1.3 final
  88. * Sun Aug 31 2008 Dominik Mierzejewski <rpm[AT]greysector.net> 4.1.3-0.4.rc1
  89. - update to 4.1.3rc1
  90. - require libdvdread with fixed API
  91. * Fri Jul 25 2008 Dominik Mierzejewski <rpm[AT]greysector.net> 4.1.3-0.3
  92. - add missing file to -devel
  93. * Thu Jul 17 2008 Dominik Mierzejewski <rpm[AT]greysector.net> 4.1.3-0.2
  94. - update to current SVN
  95. - use new external libdvdread
  96. * Fri Jun 06 2008 Dominik Mierzejewski <rpm[AT]greysector.net> 4.1.3-0.1
  97. - update to current SVN (pre-4.1.3)
  98. - macroize
  99. - re-enable parallel make
  100. * Sun Apr 13 2008 Dominik Mierzejewski <rpm[AT]greysector.net> 4.1.2-1
  101. - update to 4.1.2
  102. - drop obsolete patches (merged upstream)
  103. * Tue Feb 19 2008 Fedora Release Engineering <rel-eng@fedoraproject.org> - 4.1.1-6
  104. - Autorebuild for GCC 4.3
  105. * Sun Jan 27 2008 Dominik Mierzejewski <rpm[AT]greysector.net> 4.1.1-5
  106. - fix missing <inttypes.h> include (bug 428910)
  107. * Sun Jan 06 2008 Dominik Mierzejewski <rpm[AT]greysector.net> 4.1.1-4
  108. - make sure -devel requires our version of libdvdread-devel
  109. * Thu Nov 22 2007 Dominik Mierzejewski <rpm[AT]greysector.net> 4.1.1-3
  110. - fix build with internal libdvdread
  111. * Wed Nov 21 2007 Dominik Mierzejewski <rpm[AT]greysector.net> 4.1.1-2
  112. - use upstream non-autotools buildsystem
  113. - build with external libdvdread for older releases
  114. - fix version.h
  115. - fix soname
  116. - fix lib paths on 64bit
  117. * Thu Nov 01 2007 Dominik Mierzejewski <rpm[AT]greysector.net> 4.1.1-1
  118. - switch to new upstream
  119. - libdvdread comes from here now
  120. - apply dvdread udf-related fixes from upstream SVN
  121. * Sun Aug 19 2007 Dominik Mierzejewski <rpm[AT]greysector.net> 0.1.10-4.20070819
  122. - update to current snapshot
  123. - specfile cleanups
  124. * Thu May 03 2007 Dominik Mierzejewski <rpm[AT]greysector.net> 0.1.10-3.20070503
  125. - update to current snapshot from new upstream
  126. - clean up some specfile cruft
  127. - disable static libs
  128. - drop unnecessary explicit dependency on libdvdread
  129. * Mon Mar 13 2006 Thorsten Leemhuis <fedora[AT]leemhuis.info> 0.1.10-2
  130. - Drop Epoch completely
  131. * Thu Mar 09 2006 Andreas Bierfert <andreas.bierfert[AT]lowlatency.de>
  132. - switch to new release field
  133. - drop Epoch
  134. * Tue Feb 28 2006 Andreas Bierfert <andreas.bierfert[AT]lowlatency.de>
  135. - add dist
  136. * Wed Oct 13 2004 Ville Skytt霎ー <ville.skytta at iki.fi> - 0:0.1.10-0.lvn.1
  137. - Update to 0.1.10.
  138. - Disable dependency tracking to speed up the build.
  139. * Wed Jun 25 2003 Thomas Vander Stichele <thomas at apestaart dot org>
  140. - 0:0.1.9-0.fdr.2: incorporated bugzilla suggestions, new release
  141. * Thu May 29 2003 Thomas Vander Stichele <thomas at apestaart dot org>
  142. - 0:0.1.9-0.fdr.1: initial RPM release