1.17
OBS-URL: https://build.opensuse.org/package/show/devel:languages:perl/perl-File-Remote?expand=0&rev=1
This commit is contained in:
45
perl-File-Remote.spec
Normal file
45
perl-File-Remote.spec
Normal file
@@ -0,0 +1,45 @@
|
||||
# vim: set sw=4 ts=4 et nu:
|
||||
|
||||
Name: perl-File-Remote
|
||||
Version: 1.17
|
||||
Release: 0
|
||||
Summary: Read/write/edit remote files transparently
|
||||
Source: http://search.cpan.org/CPAN/authors/id/N/NW/NWIGER/File-Remote-%{version}.tar.gz
|
||||
URL: http://search.cpan.org/dist/File-Remote
|
||||
Group: Development/Libraries/Perl
|
||||
License: Perl License
|
||||
BuildRoot: %{_tmppath}/build-%{name}-%{version}
|
||||
%{perl_requires}
|
||||
BuildRequires: perl-macros
|
||||
%if 0%{?suse_version} >= 1120
|
||||
BuildArch: noarch
|
||||
%endif
|
||||
|
||||
%description
|
||||
Perl module to read, write and edit remote files transparently.
|
||||
|
||||
%prep
|
||||
%setup -q -n "File-Remote-%{version}"
|
||||
%__sed -i '/^auto_install/d' Makefile.PL
|
||||
|
||||
%build
|
||||
%__perl Makefile.PL PREFIX="%{_prefix}"
|
||||
%__make %{?jobs:-j%{jobs}}
|
||||
|
||||
%install
|
||||
%perl_make_install
|
||||
%perl_process_packlist
|
||||
|
||||
%check
|
||||
%__make test
|
||||
|
||||
%clean
|
||||
%{?buildroot:%__rm -rf "%{buildroot}"}
|
||||
|
||||
%files
|
||||
%defattr(-,root,root)
|
||||
%doc README Changes Todo
|
||||
%dir %{perl_vendorlib}/File
|
||||
%{perl_vendorlib}/File/Remote.pm
|
||||
%doc %{perl_man3dir}/File::Remote.%{perl_man3ext}%{ext_man}
|
||||
|
Reference in New Issue
Block a user