[perl-Net-Dropbox-API] Initial import
cheeselee
cheeselee at fedoraproject.org
Thu Jul 12 05:32:23 UTC 2012
commit 4bd0bac6dda24c1fbb0a624b1b3f9b2769c17e79
Author: Robin Lee <cheeselee at fedoraproject.org>
Date: Thu Jul 12 13:32:08 2012 +0800
Initial import
.gitignore | 1 +
perl-Net-Dropbox-API.spec | 51 +++++++++++++++++++++++++++++++++++++++++++++
sources | 1 +
3 files changed, 53 insertions(+), 0 deletions(-)
---
diff --git a/.gitignore b/.gitignore
index e69de29..091db0d 100644
--- a/.gitignore
+++ b/.gitignore
@@ -0,0 +1 @@
+/Net-Dropbox-API-1.8.tar.gz
diff --git a/perl-Net-Dropbox-API.spec b/perl-Net-Dropbox-API.spec
new file mode 100644
index 0000000..1331b2d
--- /dev/null
+++ b/perl-Net-Dropbox-API.spec
@@ -0,0 +1,51 @@
+Name: perl-Net-Dropbox-API
+Version: 1.8
+Release: 1%{?dist}
+Summary: A dropbox API interface
+License: GPL+ or Artistic
+Group: Development/Libraries
+URL: http://search.cpan.org/dist/Net-Dropbox-API/
+Source0: http://www.cpan.org/authors/id/N/NO/NORBU/Net-Dropbox-API-%{version}.tar.gz
+BuildArch: noarch
+BuildRequires: perl(common::sense)
+BuildRequires: perl(Data::Random)
+BuildRequires: perl(ExtUtils::MakeMaker)
+BuildRequires: perl(HTTP::Request::Common)
+BuildRequires: perl(JSON)
+BuildRequires: perl(LWP::UserAgent)
+BuildRequires: perl(Mouse)
+BuildRequires: perl(Net::OAuth)
+BuildRequires: perl(Test::More)
+BuildRequires: perl(URI)
+Requires: perl(:MODULE_COMPAT_%(eval "`%{__perl} -V:version`"; echo $version))
+
+%description
+The Dropbox API is a OAuth based API. It is abstracted as much away
+as possible so you should not need to know too much about it.
+
+%prep
+%setup -q -n Net-Dropbox-API-%{version}
+
+%build
+%{__perl} Makefile.PL INSTALLDIRS=vendor
+make %{?_smp_mflags}
+
+%install
+make pure_install PERL_INSTALL_ROOT=$RPM_BUILD_ROOT
+
+find $RPM_BUILD_ROOT -type f -name .packlist -exec rm -f {} \;
+find $RPM_BUILD_ROOT -depth -type d -exec rmdir {} 2>/dev/null \;
+
+%{_fixperms} $RPM_BUILD_ROOT/*
+
+%check
+make test
+
+%files
+%doc Changes ignore.txt README
+%{perl_vendorlib}/*
+%{_mandir}/man3/*
+
+%changelog
+* Fri Jun 15 2012 Robin Lee <cheeselee at fedoraproject.org> 1.8-1
+- Specfile autogenerated by cpanspec 1.78.
diff --git a/sources b/sources
index e69de29..b5e9c6f 100644
--- a/sources
+++ b/sources
@@ -0,0 +1 @@
+774eedef898d2f7db7837fe50974ff52 Net-Dropbox-API-1.8.tar.gz
More information about the perl-devel
mailing list