!3 Update to 1.0.3

From: @zhang__3125 
Reviewed-by: @dwl301 
Signed-off-by: @dwl301
This commit is contained in:
openeuler-ci-bot 2022-04-13 05:41:19 +00:00 committed by Gitee
commit 72dde0616e
No known key found for this signature in database
GPG Key ID: 173E9B9CA92EEF8F
3 changed files with 21 additions and 14 deletions

Binary file not shown.

BIN
gsound-1.0.3.tar.xz Normal file

Binary file not shown.

View File

@ -1,12 +1,12 @@
Name: gsound
Version: 1.0.2
Release: 8
Version: 1.0.3
Release: 1
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
BuildRequires: pkgconfig(gobject-introspection-1.0) pkgconfig(libcanberra) vala meson gtk-doc
%description
GSound is a small library for playing system sounds.
@ -19,15 +19,17 @@ Requires: %{name} = %{version}-%{release}
%description devel
Libraries and header files for developing applications that use gsound.
%package_help
%prep
%autosetup -n gsound-%{version} -p1
%build
%configure --disable-static --enable-vala
%make_build
%meson -Dgtk_doc=true
%meson_build
%install
%make_install
%meson_install
%delete_la
%post
@ -39,19 +41,24 @@ Libraries and header files for developing applications that use gsound.
%files
%doc COPYING README
%{_bindir}/gsound-play
%{_libdir}/{*.so.*,girepository-1.0}
%dir %{_libdir}/girepository-1.0
%{_libdir}/*.so.*
%{_libdir}/girepository-1.0/GSound-1.0.typelib
%files devel
%{_includedir}/*
%{_libdir}/{*.so,pkgconfig}
%{_libdir}/*.so
%{_libdir}/pkgconfig/gsound.pc
%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}
%{_datadir}/gir-1.0/GSound-1.0.gir
%{_datadir}/vala/vapi/gsound.*
%files help
%{_mandir}/man1/gsound-play.*
%{_datadir}/gtk-doc/html/gsound-%{version}
%changelog
* Mon Mar 28 2022 lin zhang <lin.zhang@turbolinux.com.cn> - 1.0.3-1
- Update to 1.0.3
* Fri Dec 21 2019 chenli <chenli147@huawei.com> - 1.0.2-8
- Package init