taglib-vl.spec 2.8 KB

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