File python-bibtex.spec of Package python-bibtex

#
# spec file for package python-bibtex (Version 1.2.4)
#
# Copyright (c) 2007 SUSE LINUX Products GmbH, Nuernberg, Germany.
# This file and all modifications and additions to the pristine
# package are under the same license as the package itself.
#
# Please submit bugfixes or comments via http://bugs.opensuse.org/
#

# norootforbuild

Name:           python-bibtex
BuildRequires:  glib2-devel python-devel recode-devel
Summary:        Python Interface to BibTeX Files
License:        GPL v2 or later
Version:        1.2.4
Release:        1
Group:          Development/Libraries/Python
Source:         http://unc.dl.sourceforge.net/sourceforge/pybliographer/%{name}-%{version}.tar.gz
%define pyver %(python -c 'import sys; print sys.version[:3]')
Requires:       python >= %pyver, python < %pyver.99
BuildRoot:      %{_tmppath}/%{name}-%{version}-build
URL:            http://pybliographer.org/

%description
This python extension contains a BibTeX parser and simple bindings to
the GNU Recode library. This extension is intended to be used with
pybliographer.



Authors:
--------
    Frederic Gobry <frederic.gobry@epfl.ch>
    Herve Dreau <hdreau@cybercable.fr>
    Travis Oliphant <Oliphant.Travis@mayo.edu>

%prep
%setup -q

%build
export CFLAGS="$RPM_OPT_FLAGS -fstrict-aliasing"
python setup.py build

%install
rm -rf $RPM_BUILD_ROOT
python setup.py install --prefix=%{_prefix} --root=$RPM_BUILD_ROOT --record-rpm=INSTALLED_FILES

%clean
rm -rf $RPM_BUILD_ROOT

%files -f INSTALLED_FILES
%defattr(-, root, root)
%doc README

%changelog
* Wed Jul 25 2007 - jmatejek@suse.cz
- update to 1.2.4
  * upstream fixes deallocation bug, dropping our patch
  * fixed parsing of standalone lowercase names, like "others"
  * fixed bug in escaping non-title fields
* Mon Oct 23 2006 - jmatejek@suse.cz
- fixed bad deallocation that caused python interpreter to abort
  (#208228)
* Tue Feb 28 2006 - jmatejek@suse.cz
- updated to reflect python changes due to #149809
* Wed Jan 25 2006 - mls@suse.de
- converted neededforbuild to BuildRequires
* Mon Oct 17 2005 - ke@suse.de
- Update to version 1.2.2.
* Fri Oct 08 2004 - ke@suse.de
- Update to version 1.2.1.
- Remove obsolete patch.
* Wed Aug 11 2004 - pth@suse.de
- Fix pointer<->int casts
* Wed Oct 22 2003 - mcihar@suse.cz
- no root for build
- cleaned up spec file
* Tue Oct 21 2003 - ke@suse.de
- Use versioned dependency on python; recommended by Michal Cihar.
* Tue Oct 21 2003 - ke@suse.de
- New package: version 1.1.93.1.
openSUSE Build Service is sponsored by