taglib-vl.spec 2.3 KB

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