gsound-vl.spec 2.2 KB

1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253545556575859606162636465666768697071727374757677787980818283848586878889909192939495969798
  1. Summary: GObject library for playing system sounds
  2. Summary(ja): システム音再生用 GObject ライブラリ
  3. Name: gsound
  4. Version: 1.0.2
  5. Release: 1%{?_dist_release}
  6. Source0: http://ftp.gnome.org/pub/GNOME/sources/%{name}/1.0/%{name}-%{version}.tar.xz
  7. License: LGPLv2.1
  8. Group: System Environment/Libraries
  9. URL: https://wiki.gnome.org/Projects/GSound
  10. BuildRequires: glib2-devel
  11. BuildRequires: libcanberra-gtk3-devel
  12. BuildRoot: %{_tmppath}/%{name}-%{version}-root
  13. Vendor: Project Vine
  14. Distribution: Vine Linux
  15. Packager: Takemikaduchi
  16. %description
  17. GSound is a small library for playing system sounds. It's designed to
  18. be used via GObject Introspection, and is a thin wrapper around the
  19. [libcanberra](http://0pointer.de/lennart/projects/libcanberra/) C library.
  20. %package devel
  21. Summary: Development tools for %{name}
  22. Summary(ja): %{name} の開発環境
  23. Group: Development/Libraries
  24. Requires: %{name} = %{version}-%{release}
  25. Requires: pkgconfig
  26. %description devel
  27. Header files and libraries for building a extension library for the %{name}.
  28. %package docs
  29. Summary: Documentation for %{name}
  30. Summary(ja): %{name} 用のドキュメント
  31. Group: Documentation
  32. BuildArch: noarch
  33. %description docs
  34. This package contains documentation for %{name}.
  35. %prep
  36. %setup -q
  37. %build
  38. %configure \
  39. --disable-static
  40. %{__make} %{?_smp_mflags}
  41. %install
  42. %{__rm} -rf ${RPM_BUILD_ROOT}
  43. %{__make} install DESTDIR=${RPM_BUILD_ROOT}
  44. find $RPM_BUILD_ROOT -name '*.a' -exec rm -f {} \;
  45. find $RPM_BUILD_ROOT -name '*.la' -exec rm -f {} \;
  46. %clean
  47. %{__rm} -rf ${RPM_BUILD_ROOT}
  48. %post -p /sbin/ldconfig
  49. %postun -p /sbin/ldconfig
  50. %files
  51. %defattr(-,root,root,-)
  52. %doc COPYING ChangeLog NEWS README README.md
  53. %{_libdir}/libgsound.so.*
  54. %{_libdir}/girepository-1.0/GSound-1.0.typelib
  55. %files devel
  56. %defattr(-,root,root,-)
  57. %{_includedir}/gsound*
  58. %{_libdir}/libgsound.so
  59. %{_libdir}/pkgconfig/%{name}.pc
  60. %{_datadir}/gir-1.0/GSound-1.0.gir
  61. %files docs
  62. %defattr(-,root,root,-)
  63. %{_datadir}/gtk-doc/html/%{name}
  64. %changelog
  65. * Mon Jul 18 2016 Yoji TOYODA <bsyamato@sea.plala.or.jp> 1.0.2-1
  66. - new upstream release
  67. * Sun Mar 29 2015 Yoji TOYODA <bsyamato@sea.plala.or.jp> 1.0.1-1
  68. - initial build