Package perl-Proc-PID-File: Specfile

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

Name: perl-%dist
Version: 1.29
Release: alt1

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

Url: %CPAN %dist
Source0: http://www.cpan.org/authors/id/D/DM/DMITRI/%{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 Jul 12 2018 Igor Vlasenko <viy@altlinux.ru> 1.29-alt1
- automated CPAN update

* Fri Jul 29 2016 Igor Vlasenko <viy@altlinux.ru> 1.28-alt1
- automated CPAN update

* 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