libdiscid-vl.spec 1.8 KB

1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253545556575859606162636465666768697071727374757677787980
  1. %define pkg_version 0.2.2
  2. %define pkg_release 2%{?_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: Sytem 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. Group: Development/Libraries
  25. Requires: %{name} = %{version}-%{release}
  26. Requires: pkgconfig
  27. %description devel
  28. The libdiscid-devel package contains libraries and header files for
  29. developing applications that use libdiscid.
  30. %prep
  31. %setup -q
  32. %build
  33. %configure --disable-static
  34. %{__make} %{?_smp_mflags}
  35. %install
  36. %{__rm} -rf ${RPM_BUILD_ROOT}
  37. %{__make} install DESTDIR=${RPM_BUILD_ROOT}
  38. %{__rm} -rf ${RPM_BUILD_ROOT}/%{_libdir}/*.la
  39. %clean
  40. %{__rm} -rf ${RPM_BUILD_ROOT}
  41. %post -p /sbin/ldconfig
  42. %postun -p /sbin/ldconfig
  43. %files
  44. %defattr(-,root,root)
  45. %doc COPYING ChangeLog README
  46. %{_libdir}/*.so.*
  47. %files devel
  48. %defattr(-,root,root)
  49. %{_libdir}/libdiscid.so
  50. %{_libdir}/pkgconfig/libdiscid.pc
  51. %{_includedir}/discid
  52. %changelog
  53. * Sun Oct 03 2010 Yoji TOYODA <bsyamato@sea.plala.or.jp> 0.2.2-2
  54. - rebuild package
  55. * Sun May 02 2010 Yoji TOYODA <bsyamato@sea.plala.or.jp> 0.2.2-1
  56. - initial build for Vine Linux