libdiscid-vl.spec 2.0 KB

12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152535455565758596061626364656667686970717273747576777879808182838485868788
  1. %define pkg_version 0.6.1
  2. %define pkg_release 1%{?_dist_release}
  3. Summary: A library for creating MusicBrainz DiscIDs from audio CDs
  4. Summary(ja): 音楽 CD から MusicBrainz ディスク ID を作成するためのライブラリ
  5. Name: libdiscid
  6. Version: %{pkg_version}
  7. Release: %{pkg_release}
  8. Source0: %{name}-%{version}.tar.gz
  9. License: LGPL
  10. Group: System Environment/Libraries
  11. URL: http://musicbrainz.org/doc/libdiscid/
  12. BuildRequires: pkgconfig
  13. BuildRoot: %{_tmppath}/%{name}-%{version}-root
  14. Vendor: Project Vine
  15. Distribution: Vine Linux
  16. Packager: Takemikaduchi
  17. %description
  18. Libdiscid is a C library for creating MusicBrainz DiscIDs from audio CDs.
  19. It reads a CD's table of contents (TOC) and generates an identifier which
  20. can be used to lookup the CD at MusicBrainz. Additionally, it provides a
  21. submission URL for adding the DiscID to the database.
  22. %package devel
  23. Summary: Development files for %{name}
  24. Summary(ja): %{name} の開発用ファイル
  25. Group: Development/Libraries
  26. Requires: %{name} = %{version}-%{release}
  27. Requires: pkgconfig
  28. %description devel
  29. The libdiscid-devel package contains libraries and header files for
  30. developing applications that use libdiscid.
  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. %{__rm} -rf ${RPM_BUILD_ROOT}/%{_libdir}/*.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 COPYING ChangeLog README
  47. %{_libdir}/*.so.*
  48. %files devel
  49. %defattr(-,root,root)
  50. %{_libdir}/libdiscid.so
  51. %{_libdir}/pkgconfig/libdiscid.pc
  52. %{_includedir}/discid
  53. %changelog
  54. * Sat Mar 29 2014 Yoji TOYODA <bsyamato@sea.plala.or.jp> 0.6.1-1
  55. - new upstream release
  56. * Sat Apr 16 2011 Ryoichi INAGAKI <ryo1@bc.wakwak.com> 0.2.2-3
  57. - fixed Group typo
  58. * Sun Oct 03 2010 Yoji TOYODA <bsyamato@sea.plala.or.jp> 0.2.2-2
  59. - rebuild package
  60. * Sun May 02 2010 Yoji TOYODA <bsyamato@sea.plala.or.jp> 0.2.2-1
  61. - initial build for Vine Linux