From 165837088d73096a808e49c0d2af4b0c990b2da4 Mon Sep 17 00:00:00 2001 From: green Date: Jul 14 2008 04:40:04 +0000 Subject: Initial import --- diff --git a/.cvsignore b/.cvsignore index e69de29..be7ba38 100644 --- a/.cvsignore +++ b/.cvsignore @@ -0,0 +1 @@ +aubio-0.3.2.tar.gz diff --git a/aubio.spec b/aubio.spec new file mode 100644 index 0000000..4799040 --- /dev/null +++ b/aubio.spec @@ -0,0 +1,109 @@ +%{!?python_sitelib: %define python_sitelib %(%{__python} -c "from distutils.sysconfig import get_python_lib; print get_python_lib()")} +%{!?python_sitearch: %define python_sitearch %(%{__python} -c "from distutils.sysconfig import get_python_lib; print get_python_lib(1)")} + + +Name: aubio +Version: 0.3.2 +Release: 3%{?dist} +Summary: An audio labelling library + +Group: System Environment/Libraries +License: GPLv2+ +URL: http://aubio.org/ +Source0: http://aubio.org/pub/aubio-%{version}.tar.gz +BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n) + +BuildRequires: libsndfile-devel libsamplerate-devel fftw-devel +BuildRequires: lash-devel jack-audio-connection-kit-devel + +%description +aubio is 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. + +The aim of this project is to provide these automatic labelling +features to other audio softwares. Functions can be used offline in +sound editors and software samplers, or online in audio effects and +virtual instruments. + +%package devel +Summary: Development files for %{name} +Group: Development/Libraries +Requires: %{name} = %{version}-%{release} +Requires: pkgconfig + +%description devel +The %{name}-devel package contains libraries and header files for +developing applications that use %{name}. + +%package python +Summary: Python language bindings for %{name} +Group: Development/Libraries +Requires: %{name} = %{version}-%{release} +Requires: python +BuildRequires: python swig + +%description python +The %{name}-python package contains the Python language bindings for %{name}. + +%prep +%setup -q + + +%build +%configure --disable-static +sed -i 's|^hardcode_libdir_flag_spec=.*|hardcode_libdir_flag_spec=""|g' libtool +sed -i 's|^runpath_var=LD_RUN_PATH|runpath_var=DIE_RPATH_DIE|g' libtool +make %{?_smp_mflags} + + +%install +rm -rf $RPM_BUILD_ROOT +make install DESTDIR=$RPM_BUILD_ROOT +find $RPM_BUILD_ROOT -name '*.la' -exec rm -f {} ';' +rm -f $RPM_BUILD_ROOT%{_infodir}/dir +# Move everything to sitearch... +if [ %{python_sitearch} != %{python_sitelib} ]; then + mkdir -p $RPM_BUILD_ROOT%{python_sitearch} + mv $RPM_BUILD_ROOT%{python_sitelib}/%{name} $RPM_BUILD_ROOT%{python_sitearch} +fi + +%clean +rm -rf $RPM_BUILD_ROOT + + +%post -p /sbin/ldconfig + +%postun -p /sbin/ldconfig + + +%files +%defattr(-,root,root,-) +%doc AUTHORS ChangeLog COPYING README THANKS +%{_libdir}/*.so.* +%{_bindir}/* +%{_datadir}/sounds/%{name} + +%files devel +%defattr(-,root,root,-) +%{_libdir}/pkgconfig/*.pc +%{_libdir}/*.so +%{_includedir}/aubio + +%files python +%defattr(-,root,root,-) +%{python_sitearch}/%{name} + +%changelog +* Sun Jul 13 2008 Anthony Green 0.3.2-3 +- Fix python package installation. + +* Sun Jul 13 2008 Anthony Green 0.3.2-2 +- Untabify. +- Don't use rpath. +- Add python subpackage. + +* Thu Jul 10 2008 Anthony Green 0.3.2-1 +- Created. diff --git a/import.log b/import.log new file mode 100644 index 0000000..fcc75e1 --- /dev/null +++ b/import.log @@ -0,0 +1 @@ +aubio-0_3_2-3_fc9:HEAD:aubio-0.3.2-3.fc9.src.rpm:1216008910 diff --git a/sources b/sources index e69de29..83ae1b7 100644 --- a/sources +++ b/sources @@ -0,0 +1 @@ +ffc3e5e4880fec67064f043252263a44 aubio-0.3.2.tar.gz