id3lib-vl.spec 6.4 KB

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