3 %bcond_without tests # smoke/regression test
5 Summary: Python 2 extension to parse BibTeX files
6 Summary(pl.UTF-8): Rozszerzenie Pythona 2 do analizy plików BibTeXa
11 Group: Libraries/Python
12 Source0: http://downloads.sourceforge.net/pybliographer/%{name}-%{version}.tar.gz
13 # Source0-md5: 27c225e7f414a6350ce0a31443008dff
14 URL: https://github.com/pybliographer/python-bibtex
17 BuildRequires: glib2-devel >= 2.0
18 BuildRequires: pkgconfig
19 BuildRequires: python-devel >= 1:2.6
20 BuildRequires: recode-devel >= 3.5
21 BuildRequires: rpm-pythonprov
22 BuildRequires: rpmbuild(macros) >= 1.714
23 Requires: python-modules >= 1:2.6
24 Requires: recode >= 3.5
25 BuildRoot: %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
28 This module contains two extensions needed for pybliographer:
30 - a simple binding to GNU Recode
32 %description -l pl.UTF-8
33 Ten moduł zawiera dwa rozszerzenia wymagane przez pybliographera:
35 - proste wiązanie do GNU Recode
41 %py_build %{?with_tests:check}
44 rm -rf $RPM_BUILD_ROOT
51 rm -rf $RPM_BUILD_ROOT
54 %defattr(644,root,root,755)
56 %attr(755,root,root) %{py_sitedir}/_bibtex.so
57 %attr(755,root,root) %{py_sitedir}/_recode.so
58 %{py_sitedir}/python_bibtex-%{version}-py*.egg-info