]> git.pld-linux.org Git - packages/perl-File-Remove.git/blame - perl-File-Remove.spec
- up to 1.58
[packages/perl-File-Remove.git] / perl-File-Remove.spec
CommitLineData
81463287 1%include /usr/lib/rpm/macros.perl
5a846fad 2Summary: File::Remove - remove files and directories
999052e9 3Summary(pl.UTF-8): File::Remove - usuwanie plików i katalogów
f7828a8f 4Name: perl-File-Remove
ee04729a 5Version: 1.58
5814897b 6Release: 1
5a846fad 7# same as perl
8License: GPL v1+ or Artistic
f7828a8f 9Group: Development/Languages/Perl
8e4c8057 10Source0: http://www.cpan.org/modules/by-module/File/File-Remove-%{version}.tar.gz
ee04729a 11# Source0-md5: f2d3959c7a8982bbdd03bb27f8b76891
dd0525ca 12URL: http://search.cpan.org/dist/File-Remove/
8e4c8057 13BuildRequires: perl-ExtUtils-MakeMaker >= 6.36
99e81a67 14BuildRequires: perl-devel >= 1:5.8.0
bd97cd97 15BuildRequires: rpm-perlprov >= 4.1-13
8e4c8057 16%if %{with tests}
54fcad2c 17BuildRequires: perl(Cwd) >= 3.29
8e4c8057
JB
18BuildRequires: perl(File::Spec) >= 3.29
19BuildRequires: perl-Test-Simple >= 0.42
20%endif
92ce5bee 21BuildArch: noarch
145a6e70 22BuildRoot: %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
f7828a8f 23
24%description
5a846fad 25File::Remove removes files and directories. It acts like rm for the
06080204
CM
26most part. Although unlink can be given a list of files it will not
27remove directories. This module remedies that. It also accepts
5a846fad 28wildcards, * and ?, as arguments for filenames.
f7828a8f 29
6f0d9e71
JR
30%description -l pl.UTF-8
31File::Remove usuwa pliki i katalogi. Działa w zasadzie jak rm.
32Jednakże, funkcji unlink można przekazać tylko listę plików, nie usuwa
33ona katalogów. Ten moduł ma na to lekarstwo. Akceptuje również
34metaznaki: * i ? jako argumenty dla nazw plików.
f7828a8f 35
36%prep
5814897b 37%setup -q -n File-Remove-%{version}
f7828a8f 38
39%build
d3f590e7 40%{__perl} Makefile.PL \
a7a789e0 41 INSTALLDIRS=vendor
9583b440 42%{__make}
f7828a8f 43
44%install
45rm -rf $RPM_BUILD_ROOT
f7828a8f 46
a9e95124 47%{__make} pure_install \
bd97cd97 48 DESTDIR=$RPM_BUILD_ROOT
f7828a8f 49
f7828a8f 50%clean
51rm -rf $RPM_BUILD_ROOT
52
53%files
54%defattr(644,root,root,755)
6e9fbeef 55%doc Changes README
d3f590e7 56%{perl_vendorlib}/File/Remove.pm
a9e95124 57%{_mandir}/man3/File::Remove.3pm*
This page took 0.072716 seconds and 4 git commands to generate.