gsound-vl.spec 2.4 KB

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