Sign Up
Log In
Log In
or
Sign Up
Places
All Projects
Status Monitor
Collapse sidebar
openSUSE:12.1
python-pybtex
python-pybtex.spec
Overview
Repositories
Revisions
Requests
Users
Attributes
Meta
File python-pybtex.spec of Package python-pybtex
# # spec file for package python-pybtex # # Copyright (c) 2011 SUSE LINUX Products GmbH, Nuernberg, Germany. # Copyright (c) 2010 Guido Berhoerster. # # All modifications and additions to the file contributed by third parties # remain the property of their copyright owners, unless otherwise agreed # upon. The license for this file, and modifications and additions to the # file, is the same license as for the pristine package itself (unless the # license for the pristine package is not an Open Source License, in which # case the license is the MIT License). An "Open Source License" is a # license that conforms to the Open Source Definition (Version 1.9) # published by the Open Source Initiative. # Please submit bugfixes or comments via http://bugs.opensuse.org/ # Name: python-pybtex Version: 0.15 Release: 1 License: MIT Summary: BibTeX-compatible Bibliography Processor in Python Url: http://pybtex.sourceforge.net/ Group: Productivity/Publishing/TeX/Utilities Source: http://pypi.python.org/packages/source/p/pybtex/pybtex-%{version}.tar.bz2 BuildRequires: python-devel BuildRequires: python-setuptools BuildRequires: ed BuildRequires: fdupes Requires: python-pyparsing %{py_requires} Recommends: python-yaml BuildRoot: %{_tmppath}/%{name}-%{version}-build BuildArch: noarch %description Pybtex is a BibTeX-compatible bibliography processor written in Python which can produce formatted bibliographies in different, customizable formats. It supports both native BibTeX style files and styles written in Python and accepts BibTeX, BibTeXML, and a custom YAML-based bibligraphy input format and can output LaTeX, HTML, and plain text. Furthermore, Pybtex provides an interface for Python applications which need to process the above formats. %prep %setup -q -n pybtex-%{version} # prevent tests from being installed rm -rf pybtex/tests # remove shebang from non-executables find pybtex/ -name '*.py' -print -exec sh -c ' ed -s "$1" 2>/dev/null <<\EOF /^#!\/usr\/bin\/env/d w EOF ' {} {} \; %build %{__python} setup.py build %install %{__python} setup.py install --prefix=%{_prefix} --root=%{buildroot} --record-rpm=INSTALLED_FILES install -D -p -m 644 docs/man1/pybtex.1 %{buildroot}%{_mandir}/man1/pybtex.1 install -D -p -m 644 docs/man1/pybtex-convert.1 %{buildroot}%{_mandir}/man1/pybtex-convert.1 %fdupes %{buildroot}%{python_sitelib} %clean rm -rf %{buildroot} %files -f INSTALLED_FILES %defattr(-,root,root,-) %doc COPYING CHANGES README %doc docs/html %doc %{_mandir}/man1/pybtex*.1* %changelog
Locations
Projects
Search
Status Monitor
Help
OpenBuildService.org
Documentation
API Documentation
Code of Conduct
Contact
Support
@OBShq
Terms
openSUSE Build Service is sponsored by
The Open Build Service is an
openSUSE project
.
Sign Up
Log In
Places
Places
All Projects
Status Monitor