1 |
%define upstream_name App-Sky |
2 |
%define upstream_version 0.0.2 |
3 |
|
4 |
Name: sky |
5 |
Version: %perl_convert_version %{upstream_version} |
6 |
Release: %mkrel 1 |
7 |
|
8 |
Summary: Uploader that gives back a URL |
9 |
License: MIT |
10 |
Group: Networking/WWW |
11 |
Url: http://www.shlomifish.org/open-source/projects/sky/ |
12 |
Source0: http://cpan.metacpan.org/authors/id/S/SH/SHLOMIF/%{upstream_name}-%{version}.tar.gz |
13 |
|
14 |
BuildRequires: perl(Carp) |
15 |
BuildRequires: perl(Exception::Class) |
16 |
BuildRequires: perl(File::Basename) |
17 |
BuildRequires: perl(File::HomeDir) |
18 |
BuildRequires: perl(Getopt::Long) |
19 |
BuildRequires: perl(List::Util) |
20 |
BuildRequires: perl(List::MoreUtils) |
21 |
BuildRequires: perl(MooX::late) |
22 |
BuildRequires: perl(Pod::Usage) |
23 |
BuildRequires: perl(Scalar::Util) |
24 |
BuildRequires: perl(Term::ANSIColor) |
25 |
BuildRequires: perl(Test::Differences) |
26 |
BuildRequires: perl(Test::More) |
27 |
BuildRequires: perl(URI) |
28 |
BuildRequires: perl(YAML::XS) |
29 |
BuildRequires: perl |
30 |
BuildArch: noarch |
31 |
|
32 |
%description |
33 |
sky is a wrapper around uploaders such as rsync, which uploads a file to a |
34 |
remote host with a web service, and gives you a URL that will allow other |
35 |
people to download it immediately. |
36 |
|
37 |
%prep |
38 |
%setup -q -n %{upstream_name}-%{upstream_version} |
39 |
|
40 |
%build |
41 |
%{__perl} Build.PL installdirs=vendor |
42 |
./Build |
43 |
|
44 |
%check |
45 |
./Build test |
46 |
|
47 |
%install |
48 |
./Build install destdir=%{buildroot} |
49 |
|
50 |
%files |
51 |
%doc Changes META.yml README |
52 |
%{perl_vendorlib}/App/* |
53 |
%{_mandir}/*/* |
54 |
%{_bindir}/* |