File perl-bp.spec of Package perl-bp

#
# spec file for package perl-bp (Version 0.7)
#
# Copyright (c) 2009 SUSE LINUX Products GmbH, Nuernberg, Germany.
#
# 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/
#

# norootforbuild


Name:           perl-bp
BuildRequires:  db-devel sharutils
Version:        0.7
Release:        195
License:        Use and distribution allowed. No warranty.
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
* 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