[chromaprint] Initial import (#755066)

Ismael Olea olea at fedoraproject.org
Thu Dec 8 11:44:20 UTC 2011


commit 587740b37129726361fda38221f5aed46ecaa6c3
Author: Ismael Olea <ismael at olea.org>
Date:   Thu Dec 8 12:43:00 2011 +0100

    Initial import (#755066)

 .gitignore       |    1 +
 chromaprint.spec |  126 ++++++++++++++++++++++++++++++++++++++++++++++++++++++
 sources          |    1 +
 3 files changed, 128 insertions(+), 0 deletions(-)
---
diff --git a/.gitignore b/.gitignore
index e69de29..488a56f 100644
--- a/.gitignore
+++ b/.gitignore
@@ -0,0 +1 @@
+/chromaprint-0.5.tar.gz
diff --git a/chromaprint.spec b/chromaprint.spec
new file mode 100644
index 0000000..815b23d
--- /dev/null
+++ b/chromaprint.spec
@@ -0,0 +1,126 @@
+Name:           chromaprint
+Version:        0.5
+Release:        4%{?dist}
+Summary:        Library implementing the AcoustID fingerprinting
+
+Group:          System Environment/Libraries
+License:        LGPLv2+
+URL:            http://www.acoustid.org/chromaprint/
+Source:         https://github.com/downloads/lalinsky/chromaprint/%{name}-%{version}.tar.gz
+
+BuildRoot:      %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n)
+
+BuildRequires:  cmake
+BuildRequires:  fftw-devel >= 3
+BuildRequires:  python
+
+%description
+Chromaprint library is the core component of the AcoustID project. It's a 
+client-side library that implements a custom algorithm for extracting 
+fingerprints from raw audio sources.
+
+The library exposes a simple C API and the package also includes bindings for
+the Python language. The documentation for the C API can be found in the main
+header file.
+
+%package -n libchromaprint
+Summary:        Library implementing the AcoustID fingerprinting
+Group:          Development/Libraries
+
+%description -n libchromaprint
+Chromaprint library is the core component of the AcoustID project. It's a 
+client-side library that implements a custom algorithm for extracting 
+fingerprints from raw audio sources.
+
+The library exposes a simple C API and the package also includes bindings for
+the Python language. The documentation for the C API can be found in the main
+header file.
+
+%package -n libchromaprint-devel
+Summary:        Headers for developing programs that will use %{name} 
+Group:          Development/Libraries
+
+Requires:       libchromaprint%{?_isa} = %{version}-%{release}
+Requires:       pkgconfig
+
+%description -n libchromaprint-devel
+This package contains the headers that programmers will need to develop
+applications which will use %{name}. 
+
+%package -n python-chromaprint
+Summary:        Python module for %{name} 
+Group:          Development/Libraries
+License:        MIT
+
+Requires:       libchromaprint%{?_isa} = %{version}-%{release}
+%description -n python-chromaprint
+This package contains the python module to use %{name}. 
+
+%prep
+%setup -q
+
+# examples require ffmpeg, so turn off examples
+%{cmake} -DBUILD_EXAMPLES=off -DBUILD_TESTS=off
+
+%build
+make %{?_smp_mflags}
+
+cd python
+CFLAGS="$RPM_OPT_FLAGS" %{__python} setup.py build
+cd ..
+
+
+%install
+rm  -rf %{buildroot}
+
+make install DESTDIR=%{buildroot}
+
+cd python
+%{__python} setup.py install -O1 --skip-build --root=%{buildroot}
+cd ..
+rm  -f %{buildroot}%{_libdir}/lib*.la
+
+
+%clean
+rm  -rf %{buildroot}
+
+
+%post -n libchromaprint -p /sbin/ldconfig
+
+%postun -n libchromaprint -p /sbin/ldconfig
+
+%files -n libchromaprint
+%defattr(-,root,root,-)
+%doc CHANGES.txt COPYING.txt NEWS.txt README.txt
+%{_libdir}/lib*.so.*
+
+%files -n libchromaprint-devel
+%defattr(-,root,root,-)
+%{_includedir}/chromaprint.h
+%{_libdir}/lib*.so
+%{_libdir}/pkgconfig/*.pc
+
+# MIT licensed
+%files -n python-chromaprint
+%doc python/examples python/LICENSE
+%{python_sitelib}/chromaprint
+%{python_sitelib}/*.egg-info
+
+
+%changelog
+* Wed Dec 07 2011 Ismael Olea <ismael at olea.org> - 0.5-4
+- minor spec enhancements
+
+* Mon Dec 05 2011 Ismael Olea <ismael at olea.org> - 0.5-3
+- Macro cleaning at spec
+
+* Thu Nov 18 2011 Ismael Olea <ismael at olea.org> - 0.5-2
+- first version for Fedora
+
+* Thu Nov 10 2011 Ismael Olea <ismael at olea.org> - 0.5-1
+- update to 0.5
+- subpackage for fpcalc 
+
+* Sat Aug 06 2011 Thomas Vander Stichele <thomas at apestaart dot org>
+- 0.4-1
+- Initial package
diff --git a/sources b/sources
index e69de29..7455ac6 100644
--- a/sources
+++ b/sources
@@ -0,0 +1 @@
+59c7b54b7d0b814a0cee593c8ef1d5fd  chromaprint-0.5.tar.gz


More information about the scm-commits mailing list