id3lib-vl.spec 6.5 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205
  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: 4%{?_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 Jul 09 2016 Yoji TOYODA <bsyamato@sea.plala.or.jp> 3.8.3-4
  80. - rebuild with gcc-5.4.0
  81. * Sun Aug 24 2014 Yoji TOYODA <bsyamato@sea.plala.or.jp> 3.8.3-3
  82. - rebuild with VineSeed environment
  83. * Sat Mar 26 2011 Ryoichi INAGAKI <ryo1@bc.wakwak.com> 3.8.3-2
  84. - added Patch3 to build with current toolchain
  85. * Sun Jun 15 2008 Ryoichi INAGAKI <ryo1@bc.wakwak.com> 3.8.3-1
  86. - applied new versioning policy
  87. - removed lib*.la files from devel package
  88. - spec in UTF-8
  89. * Wed Sep 05 2007 KAZUKI SHIMURA <ksh753@y5.dion.ne.jp> 3.8.3-0vl8
  90. - [SECURITY] add mktemp.patch (patch2)
  91. - fix insecure temporary file creation vulnerability (CVE-2007-4460)
  92. * Fri May 25 2007 Daisuke SUZUKI <daisuke@linux.or.jp> 3.8.3-0vl7
  93. - rebuild with new environment/toolchain
  94. * Tue Oct 24 2006 KAZUKI SHIMURA <kazuki@ma.ccnw.ne.jp> 3.8.3-0vl6
  95. - rebuild
  96. * Tue Oct 24 2006 KAZUKI SHIMURA <kazuki@ma.ccnw.ne.jp> 3.8.3-0vl5
  97. - add UTF16_writing_bug.diff (patch0) to fix UTF-16 writing <Tracker:1016290>
  98. - add fix-id3v2-latest.patch (patch1) to read ID3v2.4.0 tags <Tracker:1500788>
  99. - add --enable-static=no option to %%configure
  100. * Thu Feb 02 2006 KAZUKI SHIMURA <kazuki@ma.ccnw.ne.jp> 3.8.3-0vl4
  101. - rebuild
  102. * Thu Nov 04 2004 KAZUKI SHIMURA <kazuki@ma.ccnw.ne.jp> 3.8.3-0vl3
  103. - add Requires: zlib-devel (id3lib-devel)
  104. * Tue Aug 03 2004 KAZUKI SHIMURA <kazuki@ma.ccnw.ne.jp> 3.8.3-0vl2
  105. - add BuildRequires: zlib-devel
  106. - add Summary, Description in Japanese
  107. * Thu Apr 08 2004 KAZUKI SHIMURA <kazuki@ma.ccnw.ne.jp> 3.8.3-0vl1
  108. - first build for Vine Linux
  109. * Sat Sep 08 2001 Cedric Tefft <cedric@earthling.net> 3.8.0pre2
  110. - Version 3.8.0pre2
  111. * Mon Nov 20 2000 Scott Thomas Haug <scott@id3.org> 3.8.0pre1-1
  112. - Version 3.8.0pre1
  113. * Thu Sep 14 2000 Scott Thomas Haug <scott@id3.org> 3.7.13-1
  114. - Version 3.7.13
  115. * Sat Aug 26 2000 Scott Thomas Haug <scott@id3.org> 3.7.12-2
  116. - Removed -mpreferred-stack-boundary option from RPM_OPT_FLAGS for RedHat 6.2
  117. * Fri Jul 07 2000 Scott Thomas Haug <scott@id3.org> 3.7.12-1
  118. - Version 3.7.12
  119. * Wed Jul 05 2000 Scott Thomas Haug <scott@id3.org> 3.7.11-1
  120. - Version 3.7.11
  121. * Fri Jun 23 2000 Scott Thomas Haug <scott@id3.org> 3.7.10-1
  122. - Version 3.7.10
  123. * Wed May 24 2000 Scott Thomas Haug <scott@id3.org> 3.7.9-1
  124. - Version 3.7.9
  125. * Wed May 10 2000 Scott Thomas Haug <scott@id3.org> 3.7.8-1
  126. - Version 3.7.8
  127. * Wed May 10 2000 Scott Thomas Haug <scott@id3.org> 3.7.7-1
  128. - Version 3.7.7
  129. * Wed May 03 2000 Scott Thomas Haug <scott@id3.org> 3.7.6-1
  130. - Version 3.7.6
  131. * Fri Apr 28 2000 Scott Thomas Haug <scott@id3.org> 3.7.5-1
  132. - Version 3.7.5
  133. * Wed Apr 26 2000 Scott Thomas Haug <scott@id3.org> 3.7.4-1
  134. - Version 3.7.4
  135. * Mon Apr 24 2000 Scott Thomas Haug <scott@id3.org> 3.7.3-1
  136. - Version 3.7.3
  137. - Added explicit RPM_OPT_FLAGS def based on arch, since -fno-exceptions and
  138. -fno-rtti are part of the default flags in rpmrc and we need both exceptions
  139. and rtti (exceptions uses rtti)
  140. * Fri Apr 21 2000 Scott Thomas Haug <scott@id3.org> 3.7.2-1
  141. - Version 3.7.2
  142. - More conditional blocks for noarch
  143. - More thorough cleaning of files for documentation
  144. - Updated html directory
  145. * Thu Apr 20 2000 Scott Thomas Haug <scott@id3.org> 3.7.1-2
  146. - Fixed date of changelog entry for 3.7.1-1
  147. - Added conditional blocks so docs only get built for noarch target
  148. * Wed Apr 19 2000 Scott Thomas Haug <scott@id3.org> 3.7.1-1
  149. - Version 3.7.1
  150. - Removed zlib-devel requirement from devel
  151. - Added doc package to distribute documentation
  152. - Added examples package to distribute binary examples (id3tag, id3info, ...)
  153. - Moved doc/ and examples/ source files from devel to doc package
  154. * Mon Apr 17 2000 Scott Thomas Haug <scott@id3.org> 3.7.0-1
  155. - First (s)rpm build