diff --git a/gsound-1.0.2.tar.xz b/gsound-1.0.2.tar.xz new file mode 100644 index 0000000000000000000000000000000000000000..6e03348ede5d7989d4e7aae2099dd67b2ec63469 Binary files /dev/null and b/gsound-1.0.2.tar.xz differ diff --git a/gsound.spec b/gsound.spec new file mode 100644 index 0000000000000000000000000000000000000000..439435a1bf99cbf3de4a992af3c2d4dd8384c136 --- /dev/null +++ b/gsound.spec @@ -0,0 +1,57 @@ +Name: gsound +Version: 1.0.2 +Release: 8 +Summary: A small library for playing system sounds +License: LGPLv2 +URL: https://wiki.gnome.org/Projects/GSound +Source0: http://download.gnome.org/sources/gsound/1.0/gsound-%{version}.tar.xz + +BuildRequires: pkgconfig(gobject-introspection-1.0) pkgconfig(libcanberra) vala-tools + +%description +GSound is a small library for playing system sounds. +It's designed to be used via GObject Introspection,and is a thin wrapper around the libcanberra C library. + +%package devel +Summary: Libraries and headers for gsound. +Requires: %{name} = %{version}-%{release} + +%description devel +Libraries and header files for developing applications that use gsound. + +%prep +%autosetup -n gsound-%{version} -p1 + +%build +%configure --disable-static --enable-vala +%make_build + +%install +%make_install +%delete_la + +%post +/sbin/ldconfig + +%postun +/sbin/ldconfig + +%files +%doc COPYING README +%{_bindir}/gsound-play +%{_libdir}/{*.so.*,girepository-1.0} +%dir %{_libdir}/girepository-1.0 + +%files devel +%{_includedir}/* +%{_libdir}/{*.so,pkgconfig} +%dir %{_datadir}/gir-1.0 +%dir %{_datadir}/gtk-doc +%dir %{_datadir}/gtk-doc/html +%dir %{_datadir}/vala +%dir %{_datadir}/vala/vapi +%{_datadir}/{gir-1.0,gtk-doc,vala} + +%changelog +* Fri Dec 21 2019 chenli - 1.0.2-8 +- Package init