libmp4v2-vl.spec 4.0 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144
  1. %define projname mp4v2
  2. Summary: Library for working with files using the mp4 container format
  3. Name: libmp4v2
  4. Version: 1.9.1
  5. Release: 6%{?_dist_release}
  6. License: MPLv1.1
  7. Group: System Environment/Libraries
  8. #URL: http://resare.com/libmp4v2/
  9. # Source0: http://resare.com/libmp4v2/dist/libmp4v2-%{version}.tar.bz2
  10. # # Only here to be in the source package, "just in case, and FYI"
  11. # Source1: http://resare.com/libmp4v2/mklibmp4v2/mklibmp4v2-r51.tar.bz2
  12. URL: http://code.google.com/p/mp4v2/
  13. Source0: http://mp4v2.googlecode.com/files/%{projname}-%{version}.tar.bz2
  14. Obsoletes: self-build-libmp4v2
  15. BuildRoot: %{_tmppath}/%{name}-%{version}-root
  16. Vendor: Project Vine
  17. Distribution: Vine Linux
  18. Packager: munepi
  19. %description
  20. The libmp4v2 library provides an abstraction layer for working with files
  21. using the mp4 container format. This library is developed by mpeg4ip project
  22. and is an exact copy of the library distributed in the mpeg4ip package.
  23. %package devel
  24. Summary: Development files for the mp4v2 library
  25. Group: Development/Libraries
  26. Requires: %{name} = %{version}-%{release}
  27. %description devel
  28. Development files and documentation needed to develop and compile programs
  29. using the libmp4v2 library.
  30. %prep
  31. %setup -q -n %{projname}-%{version}
  32. %build
  33. %configure \
  34. --disable-static \
  35. --disable-dependency-tracking \
  36. --disable-gch \
  37. ;
  38. %{__make} %{?_smp_mflags}
  39. %install
  40. %{__rm} -rf %{buildroot}
  41. %{__make} install DESTDIR=%{buildroot}
  42. # remove unpackaged files
  43. %{__rm} -rf %{buildroot}%{_mandir}/manm/
  44. %{__rm} -f %{buildroot}%{_libdir}/*.{a,la}
  45. %clean
  46. %{__rm} -rf %{buildroot}
  47. %post -p /sbin/ldconfig
  48. %postun -p /sbin/ldconfig
  49. %files
  50. %defattr(-,root,root)
  51. %doc README COPYING
  52. %{_bindir}/*
  53. %{_libdir}/*.so.*
  54. %{_mandir}/man?/*
  55. %files devel
  56. %defattr(-,root,root)
  57. %{_includedir}/%{projname}/*.h
  58. %{_libdir}/*.so
  59. %changelog
  60. * Wed Nov 2 2011 Munehiro Yamamoto <munepi@vinelinux.org> 1.9.1-6
  61. - s/self-build-liblibmp4v2/self-build-libmp4v2/
  62. * Wed Nov 2 2011 Munehiro Yamamoto <munepi@vinelinux.org> 1.9.1-5
  63. - added Obsoletes: self-build-liblibmp4v2
  64. - added Vendor, Distribution, Packager tags
  65. - fixed %%files
  66. * Sat Mar 20 2010 Munehiro Yamamoto <munepi@vinelinux.org> 1.9.1-4
  67. - change release to sync with self-build-libmp4v2
  68. * Thu Mar 04 2010 Munehiro Yamamoto <munepi@vinelinux.org> 1.9.1-3
  69. - fixed the permission of /usr/include/mp4v2 to access it by group, others
  70. * Sat Feb 20 2010 Munehiro Yamamoto <munepi@vinelinux.org> 1.9.1-2
  71. - added --disable-gch in configure options
  72. * Thu Feb 18 2010 Munehiro Yamamoto <munepi@vinelinux.org> 1.9.1-1
  73. - new upstream release
  74. - changed URL: to http://code.google.com/p/mp4v2/
  75. MP4v2 was originally bundled with mpeg4ip library,
  76. but has been moved into its own maintained library
  77. due to a combination of the cessation of support of mpeg4ip
  78. and the usefulness of this library on its own.
  79. * Tue May 26 2009 Munehiro Yamamoto <munepi@cg8.so-net.ne.jp> 1.5.0.1-2
  80. - change release to sync with self-build-libmp4v2
  81. * Sun Jan 11 2009 Munehiro Yamamoto <munepi@cg8.so-net.ne.jp> 1.5.0.1-1
  82. - initial build
  83. * Tue Feb 19 2008 Fedora Release Engineering <rel-eng@fedoraproject.org> - 1.5.0.1-6
  84. - Autorebuild for GCC 4.3
  85. * Wed Aug 22 2007 Matthias Saou <http://freshrpms.net/> 1.5.0.1-5
  86. - Rebuild for new BuildID feature.
  87. * Sun Aug 5 2007 Matthias Saou <http://freshrpms.net/> 1.5.0.1-4
  88. - Update License field.
  89. * Fri Dec 15 2006 Matthias Saou <http://freshrpms.net/> 1.5.0.1-3
  90. - Spec file cleanup (habits, mostly) preparing to submit for Extras inclusion.
  91. * Fri Oct 06 2006 Thorsten Leemhuis <fedora [AT] leemhuis [DOT] info> 1.5.0.1-2
  92. - rebuilt for unwind info generation, broken in gcc-4.1.1-21
  93. * Tue Jul 18 2006 Noa Resare <noa@resare.com> 1.5.0.1-1
  94. - new upstream release
  95. * Sat May 13 2006 Noa Resare <noa@resare.com> 1.4.1-3
  96. - disabled static lib
  97. - use DESTDIR
  98. - disable-dependency-tracking for faster builds
  99. - removed a manpage template file apt.mpt.gz
  100. * Mon May 08 2006 Noa Resare <noa@resare.com> 1.4.1-2
  101. - specfile cleanups
  102. * Fri May 05 2006 Noa Resare <noa@resare.com> 1.4.1-1.lvn5
  103. - initial release