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