taglib-vl.spec 2.9 KB

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