taglib-vl.spec 2.4 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596
  1. Summary: TagLib Audio Meta-Data Library
  2. Name: taglib
  3. Version: 1.6.1
  4. Release: 2%{?_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. * Sat Oct 02 2010 Shu KONNO <owa@bg.wakwak.com> 1.6.1-2
  54. - rebuilt with rpm-4.8.1 for pkg-config
  55. * Fri Jan 1 2010 Ryoichi INAGAKI <ryo1@bc.wakwak.com> 1.6.1-1
  56. - new upstream release
  57. - used cmake for building
  58. * Sun Jul 21 2008 Ryoichi INAGAKI <ryo1@bc.wakwak.com> 1.5-1
  59. - new upstream release
  60. - removed lib*.la files
  61. * Mon Jun 18 2007 Ryoichi INAGAKI <ryo1@bc.wakwak.com> 1.4-0vl3
  62. - rebuilt with new toolchain
  63. * Thu Nov 30 2006 KAZUKI SHIMURA <kazuki@ma.ccnw.ne.jp> 1.4-0vl2
  64. - add wchar.diff (patch0)
  65. cf. http://mail.kde.org/pipermail/taglib-devel/2006-November/000532.html
  66. * Sat Jan 28 2006 KAZUKI SHIMURA <kazuki@ma.ccnw.ne.jp> 1.4-0vl1
  67. - source upgrade
  68. - add BuildRequires: zlib-devel
  69. - add taglib.pc to devel package
  70. * Thu Oct 21 2004 AKIYAMA Kazuhito <akiyama@yb3.so-net.ne.jp> 1.3-0vl1
  71. - source upgrade
  72. * Wed Jun 16 2004 AKIYAMA Kazuhito <akiyama@yb3.so-net.ne.jp> 1.1-0vl2
  73. - add all files under %%{_includedir}/taglib to devel package
  74. * Tue Jun 15 2004 AKIYAMA Kazuhito <akiyama@yb3.so-net.ne.jp> 1.1-0vl1
  75. - Initial packaging