]> git.pld-linux.org Git - packages/perl-File-Flock.git/blob - perl-File-Flock.spec
- drop obsolete and outdated manual inclusion of rpm macros
[packages/perl-File-Flock.git] / perl-File-Flock.spec
1 #
2 # Conditional build:
3 %bcond_without  tests   # do not perform "make test"
4
5 %define         pdir    File
6 %define         pnam    Flock
7 Summary:        File::Flock - file locking with flock
8 Summary(pl.UTF-8):      File::Flock - blokowanie plików za pomocą flock
9 Name:           perl-File-Flock
10 Version:        2008.01
11 Release:        1
12 License:        unknown
13 Group:          Development/Languages/Perl
14 Source0:        http://www.cpan.org/modules/by-module/%{pdir}/%{pdir}-%{pnam}-%{version}.tar.gz
15 # Source0-md5:  63b44b6033a0edd8d57d283089083158
16 URL:            http://search.cpan.org/dist/File-Flock/
17 BuildRequires:  perl-devel >= 1:5.8.0
18 BuildRequires:  rpm-perlprov >= 4.1-13
19 BuildArch:      noarch
20 BuildRoot:      %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
21
22 %description
23 File::Flock Perl module is a wrapper around the flock() call.
24
25 %description -l pl.UTF-8
26 Moduł Perla File::Flock umożliwia korzystanie z wywołania flock().
27
28 %prep
29 %setup -q -n %{pdir}-%{pnam}-%{version}
30
31 %build
32 %{__perl} Makefile.PL \
33         INSTALLDIRS=vendor
34 %{__make}
35
36 %{?with_tests:%{__make} test}
37
38 %install
39 rm -rf $RPM_BUILD_ROOT
40
41 %{__make} install \
42         DESTDIR=$RPM_BUILD_ROOT
43
44 %clean
45 rm -rf $RPM_BUILD_ROOT
46
47 %files
48 %defattr(644,root,root,755)
49 %doc README CHANGELOG
50 %{perl_vendorlib}/File/Flock.pm
51 %{_mandir}/man3/*
This page took 0.119089 seconds and 4 git commands to generate.