File perl-bp.spec of Package perl-bp

#
# spec file for package perl-bp (Version 0.7)
#
# Copyright (c) 2010 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
Summary:        A perl package for importing/exporting bibliographies in a variety of formats
Version:        0.7
Release:        204
License:        Use and distribution allowed. No warranty.
Group:          Development/Libraries/Perl
Url:            http://sixpack.sourceforge.net/
Source:         http://prdownloads.sourceforge.net/sixpack/%{name}.tar.bz2
Patch:          Makefile.diff
BuildRoot:      %{_tmppath}/%{name}-%{version}-build
%{perl_requires}
BuildRequires:  db-devel sharutils
BuildRequires:  perl
BuildRequires:  perl-macros

%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.

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

%build
## do not enable
#make %{_smp_mflags}

%install
%{__make} install

%check
%{__make} test

%clean
%{__rm} -rf ${RPM_BUILD_ROOT}

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

%changelog
openSUSE Build Service is sponsored by