id3lib-vl.spec 6.3 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199
  1. Name: id3lib
  2. Summary: A software library for manipulating ID3v1 and ID3v2 tags
  3. Summary(ja): ID3v1/v2 タグを扱うためのライブラリ
  4. Version: 3.8.3
  5. Release: 2%{?_dist_release}
  6. Group: System Environment/Libraries
  7. License: LGPLv2
  8. URL: http://id3lib.sourceforge.net/
  9. Source: http://prdownloads.sourceforge.net/id3lib/id3lib-%{version}.tar.gz
  10. Patch0: http://prdownloads.sourceforge.net/easytag/patch_id3lib_3.8.3_UTF16_writing_bug.diff
  11. Patch1: id3lib-3.8.3-fix-id3v2-latest.patch
  12. Patch2: id3lib-3.8.3-mkstemp.patch
  13. Patch3: id3lib-3.8.3-includes.patch
  14. Patch4: http://launchpadlibrarian.net/33114077/id3lib-vbr_buffer_overflow.diff
  15. BuildRoot: %{_tmppath}/%{name}-%{version}-root
  16. BuildRequires: zlib-devel
  17. Vendor: Project Vine
  18. Distribution: Vine Linux
  19. %description
  20. This package provides a software library for manipulating ID3v1 and ID3v2 tags.
  21. It provides a convenient interface for software developers to include
  22. standards-compliant ID3v1/2 tagging capabilities in their applications.
  23. Features include identification of valid tags, automatic size conversions,
  24. (re)synchronisation of tag frames, seamless tag (de)compression, and optional
  25. padding facilities. Additionally, it can tell mp3 header info, like bitrate etc.
  26. %description -l ja
  27. ID3v1/v2 タグを扱うためのライブラリです。
  28. 標準に従った ID3v1/v2 タグ機能をアプリケーションに含めるための便利なイン
  29. ターフェイスを提供します。
  30. 含まれている機能には、有効なタグの識別、自動的なサイズ変換、タグフレーム
  31. の (再) 同期化、シームレスなタグの圧縮 (及び伸長) などがあります。
  32. %package devel
  33. Summary: Headers for developing programs that will use id3lib
  34. Summary(ja): id3lib を使うソフトウェアの開発用ヘッダーファイル
  35. Group: Development/Libraries
  36. Requires: %{name} = %{version}
  37. Requires: zlib-devel
  38. %description devel
  39. This package contains the headers that programmers will need to develop
  40. applications which will use id3lib, the software library for ID3v1 and ID3v2
  41. tag manipulation.
  42. %description -l ja devel
  43. このパッケージには id3lib を使うアプリケーションの開発に必要なヘッダー
  44. ファイルが含まれています。
  45. %prep
  46. %setup -q
  47. %patch0 -p1 -b .UTF-16
  48. %patch1 -p1 -b .id3v2-latest
  49. %patch2 -p1 -b .mkstemp
  50. %patch3 -p1 -b .gcc43
  51. %patch4 -p1
  52. chmod -x src/*.h src/*.cpp include/id3/*.h
  53. %build
  54. %configure --enable-debug=no --enable-static=no
  55. %__make
  56. ( cd doc ; %__make index.html )
  57. %install
  58. %__rm -rf $RPM_BUILD_ROOT
  59. %makeinstall
  60. rm -f $RPM_BUILD_ROOT%{_libdir}/lib*.la
  61. %clean
  62. %__rm -rf $RPM_BUILD_ROOT
  63. %post -p /sbin/ldconfig
  64. %postun -p /sbin/ldconfig
  65. %files
  66. %defattr(-,root,root)
  67. %doc AUTHORS COPYING ChangeLog HISTORY NEWS README THANKS TODO
  68. %doc doc/*.html doc/*.css doc/*.gif doc/*.png doc/*.txt
  69. %{_bindir}/id3*
  70. %{_libdir}/*.so.*
  71. %files devel
  72. %defattr(-,root,root)
  73. %{_includedir}/id3*.h
  74. %{_includedir}/id3
  75. #{_libdir}/*.la
  76. #{_libdir}/*.a
  77. %{_libdir}/*.so
  78. %changelog
  79. * Sat Mar 26 2011 Ryoichi INAGAKI <ryo1@bc.wakwak.com> 3.8.3-2
  80. - added Patch3 to build with current toolchain
  81. * Sun Jun 15 2008 Ryoichi INAGAKI <ryo1@bc.wakwak.com> 3.8.3-1
  82. - applied new versioning policy
  83. - removed lib*.la files from devel package
  84. - spec in UTF-8
  85. * Wed Sep 05 2007 KAZUKI SHIMURA <ksh753@y5.dion.ne.jp> 3.8.3-0vl8
  86. - [SECURITY] add mktemp.patch (patch2)
  87. - fix insecure temporary file creation vulnerability (CVE-2007-4460)
  88. * Fri May 25 2007 Daisuke SUZUKI <daisuke@linux.or.jp> 3.8.3-0vl7
  89. - rebuild with new environment/toolchain
  90. * Tue Oct 24 2006 KAZUKI SHIMURA <kazuki@ma.ccnw.ne.jp> 3.8.3-0vl6
  91. - rebuild
  92. * Tue Oct 24 2006 KAZUKI SHIMURA <kazuki@ma.ccnw.ne.jp> 3.8.3-0vl5
  93. - add UTF16_writing_bug.diff (patch0) to fix UTF-16 writing <Tracker:1016290>
  94. - add fix-id3v2-latest.patch (patch1) to read ID3v2.4.0 tags <Tracker:1500788>
  95. - add --enable-static=no option to %%configure
  96. * Thu Feb 02 2006 KAZUKI SHIMURA <kazuki@ma.ccnw.ne.jp> 3.8.3-0vl4
  97. - rebuild
  98. * Thu Nov 04 2004 KAZUKI SHIMURA <kazuki@ma.ccnw.ne.jp> 3.8.3-0vl3
  99. - add Requires: zlib-devel (id3lib-devel)
  100. * Tue Aug 03 2004 KAZUKI SHIMURA <kazuki@ma.ccnw.ne.jp> 3.8.3-0vl2
  101. - add BuildRequires: zlib-devel
  102. - add Summary, Description in Japanese
  103. * Thu Apr 08 2004 KAZUKI SHIMURA <kazuki@ma.ccnw.ne.jp> 3.8.3-0vl1
  104. - first build for Vine Linux
  105. * Sat Sep 08 2001 Cedric Tefft <cedric@earthling.net> 3.8.0pre2
  106. - Version 3.8.0pre2
  107. * Mon Nov 20 2000 Scott Thomas Haug <scott@id3.org> 3.8.0pre1-1
  108. - Version 3.8.0pre1
  109. * Thu Sep 14 2000 Scott Thomas Haug <scott@id3.org> 3.7.13-1
  110. - Version 3.7.13
  111. * Sat Aug 26 2000 Scott Thomas Haug <scott@id3.org> 3.7.12-2
  112. - Removed -mpreferred-stack-boundary option from RPM_OPT_FLAGS for RedHat 6.2
  113. * Fri Jul 07 2000 Scott Thomas Haug <scott@id3.org> 3.7.12-1
  114. - Version 3.7.12
  115. * Fri Jul 05 2000 Scott Thomas Haug <scott@id3.org> 3.7.11-1
  116. - Version 3.7.11
  117. * Fri Jun 23 2000 Scott Thomas Haug <scott@id3.org> 3.7.10-1
  118. - Version 3.7.10
  119. * Wed May 24 2000 Scott Thomas Haug <scott@id3.org> 3.7.9-1
  120. - Version 3.7.9
  121. * Wed May 10 2000 Scott Thomas Haug <scott@id3.org> 3.7.8-1
  122. - Version 3.7.8
  123. * Wed May 10 2000 Scott Thomas Haug <scott@id3.org> 3.7.7-1
  124. - Version 3.7.7
  125. * Wed May 03 2000 Scott Thomas Haug <scott@id3.org> 3.7.6-1
  126. - Version 3.7.6
  127. * Fri Apr 28 2000 Scott Thomas Haug <scott@id3.org> 3.7.5-1
  128. - Version 3.7.5
  129. * Wed Apr 26 2000 Scott Thomas Haug <scott@id3.org> 3.7.4-1
  130. - Version 3.7.4
  131. * Mon Apr 24 2000 Scott Thomas Haug <scott@id3.org> 3.7.3-1
  132. - Version 3.7.3
  133. - Added explicit RPM_OPT_FLAGS def based on arch, since -fno-exceptions and
  134. -fno-rtti are part of the default flags in rpmrc and we need both exceptions
  135. and rtti (exceptions uses rtti)
  136. * Fri Apr 21 2000 Scott Thomas Haug <scott@id3.org> 3.7.2-1
  137. - Version 3.7.2
  138. - More conditional blocks for noarch
  139. - More thorough cleaning of files for documentation
  140. - Updated html directory
  141. * Thu Apr 20 2000 Scott Thomas Haug <scott@id3.org> 3.7.1-2
  142. - Fixed date of changelog entry for 3.7.1-1
  143. - Added conditional blocks so docs only get built for noarch target
  144. * Wed Apr 19 2000 Scott Thomas Haug <scott@id3.org> 3.7.1-1
  145. - Version 3.7.1
  146. - Removed zlib-devel requirement from devel
  147. - Added doc package to distribute documentation
  148. - Added examples package to distribute binary examples (id3tag, id3info, ...)
  149. - Moved doc/ and examples/ source files from devel to doc package
  150. * Mon Apr 17 2000 Scott Thomas Haug <scott@id3.org> 3.7.0-1
  151. - First (s)rpm build