libmp4v2-vl.spec 4.0 KB

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