From d473e82e82a95920075cf34d3600c689a65b2c02 Mon Sep 17 00:00:00 2001 From: guibuilder_pel7x64builder0 Date: Mon, 26 Nov 2018 17:06:20 +0100 Subject: [PATCH] gsound package creation Signed-off-by: guibuilder_pel7x64builder0 --- SPECS/gsound.spec | 89 +++++++++++++++++++++++++++++++++++++++++++++++ 1 file changed, 89 insertions(+) create mode 100644 SPECS/gsound.spec diff --git a/SPECS/gsound.spec b/SPECS/gsound.spec new file mode 100644 index 0000000..435e521 --- /dev/null +++ b/SPECS/gsound.spec @@ -0,0 +1,89 @@ +Name: gsound +Version: 1.0.2 +Release: 2%{?dist} +Summary: Small gobject 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) +BuildRequires: pkgconfig(libcanberra) +BuildRequires: 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: Development files for %{name} +Requires: %{name}%{?_isa} = %{version}-%{release} + +%description devel +The %{name}-devel package contains libraries and header files for +developing applications that use %{name}. + + +%prep +%setup -q + + +%build +%configure --disable-static --enable-vala +make %{?_smp_mflags} + + +%install +%make_install +find $RPM_BUILD_ROOT -name '*.la' -exec rm -f {} ';' + + +%post -p /sbin/ldconfig + +%postun -p /sbin/ldconfig + + +%files +%doc COPYING README +%{_bindir}/gsound-play +%{_libdir}/*.so.* +%dir %{_libdir}/girepository-1.0 +%{_libdir}/girepository-1.0/GSound-1.0.typelib + +%files devel +%{_includedir}/* +%{_libdir}/*.so +%{_libdir}/pkgconfig/gsound.pc +%dir %{_datadir}/gir-1.0 +%{_datadir}/gir-1.0/GSound-1.0.gir +%dir %{_datadir}/gtk-doc +%dir %{_datadir}/gtk-doc/html +%{_datadir}/gtk-doc/html/gsound +%dir %{_datadir}/vala +%dir %{_datadir}/vala/vapi +%{_datadir}/vala/vapi/gsound.* + + + +%changelog +* Tue Mar 07 2017 Wim Taymans - 1.0.2-2 +- Import + Resolves: #1426293 + +* Sun Nov 1 2015 Yanko Kaneti - 1.0.2-1 +- Update to 1.0.2 + +* Wed Jun 17 2015 Fedora Release Engineering - 1.0.1-2 +- Rebuilt for https://fedoraproject.org/wiki/Fedora_23_Mass_Rebuild + +* Mon Dec 1 2014 Yanko Kaneti - 1.0.1-1 +- Update to 1.0.1 + +* Sun Nov 30 2014 Yanko Kaneti - 1.0.0-2 +- Initial spec for review - 0.98.0-0.1.a648648 +- Additional patch + references + using %%autopatch - 0.98.0-0.2.a648648 +- Update to 1.0.0. drop upstreamed paches - 1.0.0-1 +- Own some more directories as per review (#1167482) - 1.0.0-2