]> git.pld-linux.org Git - packages/python-pyacoustid.git/blob - python-pyacoustid.spec
56f3075295d4afd8dc35ca5bc53ef8621107498c
[packages/python-pyacoustid.git] / python-pyacoustid.spec
1 Summary:        Python bindings for Chromaprint acoustic finterprinting and the Acoustid API
2 Summary(pl.UTF-8):      Wiązania Pythona do biblioteki odcisków akustycznych Chromaprint i API Acoustid
3 # Name must match the python module/package name (as in 'import' statement)
4 Name:           python-pyacoustid
5 Version:        0.7
6 Release:        1
7 License:        MIT
8 Group:          Development/Languages/Python
9 Source0:        https://github.com/lalinsky/pyacoustid/tarball/%{version}/%{name}-%{version}.tar.gz
10 # Source0-md5:  cc1a6a21d4483d068f086737e8f58295
11 URL:            http://www.acoustid.org/chromaprint/
12 # remove BR: python-devel for 'noarch' packages.
13 BuildRequires:  python-modules
14 BuildRequires:  rpm-pythonprov
15 # if py_postclean is used
16 BuildRequires:  rpmbuild(macros) >= 1.219
17 Requires:       libchromaprint >= 0.7
18 Requires:       python-modules
19 Provides:       python-chromaprint = %{version}
20 Obsoletes:      python-chromaprint < 0.7
21 BuildArch:      noarch
22 BuildRoot:      %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
23
24 %description
25 Python bindings for Chromaprint acoustic finterprinting and the
26 Acoustid API.
27
28 %description -l pl.UTF-8
29 Wiązania Pythona do biblioteki odcisków akustycznych Chromaprint i API
30 Acoustid.
31
32 %prep
33 %setup -q -n lalinsky-pyacoustid-4701d2b
34
35 %build
36 %py_build
37
38 %install
39 rm -rf $RPM_BUILD_ROOT
40 %py_install
41
42 #py_ocomp $RPM_BUILD_ROOT%{py_sitesdir}
43 #py_comp $RPM_BUILD_ROOT%{py_sitedir}
44 %py_postclean
45
46 %clean
47 rm -rf $RPM_BUILD_ROOT
48
49 %files
50 %defattr(644,root,root,755)
51 %doc README.rst
52 %{py_sitescriptdir}/acoustid.py[co]
53 %{py_sitescriptdir}/chromaprint.py[co]
54 %if "%{py_ver}" > "2.4"
55 %{py_sitescriptdir}/pyacoustid-%{version}-py*.egg-info
56 %endif
This page took 0.062261 seconds and 2 git commands to generate.