[packages/python-bibtex] - new

qboosh qboosh at pld-linux.org
Sun Sep 6 20:40:42 CEST 2020


commit e43f8745608d709ac8ea8be4fb912cc428df63b8
Author: Jakub Bogusz <qboosh at pld-linux.org>
Date:   Sun Sep 6 20:43:13 2020 +0200

    - new

 python-bibtex.spec | 58 ++++++++++++++++++++++++++++++++++++++++++++++++++++++
 1 file changed, 58 insertions(+)
---
diff --git a/python-bibtex.spec b/python-bibtex.spec
new file mode 100644
index 0000000..7b627ec
--- /dev/null
+++ b/python-bibtex.spec
@@ -0,0 +1,58 @@
+#
+# Conditional build:
+%bcond_without	tests	# smoke/regression test
+
+Summary:	Python 2 extension to parse BibTeX files
+Summary(pl.UTF-8):	Rozszerzenie Pythona 2 do analizy plików BibTeXa
+Name:		python-bibtex
+Version:	1.2.7
+Release:	1
+License:	GPL v2+
+Group:		Libraries/Python
+Source0:	http://downloads.sourceforge.net/pybliographer/%{name}-%{version}.tar.gz
+# Source0-md5:	27c225e7f414a6350ce0a31443008dff
+URL:		https://github.com/pybliographer/python-bibtex
+BuildRequires:	bison
+BuildRequires:	flex
+BuildRequires:	glib2-devel >= 2.0
+BuildRequires:	pkgconfig
+BuildRequires:	python-devel >= 1:2.6
+BuildRequires:	recode-devel >= 3.5
+BuildRequires:	rpm-pythonprov
+BuildRequires:	rpmbuild(macros) >= 1.714
+Requires:	python-modules >= 1:2.6
+Requires:	recode >= 3.5
+BuildRoot:	%{tmpdir}/%{name}-%{version}-root-%(id -u -n)
+
+%description
+This module contains two extensions needed for pybliographer:
+- a BibTeX parser
+- a simple binding to GNU Recode
+
+%description -l pl.UTF-8
+Ten moduł zawiera dwa rozszerzenia wymagane przez pybliographera:
+- parser BibTeXa
+- proste wiązanie do GNU Recode
+
+%prep
+%setup -q
+
+%build
+%py_build %{?with_tests:check}
+
+%install
+rm -rf $RPM_BUILD_ROOT
+
+%py_install
+
+%py_postclean
+
+%clean
+rm -rf $RPM_BUILD_ROOT
+
+%files
+%defattr(644,root,root,755)
+%doc NEWS README
+%attr(755,root,root) %{py_sitedir}/_bibtex.so
+%attr(755,root,root) %{py_sitedir}/_recode.so
+%{py_sitedir}/python_bibtex-%{version}-py*.egg-info
================================================================

---- gitweb:

http://git.pld-linux.org/gitweb.cgi/packages/python-bibtex.git/commitdiff/e43f8745608d709ac8ea8be4fb912cc428df63b8



More information about the pld-cvs-commit mailing list