SHA256
1
0
forked from pool/aubio

Accepting request 342554 from home:posophe:branches:multimedia:libs

fixed

OBS-URL: https://build.opensuse.org/request/show/342554
OBS-URL: https://build.opensuse.org/package/show/multimedia:libs/aubio?expand=0&rev=9
This commit is contained in:
OBS User mrdocs
2015-11-05 12:59:05 +00:00
committed by Git OBS Bridge
parent 2a24c78a0a
commit a9d50f798a
6 changed files with 93 additions and 14 deletions

View File

@@ -1,7 +1,7 @@
#
# spec file for package aubio
#
# Copyright (c) 2014 SUSE LINUX Products GmbH, Nuernberg, Germany.
# Copyright (c) 2015 SUSE LINUX Products GmbH, Nuernberg, Germany.
#
# All modifications and additions to the file contributed by third parties
# remain the property of their copyright owners, unless otherwise agreed
@@ -22,13 +22,18 @@ Summary: Library for real-time audio labelling
License: GPL-2.0
Group: System/Libraries
BuildRequires: alsa-devel
BuildRequires: doxygen
%if 0%{?suse_version} > 1320 || (0%{?suse_version} == 1315 && 0%{?is_opensuse})
BuildRequires: ffmpeg-devel
BuildRequires: txt2man
%endif
BuildRequires: fftw3-devel
BuildRequires: libjack-devel
BuildRequires: libsamplerate-devel
BuildRequires: libsndfile-devel
BuildRequires: pkg-config
BuildRequires: python
Version: 0.4.1
BuildRequires: python-devel
Version: 0.4.2
Release: 0
Source: http://aubio.org/pub/%{name}-%{version}.tar.bz2
Source1: http://aubio.org/pub/%{name}-%{version}.tar.bz2.asc
@@ -87,7 +92,9 @@ mv src/wscript_build.new src/wscript_build
%install
./waf install --destdir=%{buildroot}
rm %{buildroot}/%{_libdir}/libaubio.a
mkdir -p %{buildroot}%{_docdir}/%{name}
cp -pR %{buildroot}%{_datadir}/doc/libaubio-doc/html %{buildroot}%{_docdir}/%{name}
rm -rf %{buildroot}%{_datadir}/doc/libaubio-doc
%post -n %{libpkgname} -p /sbin/ldconfig
@@ -106,6 +113,10 @@ rm %{buildroot}/%{_libdir}/libaubio.a
%files tools
%defattr(-, root, root)
%doc %{_docdir}/%{name}
%if 0%{?suse_version} > 1320 || (0%{?suse_version} == 1315 && 0%{?is_opensuse})
%{_mandir}/man1/*
%endif
%{_bindir}/*
%changelog