]> git.pld-linux.org Git - packages/python-bibtex.git/blob - python-bibtex.spec
7b627ec83569c479bae039986b17c311da9e905c
[packages/python-bibtex.git] / python-bibtex.spec
1 #
2 # Conditional build:
3 %bcond_without  tests   # smoke/regression test
4
5 Summary:        Python 2 extension to parse BibTeX files
6 Summary(pl.UTF-8):      Rozszerzenie Pythona 2 do analizy plików BibTeXa
7 Name:           python-bibtex
8 Version:        1.2.7
9 Release:        1
10 License:        GPL v2+
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
15 BuildRequires:  bison
16 BuildRequires:  flex
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)
26
27 %description
28 This module contains two extensions needed for pybliographer:
29 - a BibTeX parser
30 - a simple binding to GNU Recode
31
32 %description -l pl.UTF-8
33 Ten moduł zawiera dwa rozszerzenia wymagane przez pybliographera:
34 - parser BibTeXa
35 - proste wiązanie do GNU Recode
36
37 %prep
38 %setup -q
39
40 %build
41 %py_build %{?with_tests:check}
42
43 %install
44 rm -rf $RPM_BUILD_ROOT
45
46 %py_install
47
48 %py_postclean
49
50 %clean
51 rm -rf $RPM_BUILD_ROOT
52
53 %files
54 %defattr(644,root,root,755)
55 %doc NEWS README
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
This page took 0.10438 seconds and 2 git commands to generate.