Pascal Bleser
2011-02-18 21:59:13 +00:00
committed by Git OBS Bridge
commit d016f2eb2d
5 changed files with 77 additions and 0 deletions

45
perl-File-Remote.spec Normal file
View 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}