libtaginfo-vl.spec 2.0 KB

1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253545556575859606162636465666768697071727374757677787980818283848586
  1. Name: libtaginfo
  2. Summary: A library for reading media metadata (tags)
  3. Summary(ja): メディアメタデータ(タグ)を読むためのライブラリー
  4. Version: 0.1.6
  5. Release: 1%{?_dist_release}
  6. License: LGPLv2+
  7. Group: System Environment/Libraries
  8. URL: https://bitbucket.org/shuerhaaken/libtaginfo
  9. Source0: https://bitbucket.org/shuerhaaken/libtaginfo/downloads/libtaginfo-%{version}.tar.gz
  10. BuildRoot: %{_tmppath}/%{name}-%{version}-root
  11. Vendor: Project Vine
  12. Distribution: Vine Linux
  13. BuildRequires: chrpath
  14. BuildRequires: taglib-devel >= 1.8
  15. Requires(post): ldconfig
  16. Requires(postun): ldconfig
  17. %description
  18. TagInfo is a convenience wrapper for taglib with C and vala bindings.
  19. Features are reading/writing fields like: Artist, Album, Title, Genre,
  20. AlbumArtist, Comments, Disk number, Compilation flag, User labels,
  21. Embedded Images, Lyrics, Audio properties (length, bitrate,
  22. samplerate, channels ...), ...
  23. %package devel
  24. Summary: development files for %{name}
  25. Summary(ja): %{name} の開発ファイル
  26. Group: Development/Libraries
  27. Requires: %{name} = %{version}-%{release}
  28. Requires: pkgconfig
  29. %description devel
  30. development files for %{name}.
  31. %prep
  32. %setup -q
  33. %build
  34. %configure --disable-static
  35. %{__make} %{?_smp_mflags}
  36. %install
  37. %{__rm} -rf ${RPM_BUILD_ROOT}
  38. %{__make} install DESTDIR=${RPM_BUILD_ROOT}
  39. find ${RPM_BUILD_ROOT} -name '*.la' -exec rm -rf {} \;
  40. # Remove RPATHs
  41. chrpath --delete $RPM_BUILD_ROOT%{_libdir}/libtaginfo_c.so.0.0.0
  42. %clean
  43. %{__rm} -rf ${RPM_BUILD_ROOT}
  44. %post
  45. /sbin/ldconfig
  46. %postun
  47. /sbin/ldconfig
  48. %files
  49. %defattr(-,root,root)
  50. %doc AUTHORS COPYING ChangeLog NEWS README TODO
  51. %{_libdir}/libtaginfo.so.*
  52. %{_libdir}/libtaginfo_c.so.*
  53. %files devel
  54. %doc examples
  55. %defattr(-,root,root,-)
  56. %{_libdir}/libtaginfo.so
  57. %{_libdir}/libtaginfo_c.so
  58. %{_libdir}/libtaginfo/include/
  59. %{_libdir}/pkgconfig/*.pc
  60. %{_includedir}/%{name}
  61. %{_datadir}/vala/vapi/
  62. %changelog
  63. * Sun Apr 28 2013 Toshiharu Kudoh <toshi.kd2@gmail.com> 0.1.6-1
  64. - initial build for Vine Linux