Sophie

Sophie

distrib > Mageia > 8 > x86_64 > by-pkgid > 2d43852d0ee2211f41b4663b5f2157af > files > 3

aubio-0.4.9-4.mga8.src.rpm

%define major 5
%define libname %mklibname %{name} %{major}
%define develname %mklibname %{name} -d

Summary:        A library for audio labelling
Name:           aubio
Version:        0.4.9
Release:        %mkrel 4
License:        GPLv2+
Group:          Sound/Utilities
Url:            http://aubio.org/
Source0:        http://aubio.org/pub/%{name}-%{version}.tar.bz2
Patch1:         aubio-0.4.2-libdir.patch
# See https://bugs.mageia.org/show_bug.cgi?id=23211
# Patch3:         https://bugzilla.suse.com/attachment.cgi?id=773230#/mga23211_1.patch
Patch3:         mga23211_2.patch
Patch4:		python3.8.patch
BuildRequires:  doxygen
BuildRequires:  pkgconfig(fftw3)
BuildRequires:  pkgconfig(sndfile)
BuildRequires:  pkgconfig(samplerate)
BuildRequires:  pkgconfig(alsa)
BuildRequires:  swig
BuildRequires:  pkgconfig(lash-1.0)
BuildRequires:  pd-devel
BuildRequires:  docbook-to-man
BuildRequires:  python3-devel
BuildRequires:  python3-numpy-devel
BuildRequires:  python3-setuptools
BuildRequires:  python3-sphinx

%description
A library for audio labelling. Its features include segmenting
a sound file before each of its attacks, performing pitch
detection, tapping the beat and producing midi streams from
live audio. The name aubio comes from 'audio' with a typo:
several transcription errors are likely to be found in the
results too.

%package -n %{libname}
Summary:        Main library for %{name}
Group:          System/Libraries
Requires:       %{name} >= %{version}-%{release}

%description -n %{libname}
Main library for %{name}.

%package -n %{develname}
Summary:        Development files for %{name}
Group:          Development/C++
Requires:       %{libname} = %{version}-%{release}
Provides:       %{name}-devel = %{version}-%{release}
Provides:       lib%{name}-devel = %{version}-%{release}

%description -n %{develname}
Development files and headers for %{name}.

%package -n python3-%{name}
Summary:        Python bindings for %{name}
Group:          Development/Python
%{?python_provide:%python_provide python3-%{name}}

%description -n python3-%{name}
Python bindings for %{name}.

%prep
%setup -q
%autopatch -p1

%build
%set_build_flags
./waf configure --prefix=%{_prefix} \
    --libdir=%{_libdir}
./waf build -v

# python3
%py3_build

%install
./waf install --destdir=%{buildroot}

# python3
%py3_install

# we don't want these
find %{buildroot} -name '*.la' -delete
rm %{buildroot}/%{_libdir}/libaubio.a

