File perl-bp.spec of Package perl-bp

#
# spec file for package perl-bp (Version 0.7)
#
# Copyright (c) 2004 SUSE LINUX AG, 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://www.suse.de/feedback/
#

# norootforbuild

Name:         perl-bp
BuildRequires: db-devel sharutils
Version:      0.7
Release:      1
License:      GPL
Group:        Development/Libraries/Perl
URL:          http://sixpack.sourceforge.net/
Autoreqprov:  on
Summary:      A perl package for importing/exporting bibliographies in a variety of formats.
Source:       http://prdownloads.sourceforge.net/sixpack/%{name}.tar.bz2
Patch:        Makefile.diff
BuildRoot:    %{_tmppath}/%{name}-%{version}-build

%description
BP is a Perl package that allows you to import (and in some cases
export) bibliographies in a variety of formats, including bibtex,
Refer, Endnote, and Melvyl.  It includes a command-line program for
conversion of bibliographies.



Authors:
--------
    Dana Jacobsen
    David Kaplan

%prep
%setup -n %{name}
%patch -p1

%build

%install
[ "${RPM_BUILD_ROOT}" != "/" -a -d ${RPM_BUILD_ROOT} ] && rm -rf ${RPM_BUILD_ROOT}
export BPHOME=${RPM_BUILD_ROOT}/%{perl_vendorarch}
%{__make} install

%clean
[ "${RPM_BUILD_ROOT}" != "/" -a -d ${RPM_BUILD_ROOT} ] && rm -rf ${RPM_BUILD_ROOT}

%files
%defattr(-,root,root)
%{_bindir}/bibconv
%{_bindir}/bibcount
%{_bindir}/bibgrep
%{_bindir}/bibrdup
%{_bindir}/bibsort
%{perl_vendorarch}/*

%changelog -n perl-bp
* Wed Jan 25 2006 - mls@suse.de
- converted neededforbuild to BuildRequires
* Thu Jun 17 2004 - lmuelle@suse.de
- Inital SuSE RPM.
openSUSE Build Service is sponsored by