libmp4v2-vl.spec 3.9 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141
  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: 5%{?_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-liblibmp4v2
  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-5
  61. - added Obsoletes: self-build-liblibmp4v2
  62. - added Vendor, Distribution, Packager tags
  63. - fixed %%files
  64. * Sat Mar 20 2010 Munehiro Yamamoto <munepi@vinelinux.org> 1.9.1-4
  65. - change release to sync with self-build-libmp4v2
  66. * Thu Mar 04 2010 Munehiro Yamamoto <munepi@vinelinux.org> 1.9.1-3
  67. - fixed the permission of /usr/include/mp4v2 to access it by group, others
  68. * Sat Feb 20 2010 Munehiro Yamamoto <munepi@vinelinux.org> 1.9.1-2
  69. - added --disable-gch in configure options
  70. * Thu Feb 18 2010 Munehiro Yamamoto <munepi@vinelinux.org> 1.9.1-1
  71. - new upstream release
  72. - changed URL: to http://code.google.com/p/mp4v2/
  73. MP4v2 was originally bundled with mpeg4ip library,
  74. but has been moved into its own maintained library
  75. due to a combination of the cessation of support of mpeg4ip
  76. and the usefulness of this library on its own.
  77. * Tue May 26 2009 Munehiro Yamamoto <munepi@cg8.so-net.ne.jp> 1.5.0.1-2
  78. - change release to sync with self-build-libmp4v2
  79. * Sun Jan 11 2009 Munehiro Yamamoto <munepi@cg8.so-net.ne.jp> 1.5.0.1-1
  80. - initial build
  81. * Tue Feb 19 2008 Fedora Release Engineering <rel-eng@fedoraproject.org> - 1.5.0.1-6
  82. - Autorebuild for GCC 4.3
  83. * Wed Aug 22 2007 Matthias Saou <http://freshrpms.net/> 1.5.0.1-5
  84. - Rebuild for new BuildID feature.
  85. * Sun Aug 5 2007 Matthias Saou <http://freshrpms.net/> 1.5.0.1-4
  86. - Update License field.
  87. * Fri Dec 15 2006 Matthias Saou <http://freshrpms.net/> 1.5.0.1-3
  88. - Spec file cleanup (habits, mostly) preparing to submit for Extras inclusion.
  89. * Fri Oct 06 2006 Thorsten Leemhuis <fedora [AT] leemhuis [DOT] info> 1.5.0.1-2
  90. - rebuilt for unwind info generation, broken in gcc-4.1.1-21
  91. * Tue Jul 18 2006 Noa Resare <noa@resare.com> 1.5.0.1-1
  92. - new upstream release
  93. * Sat May 13 2006 Noa Resare <noa@resare.com> 1.4.1-3
  94. - disabled static lib
  95. - use DESTDIR
  96. - disable-dependency-tracking for faster builds
  97. - removed a manpage template file apt.mpt.gz
  98. * Mon May 08 2006 Noa Resare <noa@resare.com> 1.4.1-2
  99. - specfile cleanups
  100. * Fri May 05 2006 Noa Resare <noa@resare.com> 1.4.1-1.lvn5
  101. - initial release