taglib-vl.spec 3.2 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123
  1. Name: taglib
  2. Summary: TagLib Audio Meta-Data Library
  3. Summary(ja): オーディオメタデータライブラリ
  4. Version: 1.9.1
  5. Release: 2%{?_dist_release}
  6. Group: System Environment/Libraries
  7. License: LGPLv2 and MPL
  8. URL: http://taglib.github.com/
  9. Source: http://taglib.github.com/releases/taglib-%{version}.tar.gz
  10. Patch0: http://www.cc.rim.or.jp/~yaz/taglib-1.4_wchar.diff
  11. Patch2: taglib-1.5rc1-multilib.patch
  12. BuildRoot: %{_tmppath}/%{name}-%{version}-root
  13. BuildRequires: cmake >= 2.6.0
  14. BuildRequires: pkgconfig
  15. BuildRequires: zlib-devel
  16. %description
  17. TagLib is a library for reading and editing the meta-data of
  18. several popular audio formats. Currently it supports both ID3v1
  19. and ID3v2 for MP3 files, Ogg Vorbis comments and ID3 tags
  20. and Vorbis comments in FLAC files.
  21. %package devel
  22. Summary: TagLib Development environment
  23. Summary(ja): TagLib 開発用ファイル
  24. Group: Development/Libraries
  25. Requires: %{name} = %{version}-%{release}
  26. %description devel
  27. Libraries and header files required for TagLib development.
  28. %prep
  29. %setup -q
  30. #patch0 -p1 -b .wchar
  31. %patch2 -p1 -b .multilib
  32. %build
  33. mkdir -p %{_target_platform}
  34. pushd %{_target_platform}
  35. %cmake -DWITH_ASF=1 -DWITH_MP4=1 ..
  36. popd
  37. make %{?_smp_mflags} -C %{_target_platform}
  38. %install
  39. rm -rf $RPM_BUILD_ROOT
  40. make install DESTDIR=$RPM_BUILD_ROOT -C %{_target_platform}
  41. rm -f $RPM_BUILD_ROOT%{_libdir}/lib*.la
  42. %clean
  43. rm -rf $RPM_BUILD_ROOT
  44. %post -p /sbin/ldconfig
  45. %postun -p /sbin/ldconfig
  46. %files
  47. %defattr(-,root,root)
  48. %doc AUTHORS COPYING.* NEWS
  49. %{_libdir}/lib*.so.*
  50. %files devel
  51. %defattr(-,root,root)
  52. %{_bindir}/*
  53. %{_includedir}/taglib
  54. #{_libdir}/lib*.la
  55. %{_libdir}/lib*.so
  56. %{_libdir}/pkgconfig/*.pc
  57. %changelog
  58. * Sat Jul 02 2016 Yoji TOYODA <bsyamato@sea.plala.or.jp> 1.9.1-2
  59. - rebuild with gcc-5.4.0
  60. * Tue Jan 20 2015 Ryoichi INAGAKI <ryo1@toki.waseda.jp> - 1.9.1-1
  61. - new upstream release
  62. - dropt Patch0
  63. * Sun Feb 10 2013 MATSUBAYASHI Kohji <shaolin@vinelinux.org> - 1.8-1
  64. - new upstream release
  65. * Mon Sep 03 2012 Yoji TOYODA <bsyamato@sea.plala.or.jp> 1.7.2-1
  66. - new upstream release
  67. * Sun Oct 17 2010 Ryoichi INAGAKI <ryo1@bc.wakwak.com> 1.6.3-1
  68. - new upstream release
  69. - added build option for supporting ASF and MP4 files
  70. - added Patch2 from Fedora
  71. * Sat Oct 02 2010 Shu KONNO <owa@bg.wakwak.com> 1.6.1-2
  72. - rebuilt with rpm-4.8.1 for pkg-config
  73. * Fri Jan 1 2010 Ryoichi INAGAKI <ryo1@bc.wakwak.com> 1.6.1-1
  74. - new upstream release
  75. - used cmake for building
  76. * Sun Jul 21 2008 Ryoichi INAGAKI <ryo1@bc.wakwak.com> 1.5-1
  77. - new upstream release
  78. - removed lib*.la files
  79. * Mon Jun 18 2007 Ryoichi INAGAKI <ryo1@bc.wakwak.com> 1.4-0vl3
  80. - rebuilt with new toolchain
  81. * Thu Nov 30 2006 KAZUKI SHIMURA <kazuki@ma.ccnw.ne.jp> 1.4-0vl2
  82. - add wchar.diff (patch0)
  83. cf. http://mail.kde.org/pipermail/taglib-devel/2006-November/000532.html
  84. * Sat Jan 28 2006 KAZUKI SHIMURA <kazuki@ma.ccnw.ne.jp> 1.4-0vl1
  85. - source upgrade
  86. - add BuildRequires: zlib-devel
  87. - add taglib.pc to devel package
  88. * Thu Oct 21 2004 AKIYAMA Kazuhito <akiyama@yb3.so-net.ne.jp> 1.3-0vl1
  89. - source upgrade
  90. * Wed Jun 16 2004 AKIYAMA Kazuhito <akiyama@yb3.so-net.ne.jp> 1.1-0vl2
  91. - add all files under %%{_includedir}/taglib to devel package
  92. * Tue Jun 15 2004 AKIYAMA Kazuhito <akiyama@yb3.so-net.ne.jp> 1.1-0vl1
  93. - Initial packaging