taglib-vl.spec 3.1 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120
  1. Name: taglib
  2. Summary: TagLib Audio Meta-Data Library
  3. Summary(ja): オーディオメタデータライブラリ
  4. Version: 1.9.1
  5. Release: 1%{?_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. * Tue Jan 20 2015 Ryoichi INAGAKI <ryo1@toki.waseda.jp> - 1.9.1-1
  59. - new upstream release
  60. - dropt Patch0
  61. * Sun Feb 10 2013 MATSUBAYASHI Kohji <shaolin@vinelinux.org> - 1.8-1
  62. - new upstream release
  63. * Mon Sep 03 2012 Yoji TOYODA <bsyamato@sea.plala.or.jp> 1.7.2-1
  64. - new upstream release
  65. * Sun Oct 17 2010 Ryoichi INAGAKI <ryo1@bc.wakwak.com> 1.6.3-1
  66. - new upstream release
  67. - added build option for supporting ASF and MP4 files
  68. - added Patch2 from Fedora
  69. * Sat Oct 02 2010 Shu KONNO <owa@bg.wakwak.com> 1.6.1-2
  70. - rebuilt with rpm-4.8.1 for pkg-config
  71. * Fri Jan 1 2010 Ryoichi INAGAKI <ryo1@bc.wakwak.com> 1.6.1-1
  72. - new upstream release
  73. - used cmake for building
  74. * Sun Jul 21 2008 Ryoichi INAGAKI <ryo1@bc.wakwak.com> 1.5-1
  75. - new upstream release
  76. - removed lib*.la files
  77. * Mon Jun 18 2007 Ryoichi INAGAKI <ryo1@bc.wakwak.com> 1.4-0vl3
  78. - rebuilt with new toolchain
  79. * Thu Nov 30 2006 KAZUKI SHIMURA <kazuki@ma.ccnw.ne.jp> 1.4-0vl2
  80. - add wchar.diff (patch0)
  81. cf. http://mail.kde.org/pipermail/taglib-devel/2006-November/000532.html
  82. * Sat Jan 28 2006 KAZUKI SHIMURA <kazuki@ma.ccnw.ne.jp> 1.4-0vl1
  83. - source upgrade
  84. - add BuildRequires: zlib-devel
  85. - add taglib.pc to devel package
  86. * Thu Oct 21 2004 AKIYAMA Kazuhito <akiyama@yb3.so-net.ne.jp> 1.3-0vl1
  87. - source upgrade
  88. * Wed Jun 16 2004 AKIYAMA Kazuhito <akiyama@yb3.so-net.ne.jp> 1.1-0vl2
  89. - add all files under %%{_includedir}/taglib to devel package
  90. * Tue Jun 15 2004 AKIYAMA Kazuhito <akiyama@yb3.so-net.ne.jp> 1.1-0vl1
  91. - Initial packaging