]> git.pld-linux.org Git - packages/perl-File-Lockf.git/blob - perl-File-Lockf.spec
- release 19 (by relup.sh)
[packages/perl-File-Lockf.git] / perl-File-Lockf.spec
1 %include        /usr/lib/rpm/macros.perl
2 %define         pdir    File
3 %define         pnam    Lockf
4 Summary:        File::lockf - Perl module interface to the lockf system call
5 Summary(pl.UTF-8):      File::lockf - interfejs perlowy do wywołania systemowego lockf
6 Name:           perl-File-Lockf
7 Version:        0.20
8 Release:        19
9 License:        GPL v1+
10 Group:          Development/Languages/Perl
11 Source0:        http://www.cpan.org/modules/by-module/File/%{pdir}-%{pnam}-%{version}.tar.gz
12 # Source0-md5:  b200cf22e08f12d678a1c83312ff4f5d
13 URL:            http://search.cpan.org/dist/File-Lockf/
14 BuildRequires:  perl-devel >= 1:5.8.0
15 BuildRequires:  rpm-perlprov >= 4.1-13
16 BuildRoot:      %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
17
18 %description
19 File-lockf is an interface to the lockf system call.  Perl supports
20 the flock system call natively, but that does not acquire network
21 locks. Perl also supports the fcntl system call, but that is somewhat
22 ugly to use.  There are other locking modules available for Perl, but
23 none of them provided a simple, clean interface to the lockf system
24 call, without any bells or whistles getting in the way.
25
26 %description -l pl.UTF-8
27 File::lockf stanowi interfejs do wywołania systemowego lockf. Perl
28 posiada wbudowaną obsługę lockf, ale nie wspiera ona blokad
29 sieciowych. Istnieją inne moduły Perla do zakładania blokad, ale żaden
30 z nich nie posiada prostego, jasnego interfejsu do wywołania
31 systemowego lockf bez żadnych dzwonków i gwizdków po drodze.
32
33 %prep
34 %setup -q -n %{pdir}-%{pnam}-%{version}
35
36 %build
37 %{__perl} Makefile.PL \
38         INSTALLDIRS=vendor
39 %{__make} \
40         CC="%{__cc}" \
41         OPTIMIZE="%{rpmcflags}"
42
43 %install
44 rm -rf $RPM_BUILD_ROOT
45
46 %{__make} install \
47         DESTDIR=$RPM_BUILD_ROOT
48
49 %clean
50 rm -rf $RPM_BUILD_ROOT
51
52 %files
53 %defattr(644,root,root,755)
54 %doc README
55 %{perl_vendorarch}/File/lockf.pm
56 %dir %{perl_vendorarch}/auto/File/lockf
57 %attr(755,root,root) %{perl_vendorarch}/auto/File/lockf/lockf.so
58 %{_mandir}/man3/*
This page took 0.0759 seconds and 3 git commands to generate.