perl-Net-eBay/perl-Net-eBay.spec

Name: perl-Net-eBay
Summary: Perl Interface to XML based eBay API
Version: 0.54
Release: 1
License: Artistic/GPL
Group: Applications/CPAN
URL: http://search.cpan.org/dist/Net-eBay/
Description: Perl Interface to XML based eBay API.

CentOS 7 x86_64

The build could not start because of the following missing build requirements:

Build Status

CentOS 6 x86_64

The build could not start because of the following missing build requirements:

Build Status

Contents

The spec file used by the build system currently has the following contents:

# $Id$
# Authority: dag
# Upstream: Igor Chudov <ichudov$algebra,com>

%define perl_vendorlib %(eval "`%{__perl} -V:installvendorlib`"; echo $installvendorlib)
%define perl_vendorarch %(eval "`%{__perl} -V:installvendorarch`"; echo $installvendorarch)

%define real_name Net-eBay

Summary: Perl Interface to XML based eBay API
Name: perl-Net-eBay
Version: 0.54
Release: 1
License: Artistic/GPL
Group: Applications/CPAN
URL: http://search.cpan.org/dist/Net-eBay/

Source: http://www.cpan.org/modules/by-module/Net/Net-eBay-%{version}.tar.gz
BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root

BuildArch: noarch
BuildRequires: perl(Crypt::SSLeay)
BuildRequires: perl(Data::Dumper)
BuildRequires: perl(DateTime::Precise)
BuildRequires: perl(HTML::FormatText)
BuildRequires: perl(HTML::PrettyPrinter)
BuildRequires: perl(HTML::TreeBuilder)
BuildRequires: perl(HTTP::Date)
BuildRequires: perl(HTTP::Request::Common)
BuildRequires: perl(HTTP::Status)
BuildRequires: perl(LWP::UserAgent)
BuildRequires: perl(Net::SSLeay)
BuildRequires: perl(Test::More)
BuildRequires: perl(Text::Format)
BuildRequires: perl(XML::Dumper)
BuildRequires: perl(XML::Simple)
Requires: perl(Crypt::SSLeay)
Requires: perl(Data::Dumper)
Requires: perl(DateTime::Precise)
Requires: perl(HTML::FormatText)
Requires: perl(HTML::PrettyPrinter)
Requires: perl(HTML::TreeBuilder)
Requires: perl(HTTP::Date)
Requires: perl(HTTP::Request::Common)
Requires: perl(HTTP::Status)
Requires: perl(LWP::UserAgent)
Requires: perl(Net::SSLeay)
Requires: perl(Test::More)
Requires: perl(Text::Format)
Requires: perl(XML::Dumper)
Requires: perl(XML::Simple)

%filter_from_requires /^perl*/d
%filter_setup

%description
Perl Interface to XML based eBay API.

%prep
%setup -n %{real_name}-%{version}

%build
%{__perl} Makefile.PL INSTALLDIRS="vendor" PREFIX="%{buildroot}%{_prefix}"
%{__make} %{?_smp_mflags}

%install
%{__rm} -rf %{buildroot}
%{__make} pure_install

### Clean up buildroot
%{__mv} -vf %{buildroot}%{perl_vendorlib}/Net/ebay*.pl %{buildroot}%{_bindir}
find %{buildroot} -name .packlist -exec %{__rm} {} \;

%clean
%{__rm} -rf %{buildroot}

%files
%defattr(-, root, root, 0755)
%doc Changes MANIFEST META.yml README
%doc %{_mandir}/man3/Net::eBay.3pm*
%{_bindir}/ebay-add-item.pl
%{_bindir}/ebay-api-usage.pl
%{_bindir}/ebay-end-item-early.pl
%{_bindir}/ebay-get-all-bidders.pl
%{_bindir}/ebay-get-categories.pl
%{_bindir}/ebay-get-high-bidders.pl
%{_bindir}/ebay-get-item.pl
%{_bindir}/ebay-get-item-transactions.pl
%{_bindir}/ebay-get-my-selling.pl
%{_bindir}/ebay-get-my-sold.pl
%{_bindir}/ebay-get-seller-list.pl
%{_bindir}/ebay-get-suggested-categories.pl
%{_bindir}/ebay-get-user-contact.pl
%{_bindir}/ebay-get-user-feedback.pl
%{_bindir}/ebay-leave-feedback.pl
%{_bindir}/ebay-official-time.pl
%{_bindir}/ebay-revise-item.pl
%{_bindir}/ebay-search.pl
%{_bindir}/ebay-validate-test-user.pl
%dir %{perl_vendorlib}/Net/
#%{perl_vendorlib}/Net/eBay/
%{perl_vendorlib}/Net/eBay.pm

%changelog
* Thu Dec 10 2009 Christoph Maser <cmr@financial.com> - 0.54-1
- Updated to version 0.54.

* Thu Jul  9 2009 Christoph Maser <cmr@financial.com> - 0.53-1
- Updated to version 0.53.

* Sat Jul  4 2009 Christoph Maser <cmr@financial.com> - 0.52-1
- Updated to version 0.52.

* Wed May 14 2008 Dag Wieers <dag@wieers.com> - 0.48-1
- Updated to release 0.48.

* Wed Feb 20 2008 Dag Wieers <dag@wieers.com> - 0.46-1
- Updated to release 0.46.

* Fri Nov 23 2007 Dag Wieers <dag@wieers.com> - 0.45-1
- Initial package. (using DAR)