Accepting request 288736 from GNOME:Next
move docs too OBS-URL: https://build.opensuse.org/request/show/288736 OBS-URL: https://build.opensuse.org/package/show/GNOME:Factory/gsound?expand=0&rev=1
This commit is contained in:
commit
72a6fb779e
23
.gitattributes
vendored
Normal file
23
.gitattributes
vendored
Normal file
@ -0,0 +1,23 @@
|
||||
## Default LFS
|
||||
*.7z filter=lfs diff=lfs merge=lfs -text
|
||||
*.bsp filter=lfs diff=lfs merge=lfs -text
|
||||
*.bz2 filter=lfs diff=lfs merge=lfs -text
|
||||
*.gem filter=lfs diff=lfs merge=lfs -text
|
||||
*.gz filter=lfs diff=lfs merge=lfs -text
|
||||
*.jar filter=lfs diff=lfs merge=lfs -text
|
||||
*.lz filter=lfs diff=lfs merge=lfs -text
|
||||
*.lzma filter=lfs diff=lfs merge=lfs -text
|
||||
*.obscpio filter=lfs diff=lfs merge=lfs -text
|
||||
*.oxt filter=lfs diff=lfs merge=lfs -text
|
||||
*.pdf filter=lfs diff=lfs merge=lfs -text
|
||||
*.png filter=lfs diff=lfs merge=lfs -text
|
||||
*.rpm filter=lfs diff=lfs merge=lfs -text
|
||||
*.tbz filter=lfs diff=lfs merge=lfs -text
|
||||
*.tbz2 filter=lfs diff=lfs merge=lfs -text
|
||||
*.tgz filter=lfs diff=lfs merge=lfs -text
|
||||
*.ttf filter=lfs diff=lfs merge=lfs -text
|
||||
*.txz filter=lfs diff=lfs merge=lfs -text
|
||||
*.whl filter=lfs diff=lfs merge=lfs -text
|
||||
*.xz filter=lfs diff=lfs merge=lfs -text
|
||||
*.zip filter=lfs diff=lfs merge=lfs -text
|
||||
*.zst filter=lfs diff=lfs merge=lfs -text
|
1
.gitignore
vendored
Normal file
1
.gitignore
vendored
Normal file
@ -0,0 +1 @@
|
||||
.osc
|
3
gsound-1.0.1.tar.xz
Normal file
3
gsound-1.0.1.tar.xz
Normal file
@ -0,0 +1,3 @@
|
||||
version https://git-lfs.github.com/spec/v1
|
||||
oid sha256:ea0dd94429c0645f2f98824274ef04543fe459dd83a5449a68910acc3ba67f29
|
||||
size 256804
|
5
gsound.changes
Normal file
5
gsound.changes
Normal file
@ -0,0 +1,5 @@
|
||||
-------------------------------------------------------------------
|
||||
Fri Nov 28 20:48:49 UTC 2014 - zaitor@opensuse.org
|
||||
|
||||
- Initial packaging.
|
||||
|
114
gsound.spec
Normal file
114
gsound.spec
Normal file
@ -0,0 +1,114 @@
|
||||
#
|
||||
# spec file for package gsound
|
||||
#
|
||||
# Copyright (c) 2015 SUSE LINUX GmbH, Nuernberg, Germany.
|
||||
# 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
|
||||
Version: 1.0.1
|
||||
Release: 0
|
||||
Summary: A small library for playing system sounds
|
||||
License: LGPL-2.1
|
||||
Group: System/Libraries
|
||||
Url: https://wiki.gnome.org/Projects/GSound
|
||||
Source: http://download.gnome.org/sources/gsound/1.0/gsound-%{version}.tar.xz
|
||||
BuildRequires: pkgconfig(gobject-introspection-1.0)
|
||||
BuildRequires: pkgconfig(libcanberra)
|
||||
BuildRequires: pkgconfig(vapigen)
|
||||
BuildRoot: %{_tmppath}/%{name}-%{version}-build
|
||||
|
||||
%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 -n %{soname}
|
||||
Summary: Shared library for gsound
|
||||
Group: System/Libraries
|
||||
|
||||
%description -n %{soname}
|
||||
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.
|
||||
|
||||
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
|
||||
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 gsound
|
||||
Group: Development/Libraries/C and C++
|
||||
Requires: %{soname} = %{version}
|
||||
Requires: typelib-1_0-GSound-1_0 = %{version}
|
||||
|
||||
%description devel
|
||||
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.
|
||||
|
||||
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)
|
||||
%doc ChangeLog README COPYING
|
||||
%{_bindir}/gsound-play
|
||||
|
||||
%files -n %{soname}
|
||||
%defattr(-,root,root)
|
||||
%{_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
|
||||
|
Loading…
Reference in New Issue
Block a user