OBS-URL: https://build.opensuse.org/package/show/devel:languages:perl/perl-File-Remote?expand=0&rev=1
46 lines
1.1 KiB
RPMSpec
46 lines
1.1 KiB
RPMSpec
# 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}
|
|
|