Пакет perl-Proc-PID-File: Specfile

%define dist Proc-PID-File
%define _unpackaged_files_terminate_build 1

Name: perl-%dist
Version: 1.27
Release: alt3

Summary: functions for manipulations with pidfiles
License: %perl_license
Group: Development/Perl

Url: %CPAN %dist
Source: %dist-%version.tar.gz

Patch1: Proc-PID-File-1.27-108434.patch

BuildArch: noarch

BuildPreReq: /proc rpm-build-licenses

# Automatically added by buildreq on Mon May 07 2007
BuildRequires: perl-devel

%description
This Perl module is useful for writers of daemons and other processes that
need to tell whether they are already running, in order to prevent multiple
process instances.  The module accomplishes this via *nix-style I<pidfiles>,
which are files that store a process identifier.


%prep
%setup -q -n %dist-%version

%patch1 -p1

%build
%perl_vendor_build

%install
%perl_vendor_install

%files
%doc README Changes

%perl_vendor_privlib/Proc*

%changelog
* Thu Apr 28 2016 Sergey Y. Afonin <asy@altlinux.ru> 1.27-alt3
- applied patch for CPAN bug 108434

* Wed Nov 17 2010 Sergey Y. Afonin <asy@altlinux.ru> 1.27-alt2
- removed macro %%perl_vendor_man3dir from spec
- removed Packager from spec

* Wed May 12 2010 Sergey Y. Afonin <asy@altlinux.ru> 1.27-alt1
- new version

* Tue Nov 18 2008 Sergey Y. Afonin <asy@altlinux.ru> 1.24-alt3
- added packager

* Tue Sep 02 2008 Sergey Y. Afonin <asy@altlinux.ru> 1.24-alt2
- fixed directory ownership violation

* Mon May 07 2007 Sergey Y. Afonin <asy@altlinux.ru> 1.24-alt1
- Initial build for ALTLinux