2015-03-03 22:40:31 +01:00
|
|
|
#
|
|
|
|
# spec file for package gsound
|
|
|
|
#
|
2018-03-05 15:05:41 +01:00
|
|
|
# Copyright (c) 2018 SUSE LINUX GmbH, Nuernberg, Germany.
|
2015-03-03 22:40:31 +01:00
|
|
|
# Copyright (c) 2014 Bjørn Lie, Bryne, Norway.
|
|
|
|
#
|
|
|
|
# All modifications and additions to the file contributed by third parties
|
|
|
|
# remain the property of their copyright owners, unless otherwise agreed
|
|
|
|
# upon. The license for this file, and modifications and additions to the
|
|
|
|
# file, is the same license as for the pristine package itself (unless the
|
|
|
|
# license for the pristine package is not an Open Source License, in which
|
|
|
|
# case the license is the MIT License). An "Open Source License" is a
|
|
|
|
# license that conforms to the Open Source Definition (Version 1.9)
|
|
|
|
# published by the Open Source Initiative.
|
|
|
|
|
|
|
|
# Please submit bugfixes or comments via http://bugs.opensuse.org/
|
|
|
|
#
|
|
|
|
|
|
|
|
|
|
|
|
%define soname lib%{name}0
|
|
|
|
Name: gsound
|
2015-11-02 13:59:07 +01:00
|
|
|
Version: 1.0.2
|
2015-03-03 22:40:31 +01:00
|
|
|
Release: 0
|
2018-03-05 16:42:21 +01:00
|
|
|
Summary: A library for playing system sounds
|
2018-03-05 15:05:41 +01:00
|
|
|
License: LGPL-2.1-only
|
2018-03-05 16:42:21 +01:00
|
|
|
Group: Development/Libraries/GNOME
|
|
|
|
Url: https://wiki.gnome.org/Projects/GSound
|
2015-03-03 22:40:31 +01:00
|
|
|
Source: http://download.gnome.org/sources/gsound/1.0/gsound-%{version}.tar.xz
|
2018-03-05 15:05:41 +01:00
|
|
|
BuildRequires: pkgconfig
|
2015-03-03 22:40:31 +01:00
|
|
|
BuildRequires: pkgconfig(gobject-introspection-1.0)
|
|
|
|
BuildRequires: pkgconfig(libcanberra)
|
|
|
|
BuildRequires: pkgconfig(vapigen)
|
|
|
|
|
|
|
|
%description
|
2018-03-05 16:42:21 +01:00
|
|
|
GSound is a library for playing system sounds.
|
2015-03-03 22:40:31 +01:00
|
|
|
It's designed to be used via GObject Introspection,
|
2018-03-05 16:42:21 +01:00
|
|
|
and is a wrapper around the libcanberra C library.
|
2015-03-03 22:40:31 +01:00
|
|
|
|
|
|
|
%package -n %{soname}
|
|
|
|
Summary: Shared library for gsound
|
|
|
|
Group: System/Libraries
|
|
|
|
|
|
|
|
%description -n %{soname}
|
2018-03-05 16:42:21 +01:00
|
|
|
GSound is a library for playing system sounds.
|
2015-03-03 22:40:31 +01:00
|
|
|
It's designed to be used via GObject Introspection,
|
2018-03-05 16:42:21 +01:00
|
|
|
and is a wrapper around the libcanberra C library.
|
2015-03-03 22:40:31 +01:00
|
|
|
|
|
|
|
This package provides the shared library for gsound.
|
|
|
|
|
|
|
|
%package -n typelib-1_0-GSound-1_0
|
|
|
|
Summary: Gobject introspection files for gsound
|
|
|
|
Group: System/Libraries
|
|
|
|
|
|
|
|
%description -n typelib-1_0-GSound-1_0
|
2018-03-05 16:42:21 +01:00
|
|
|
GSound is a library for playing system sounds.
|
2015-03-03 22:40:31 +01:00
|
|
|
It's designed to be used via GObject Introspection,
|
2018-03-05 16:42:21 +01:00
|
|
|
and is a wrapper around the libcanberra C library.
|
2015-03-03 22:40:31 +01:00
|
|
|
|
|
|
|
%package devel
|
|
|
|
Summary: Development files for gsound
|
|
|
|
Group: Development/Libraries/C and C++
|
|
|
|
Requires: %{soname} = %{version}
|
|
|
|
Requires: typelib-1_0-GSound-1_0 = %{version}
|
|
|
|
|
|
|
|
%description devel
|
2018-03-05 16:42:21 +01:00
|
|
|
GSound is a library for playing system sounds.
|
2015-03-03 22:40:31 +01:00
|
|
|
It's designed to be used via GObject Introspection,
|
2018-03-05 16:42:21 +01:00
|
|
|
and is a wrapper around the libcanberra C library.
|
2015-03-03 22:40:31 +01:00
|
|
|
|
|
|
|
This package provides files needed for developing
|
|
|
|
applications with gsound.
|
|
|
|
|
|
|
|
%prep
|
|
|
|
%setup -q
|
|
|
|
|
|
|
|
%build
|
|
|
|
%configure --disable-static --enable-vala
|
|
|
|
make %{?_smp_mflags}
|
|
|
|
|
|
|
|
%install
|
|
|
|
make DESTDIR=%{buildroot} install %{?_smp_mflags}
|
|
|
|
|
|
|
|
# REMOVE libtool archive
|
|
|
|
rm %{buildroot}%{_libdir}/libgsound.la
|
|
|
|
|
|
|
|
%post -n %{soname} -p /sbin/ldconfig
|
|
|
|
|
|
|
|
%postun -n %{soname} -p /sbin/ldconfig
|
|
|
|
|
|
|
|
%files
|
|
|
|
%defattr(-,root,root)
|
2015-03-03 22:41:44 +01:00
|
|
|
%doc ChangeLog README
|
2015-03-03 22:40:31 +01:00
|
|
|
%{_bindir}/gsound-play
|
|
|
|
|
|
|
|
%files -n %{soname}
|
|
|
|
%defattr(-,root,root)
|
2018-03-05 15:05:41 +01:00
|
|
|
%license COPYING
|
2015-03-03 22:40:31 +01:00
|
|
|
%{_libdir}/libgsound.so.*
|
|
|
|
|
|
|
|
%files devel
|
|
|
|
%defattr(-,root,root)
|
|
|
|
%{_datadir}/gir-1.0/GSound-1.0.gir
|
|
|
|
%{_datadir}/gtk-doc/html/gsound/
|
|
|
|
%{_datadir}/vala/vapi/gsound.deps
|
|
|
|
%{_datadir}/vala/vapi/gsound.vapi
|
|
|
|
%{_includedir}/gsound.h
|
|
|
|
%{_includedir}/gsound-attr.h
|
|
|
|
%{_includedir}/gsound-context.h
|
|
|
|
%{_libdir}/libgsound.so
|
|
|
|
%{_libdir}/pkgconfig/gsound.pc
|
|
|
|
|
|
|
|
%files -n typelib-1_0-GSound-1_0
|
|
|
|
%defattr(-,root,root)
|
|
|
|
%{_libdir}/girepository-1.0/GSound-1.0.typelib
|
|
|
|
|
2015-11-02 13:59:07 +01:00
|
|
|
%changelog
|