]> git.pld-linux.org Git - packages/perl-File-BSDGlob.git/blame - perl-File-BSDGlob.spec
- drop obsolete and outdated manual inclusion of rpm macros
[packages/perl-File-BSDGlob.git] / perl-File-BSDGlob.spec
CommitLineData
050c2f00 1#
2# Conditional build:
3%bcond_without tests # do not perform "make test"
4#
1ccfc003 5%define pdir File
6%define pnam BSDGlob
a2b1a3d2 7Summary: File::BSDGlob - Perl extension for BSD glob routine
20a86100 8Summary(pl.UTF-8): File::BSDGlob - rozszerzenie Perla o funkcję BSD glob
c231fe58 9Name: perl-File-BSDGlob
10Version: 0.94
b2515685 11Release: 9
a2b1a3d2 12License: BSD
c231fe58 13Group: Development/Languages/Perl
4f833333 14Source0: http://www.cpan.org/modules/by-module/File/%{pdir}-%{pnam}-%{version}.tar.gz
29c68c92 15# Source0-md5: 18e95f120d8096d8c55aaa47c06681bc
4f833333 16URL: http://search.cpan.org/dist/File-BSDGlob/
6317073b 17BuildRequires: perl-devel >= 1:5.8.0
4f833333 18BuildRequires: rpm-perlprov >= 4.1-13
2dd5d4ae 19BuildRoot: %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
c231fe58 20
21%description
a2b1a3d2 22File::BSDGlob Perl module implements the FreeBSD glob(3) routine,
23which is a superset of the POSIX glob() (described in IEEE Std 1003.2
24"POSIX.2").
c231fe58 25
cbcc54a0
JR
26%description -l pl.UTF-8
27Moduł Perla File::BSDGlob stanowi implementację funkcji glob(3) z
28FreeBSD, która jest nadzbiorem glob() z POSIX-a (opisanej w IEEE Std
a2b1a3d2 291003.2 "POSIX.2").
c231fe58 30
31%prep
55c33028 32%setup -q -n %{pdir}-%{pnam}-%{version}
c231fe58 33
34%build
5dff5d58 35%{__perl} Makefile.PL \
cffb3b45 36 INSTALLDIRS=vendor
b590fb32 37%{__make} \
53c65840 38 CC="%{__cc}" \
b590fb32 39 OPTIMIZE="%{rpmcflags}"
c231fe58 40
050c2f00 41%{?with_tests:%{__make} test}
42
c231fe58 43%install
44rm -rf $RPM_BUILD_ROOT
c231fe58 45
050c2f00 46%{__make} install \
47 DESTDIR=$RPM_BUILD_ROOT
c231fe58 48
c231fe58 49%clean
50rm -rf $RPM_BUILD_ROOT
51
52%files
53%defattr(644,root,root,755)
19f68b0f 54%doc Changes README TODO
5dff5d58 55%{perl_vendorarch}/File/BSDGlob.pm
56%dir %{perl_vendorarch}/auto/File/BSDGlob
57%{perl_vendorarch}/auto/File/BSDGlob/autosplit.ix
5dff5d58 58%attr(755,root,root) %{perl_vendorarch}/auto/File/BSDGlob/BSDGlob.so
c231fe58 59%{_mandir}/man3/*
This page took 0.084246 seconds and 4 git commands to generate.