libid3tag-vl.spec 3.5 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133
  1. # $Id: libid3tag.spec,v 1.9 2004/02/19 09:37:51 dude Exp $
  2. Summary: Library for reading and writing ID3v1 and ID3v2 tags.
  3. Summary(ja): ID3 タグを読み書きするためのライブラリ
  4. Name: libid3tag
  5. Version: 0.15.1b
  6. Release: 5%{_dist_release}
  7. Group: System Environment/Libraries
  8. Source: ftp://ftp.mars.org/pub/mpeg/%{name}-%{version}.tar.gz
  9. Patch10: libid3tag-0.15.1b-gentoo-CVE-2008-2109_fix_overflow.patch
  10. URL: http://www.underbit.com/products/mad/
  11. License: GPLv2
  12. Buildroot: %{_tmppath}/%{name}-%{version}-root
  13. BuildRequires: zlib-devel
  14. BuildRequires: gcc-c++
  15. Conflicts: libmad < 0.15.1b
  16. Vendor: Project Vine
  17. Distribution: Vine Linux
  18. Packager: inagaki
  19. %description
  20. A library for reading and (eventually) writing ID3 tags, both ID3v1 and the
  21. various versions of ID3v2.
  22. %package devel
  23. Summary: Header and library for developing programs that will use libid3tag.
  24. Summary(ja): libid3tag を使うプログラムを開発するためのライブラリ
  25. Group: Development/Libraries
  26. Requires: %{name} = %{version}
  27. Requires: zlib-devel
  28. %description devel
  29. A library for reading and (eventually) writing ID3 tags, both ID3v1 and the
  30. various versions of ID3v2.
  31. This package contains the header file as well as the static library needed
  32. to develop programs that will use libid3tag for ID3 tar reading and writing.
  33. %prep
  34. %setup -q
  35. %patch10 -p0 -b .CVE-2008-2109
  36. %build
  37. %configure --disable-static
  38. make %{_smp_mflags}
  39. cat << EOF > id3tag.pc
  40. prefix=%{_prefix}
  41. exec_prefix=%{_prefix}
  42. libdir=%{_libdir}
  43. includedir=%{_includedir}
  44. Name: id3tag
  45. Description: ID3 tag library
  46. Requires:
  47. Version: %{version}
  48. Libs: -L%{_libdir} -lid3tag -lz
  49. Cflags: -I%{_includedir}
  50. EOF
  51. %install
  52. rm -rf %{buildroot}
  53. %makeinstall
  54. install -m 644 -D id3tag.pc %{buildroot}%{_libdir}/pkgconfig/id3tag.pc
  55. %clean
  56. rm -rf %{buildroot}
  57. %post -p /sbin/ldconfig
  58. %postun -p /sbin/ldconfig
  59. %files
  60. %defattr(-, root, root)
  61. %doc CHANGES COPYING COPYRIGHT CREDITS README TODO
  62. %{_libdir}/*.so.*
  63. %files devel
  64. %defattr(-, root, root)
  65. #{_libdir}/*.a
  66. %exclude %{_libdir}/*.la
  67. %{_libdir}/*.so
  68. %{_libdir}/pkgconfig/*.pc
  69. %{_includedir}/*
  70. %changelog
  71. * Sun Aug 24 2014 Yoji TOYODA <bsyamato@sea.plala.or.jp> 0.15.1b-5
  72. - rebuild with VineSeed environment
  73. * Sun Oct 03 2010 Shu KONNO <owa@bg.wakwak.com> 0.15.1b-4
  74. - rebuilt with rpm-4.8.1 for pkg-config
  75. * Fri Jul 3 2009 Ryoichi INAGAKI <ryo1@bc.wakwak.com> - 0.15.1b-3
  76. - spec in UTF-8
  77. - added --disable-static option to %%configure
  78. * Sun Jun 15 2008 Ryoichi INAGAKI <ryo1@bc.wakwak.com> - 0.15.1b-2vl5
  79. - rebuilt for VineSeed
  80. * Sat Jun 07 2008 Satoshi IWAMOTO <satoshi.iwamoto@nifty.ne.jp> - 0.15.1b-2vl4
  81. - add patch10 for fix CVE-2008-2109 (ID3_FIELD_TYPE_STRINGLIST field)
  82. - new versioning policy
  83. - add Vendor/Distribution tag
  84. * Thu Mar 11 2004 Ryoichi INAGAKI <ryo1@bc.wakwak.com> - 0.15.1b-1vl1
  85. - based on freshrpms package
  86. - rebuild for Vine Linux
  87. - added Japanese summary
  88. - added %post and %postun script
  89. * Thu Feb 19 2004 Matthias Saou <http://freshrpms.net/> - 0.15.1b-1.fr
  90. - Update to 0.15.1b.
  91. * Sun Nov 2 2003 Matthias Saou <http://freshrpms.net/> - 0.15.0b-4.fr
  92. - Rebuild for Fedora Core 1.
  93. * Wed Sep 3 2003 Matthias Saou <matthias.saou@est.une.marmotte.net>
  94. - Fixed the -I in the pkgconfig file, thanks to Michael A. Peters.
  95. * Thu Aug 28 2003 Matthias Saou <matthias.saou@est.une.marmotte.net>
  96. - Added id3tag.pc required by gstreamer-plugins.
  97. - Added zlib-devel dep to the devel package.
  98. * Mon Jul 21 2003 Matthias Saou <matthias.saou@est.une.marmotte.net>
  99. - Added zlib-devel build dep.
  100. * Wed Jun 25 2003 Matthias Saou <matthias.saou@est.une.marmotte.net>
  101. - Initial release of 0.15.0b.