%files
%doc AUTHORS README.md
%{_bindir}/*

%files -n %{libname}
%{_libdir}/*.so.%{major}{,.*}

%files -n %{develname}
%{_docdir}/libaubio-doc/api
%{_includedir}/%{name}
%{_libdir}/*.so
%{_libdir}/pkgconfig/*.pc

%files -n python3-%{name}
%{python3_sitearch}/aubio/
%{python3_sitearch}/aubio-%{version}-py%{python3_version}.egg-info/


%changelog
* Sun Feb 16 2020 umeabot <umeabot> 0.4.9-4.mga8
+ Revision: 1531048
- Mageia 8 Mass Rebuild
+ wally <wally>
- replace deprecated %%setup_compile_flags

* Mon Sep 09 2019 wally <wally> 0.4.9-3.mga8
+ Revision: 1438930
- rebuild for python3.8

* Mon Aug 05 2019 wally <wally> 0.4.9-2.mga8
+ Revision: 1427393
- switch bindings build to python3
- loosen lib pkg requires
- drop unneeded requires handled by autodep generators

* Tue Feb 19 2019 shlomif <shlomif> 0.4.9-1.mga7
+ Revision: 1368470
- New version 0.4.9

* Sat Dec 22 2018 shlomif <shlomif> 0.4.8-1.mga7
+ Revision: 1344476
- New version 0.4.8

* Sun Oct 14 2018 shlomif <shlomif> 0.4.7-1.mga7
+ Revision: 1320298
- New version 0.4.7

* Fri Sep 21 2018 umeabot <umeabot> 0.4.6-4.mga7
+ Revision: 1295096
- Mageia 7 Mass Rebuild

* Wed Jul 25 2018 shlomif <shlomif> 0.4.6-3.mga7
+ Revision: 1245246
- bump rel.
- Add a patch for mga#23211

* Sun Apr 01 2018 shlomif <shlomif> 0.4.6-2.mga7
+ Revision: 1214066
- Fix MGA#22849 - div by zero

* Tue Oct 24 2017 shlomif <shlomif> 0.4.6-1.mga7
+ Revision: 1173251
- New version 0.4.6

* Thu Jul 20 2017 shlomif <shlomif> 0.4.5-1.mga7
+ Revision: 1125523
- New version 0.4.5

* Sat Feb 13 2016 umeabot <umeabot> 0.4.2-2.mga6
+ Revision: 959544
- Mageia 6 Mass Rebuild

* Sun Nov 29 2015 shlomif <shlomif> 0.4.2-1.mga6
+ Revision: 907126
- Add missing BR
- Add missing BR
- Add missing BR
- New version 0.4.2

* Sat Jun 20 2015 shlomif <shlomif> 0.4.1-1.mga6
+ Revision: 835806
- synced patches
- New version 0.4.1

* Wed Oct 15 2014 umeabot <umeabot> 0.3.2-17.mga5
+ Revision: 747434
- Second Mageia 5 Mass Rebuild

* Sat Sep 27 2014 tv <tv> 0.3.2-16.mga5
+ Revision: 725956
- rebuild for missing pythoneggs deps

* Tue Sep 16 2014 umeabot <umeabot> 0.3.2-15.mga5
+ Revision: 678035
- Mageia 5 Mass Rebuild

* Sat May 31 2014 pterjan <pterjan> 0.3.2-14.mga5
+ Revision: 628107
- Rebuild for new Python

* Tue Oct 22 2013 umeabot <umeabot> 0.3.2-13.mga4
+ Revision: 546161
- Mageia 4 Mass Rebuild

* Thu Oct 17 2013 philippem <philippem> 0.3.2-12.mga4
+ Revision: 502242
- Fix byte-compilation error. Borrowed from Debian

* Fri Jan 11 2013 umeabot <umeabot> 0.3.2-11.mga3
+ Revision: 346570
- Mass Rebuild - https://wiki.mageia.org/en/Feature:Mageia3MassRebuild

* Thu Nov 29 2012 malo <malo> 0.3.2-10.mga3
+ Revision: 322752
- update RPM group

* Sat Dec 10 2011 eatdirt <eatdirt> 0.3.2-9.mga2
+ Revision: 180311
- Rebuilt for fftw-3.3
  Fix compilation failure due to missing symbols

* Tue Jun 14 2011 dmorgan <dmorgan> 0.3.2-8.mga2
+ Revision: 106324
- Do not package .la files

* Tue Mar 29 2011 ennael <ennael> 0.3.2-7.mga1
+ Revision: 78703
- clean spec file
- clean spec file
- imported package aubio


* Fri Nov 05 2010 Funda Wang <fwang@mandriva.org> 0.3.2-7mdv2011.0
+ Revision: 593668
- BR docbook-to-man
- fix python linakge

* Sat Feb 27 2010 Götz Waschk <waschk@mandriva.org> 0.3.2-7mdv2010.1
+ Revision: 512442
- rebuild for new libjack

* Thu Sep 10 2009 Thierry Vignaud <tv@mandriva.org> 0.3.2-6mdv2010.0
+ Revision: 436681
- rebuild

* Mon Dec 29 2008 Tomasz Pawel Gajc <tpg@mandriva.org> 0.3.2-5mdv2009.1
+ Revision: 321018
- fix build on x86_64
- link against pd-devel
- use %%define _disable_ld_no_undefined 1
- Patch0: fix build with -Werror=format-security

* Mon Aug 11 2008 Tomasz Pawel Gajc <tpg@mandriva.org> 0.3.2-2mdv2009.0
+ Revision: 270860
- fix provides for devel subpackage

* Mon Aug 11 2008 Tomasz Pawel Gajc <tpg@mandriva.org> 0.3.2-1mdv2009.0
+ Revision: 270810
- add buildrequires on libsndfile-devel, libsamplerate-devel, libalsa-devel, swig, lash-devel and pd-devel
- fix file list
- add more provides for devel subpackage
- add source and spec files
- Created package structure for aubio.