libmp4v2-vl.spec 3.7 KB

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