taglib-vl.spec 2.7 KB

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