]> git.pld-linux.org Git - packages/perl-Filesys-DiskSpace.git/blame - perl-Filesys-DiskSpace.spec
- drop obsolete and outdated manual inclusion of rpm macros
[packages/perl-Filesys-DiskSpace.git] / perl-Filesys-DiskSpace.spec
CommitLineData
a3ab0eb1 1#
2# Conditional build:
bd1881ed 3%bcond_with tests # perform crappy "make test"
95a4cfb4 4
6b51abc5 5%define pdir Filesys
6%define pnam DiskSpace
d5d5423e 7Summary: Filesys::DiskSpace - Perl df
63f050cc 8Summary(pl.UTF-8): Filesys::DiskSpace - df w Perlu
3f38f7c7 9Name: perl-Filesys-DiskSpace
33407c8b 10Version: 0.05
fbf6bf2d 11Release: 9
d5d5423e 12# same as perl
13License: GPL v1+ or Artistic
3f38f7c7 14Group: Development/Languages/Perl
3f0858d6 15Source0: http://www.cpan.org/modules/by-module/%{pdir}/%{pdir}-%{pnam}-%{version}.tar.gz
efc3ce6d 16# Source0-md5: b95651483e0234db33561a53708e007d
95a4cfb4 17URL: http://search.cpan.org/dist/Filesys-DiskSpace/
c3967d57 18BuildRequires: perl-devel >= 1:5.8.0
95a4cfb4 19BuildRequires: rpm-perlprov >= 4.1-13
4a28fbde 20BuildArch: noarch
3bae8ea0 21BuildRoot: %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
3f38f7c7 22
23%description
d5d5423e 24The Filesys::DiskSpace Perl module is used for displaying information
25of a file system such as its type, the amount of disk space occupied,
26the total disk space and the number of inodes.
3f38f7c7 27
e4bd7f64
JR
28%description -l pl.UTF-8
29Moduł Perla Filesys::DiskSpace służy do wypisywania takich informacji
30o systemie plików, jak jego typ, ilość zajętego miejsca na dysku,
31łączna pojemność dysku i liczba i-węzłów.
3f38f7c7 32
33%prep
5fc6d8e6 34%setup -q -n %{pdir}-%{pnam}-%{version}
3f38f7c7 35
36%build
35189e38 37%{__perl} Makefile.PL \
f1d3b46f 38 INSTALLDIRS=vendor
31256874 39%{__make}
3f38f7c7 40
a3ab0eb1 41%{?with_tests:%{__make} test}
42
3f38f7c7 43%install
44rm -rf $RPM_BUILD_ROOT
3f38f7c7 45
9256d6dc 46%{__make} install \
47 DESTDIR=$RPM_BUILD_ROOT
3f38f7c7 48
3f38f7c7 49%clean
50rm -rf $RPM_BUILD_ROOT
51
52%files
53%defattr(644,root,root,755)
332595a2 54%doc README
35189e38 55%{perl_vendorlib}/Filesys/DiskSpace.pm
3f38f7c7 56%{_mandir}/man3/*
This page took 0.073832 seconds and 4 git commands to generate.