]> git.pld-linux.org Git - packages/perl-Filesys-Virtual.git/blame - perl-Filesys-Virtual.spec
- drop obsolete and outdated manual inclusion of rpm macros
[packages/perl-Filesys-Virtual.git] / perl-Filesys-Virtual.spec
CommitLineData
18c883d0
MP
1#
2# Conditional build:
3%bcond_without tests # do not perform "make test"
4#
18c883d0
MP
5%define pdir Filesys
6%define pnam Virtual
4298cbd7 7Summary: Filesys::Virtual - Perl extension to provide a framework for a virtual filesystem
e102587a 8Summary(pl.UTF-8): Filesys::Virtual - szkielet dla wirtualnych systemów plików
18c883d0 9Name: perl-Filesys-Virtual
4298cbd7 10Version: 0.06
2ed1bbd6 11Release: 2
4298cbd7 12# same as perl
7d7b92e9 13License: GPL v1+ or Artistic
18c883d0
MP
14Group: Development/Languages/Perl
15Source0: http://www.cpan.org/modules/by-module/%{pdir}/%{pdir}-%{pnam}-%{version}.tar.gz
4298cbd7
JB
16# Source0-md5: 825f02140a699cd11d23ebce178746fb
17URL: http://search.cpan.org/dist/Filesys-Virtual/
18c883d0
MP
18BuildRequires: perl-devel >= 1:5.8.0
19BuildRequires: rpm-perlprov >= 4.1-13
18c883d0
MP
20BuildArch: noarch
21BuildRoot: %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
22
23%description
24This module implements a base class for virtual filesystems.
25
b7d51dce
JR
26%description -l pl.UTF-8
27Ten moduł implementuje klasę bazową dla wirtualnych systemów plików.
4298cbd7 28
18c883d0
MP
29%prep
30%setup -q -n %{pdir}-%{pnam}-%{version}
31
32%build
33%{__perl} Makefile.PL \
34 INSTALLDIRS=vendor
35
36%{__make}
37
38%{?with_tests:%{__make} test}
39
40%install
41rm -rf $RPM_BUILD_ROOT
42
43%{__make} install \
44 DESTDIR=$RPM_BUILD_ROOT
7d7b92e9 45install -d $RPM_BUILD_ROOT%{perl_vendorlib}/Filesys/Virtual
18c883d0
MP
46
47%clean
48rm -rf $RPM_BUILD_ROOT
49
50%files
51%defattr(644,root,root,755)
52%doc Changes README
53# next one could be moved to perl-modules if more things
7d7b92e9 54# not depending on this module will require that directory
18c883d0 55%dir %{perl_vendorlib}/Filesys
4298cbd7 56# modules using this one puts them under next dir
e040f422 57%dir %{perl_vendorlib}/Filesys/Virtual
18c883d0
MP
58%{perl_vendorlib}/Filesys/Virtual.pm
59%{_mandir}/man3/*
This page took 0.074948 seconds and 4 git commands to generate.