Group :: Desenvolvimento/Perl
RPM: perl-Proc-Background
Main Changelog Spec Patches Sources Download Gear Bugs e FR Repocop
# BEGIN SourceDeps(oneline):
BuildRequires(pre): rpm-build-perl
BuildRequires: perl-podlators
# END SourceDeps(oneline)
# see https://bugzilla.altlinux.org/show_bug.cgi?id=10382
%define _localstatedir %{_var}
%define upstream_name Proc-Background
%define upstream_version 1.32
%{?perl_default_filter}
Name: perl-%{upstream_name}
Version: %{upstream_version}
Release: alt1_1
Summary: Generic interface to Unix and Win32 background process management
License: GPL+ or Artistic
Group: Development/Perl
Url: https://metacpan.org/release/%{upstream_name}
Source0: https://cpan.metacpan.org/authors/id/B/BZ/BZAJAC/%{upstream_name}-%{upstream_version}.tar.gz
BuildRequires: perl(ExtUtils/MakeMaker.pm)
BuildArch: noarch
Source44: import.info
%description
This is a generic interface for placing processes in the background on both
Unix and Win32 platforms. This module lets you start, kill, wait on,
retrieve exit values, and see if background processes still exist.
%prep
%setup -q -n %{upstream_name}-%{upstream_version}
%build
/usr/bin/perl Makefile.PL INSTALLDIRS=vendor
%make_build
%check
make test
%install
%makeinstall_std
rm -rf $RPM_BUILD_ROOT/%{perl_vendor_archlib}
%files
%doc Changes LICENSE META.json META.yml README
%{perl_vendor_privlib}/*
%{_mandir}/man1/*
%{_bindir}/*
%changelog
…
Todas as alterações você pod ver aqui
BuildRequires(pre): rpm-build-perl
BuildRequires: perl-podlators
# END SourceDeps(oneline)
# see https://bugzilla.altlinux.org/show_bug.cgi?id=10382
%define _localstatedir %{_var}
%define upstream_name Proc-Background
%define upstream_version 1.32
%{?perl_default_filter}
Name: perl-%{upstream_name}
Version: %{upstream_version}
Release: alt1_1
Summary: Generic interface to Unix and Win32 background process management
License: GPL+ or Artistic
Group: Development/Perl
Url: https://metacpan.org/release/%{upstream_name}
Source0: https://cpan.metacpan.org/authors/id/B/BZ/BZAJAC/%{upstream_name}-%{upstream_version}.tar.gz
BuildRequires: perl(ExtUtils/MakeMaker.pm)
BuildArch: noarch
Source44: import.info
%description
This is a generic interface for placing processes in the background on both
Unix and Win32 platforms. This module lets you start, kill, wait on,
retrieve exit values, and see if background processes still exist.
%prep
%setup -q -n %{upstream_name}-%{upstream_version}
%build
/usr/bin/perl Makefile.PL INSTALLDIRS=vendor
%make_build
%check
make test
%install
%makeinstall_std
rm -rf $RPM_BUILD_ROOT/%{perl_vendor_archlib}
%files
%doc Changes LICENSE META.json META.yml README
%{perl_vendor_privlib}/*
%{_mandir}/man1/*
%{_bindir}/*
%changelog
…
Todas as alterações você pod ver aqui