Allisson Azevedo ab5236c
Name:           perl-MooseX-Daemonize
Allisson Azevedo aa08d22
Version:        0.09
5d43a9c
Release:        4%{?dist}
Allisson Azevedo ab5236c
Summary:        Role for daemonizing your Moose based application
Allisson Azevedo ab5236c
License:        GPL+ or Artistic
Allisson Azevedo ab5236c
Group:          Development/Libraries
Allisson Azevedo ab5236c
URL:            http://search.cpan.org/dist/MooseX-Daemonize/
Allisson Azevedo ab5236c
Source0:        http://www.cpan.org/authors/id/S/ST/STEVAN/MooseX-Daemonize-%{version}.tar.gz
Allisson Azevedo ab5236c
BuildRoot:      %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n)
Allisson Azevedo ab5236c
BuildArch:      noarch
Allisson Azevedo ab5236c
BuildRequires:  perl(ExtUtils::MakeMaker)
Allisson Azevedo ab5236c
BuildRequires:  perl(Moose) >= 0.33
Allisson Azevedo ab5236c
BuildRequires:  perl(MooseX::Getopt) >= 0.07
Allisson Azevedo ab5236c
BuildRequires:  perl(MooseX::Types::Path::Class)
Allisson Azevedo ab5236c
BuildRequires:  perl(Test::More)
Allisson Azevedo ab5236c
BuildRequires:  perl(Test::Exception)
Allisson Azevedo aa08d22
BuildRequires:  perl(Test::Moose)
Allisson Azevedo ab5236c
Requires:       perl(:MODULE_COMPAT_%(eval "`%{__perl} -V:version`"; echo $version))
Allisson Azevedo ab5236c
Allisson Azevedo ab5236c
%description
Allisson Azevedo ab5236c
Often you want to write a persistant daemon that has a pid file, and
Allisson Azevedo ab5236c
responds appropriately to Signals. This module provides a set of basic
Allisson Azevedo ab5236c
roles as an infrastructure to do that.
Allisson Azevedo ab5236c
Allisson Azevedo ab5236c
%prep
Allisson Azevedo ab5236c
%setup -q -n MooseX-Daemonize-%{version}
Allisson Azevedo ab5236c
Allisson Azevedo ab5236c
%build
Allisson Azevedo ab5236c
%{__perl} Makefile.PL INSTALLDIRS=vendor
Allisson Azevedo ab5236c
make %{?_smp_mflags}
Allisson Azevedo ab5236c
Allisson Azevedo ab5236c
%install
Allisson Azevedo ab5236c
rm -rf $RPM_BUILD_ROOT
Allisson Azevedo ab5236c
Allisson Azevedo ab5236c
make pure_install PERL_INSTALL_ROOT=$RPM_BUILD_ROOT
Allisson Azevedo ab5236c
Allisson Azevedo ab5236c
find $RPM_BUILD_ROOT -type f -name .packlist -exec rm -f {} \;
Allisson Azevedo ab5236c
find $RPM_BUILD_ROOT -depth -type d -exec rmdir {} 2>/dev/null \;
Allisson Azevedo ab5236c
Allisson Azevedo ab5236c
%{_fixperms} $RPM_BUILD_ROOT/*
Allisson Azevedo ab5236c
Allisson Azevedo ab5236c
%check
Allisson Azevedo ab5236c
make test
Allisson Azevedo ab5236c
Allisson Azevedo ab5236c
%clean
Allisson Azevedo ab5236c
rm -rf $RPM_BUILD_ROOT
Allisson Azevedo ab5236c
Allisson Azevedo ab5236c
%files
Allisson Azevedo ab5236c
%defattr(-,root,root,-)
Allisson Azevedo ab5236c
%doc Changes README
Allisson Azevedo ab5236c
%{perl_vendorlib}/*
Allisson Azevedo ab5236c
%{_mandir}/man3/*
Allisson Azevedo ab5236c
Allisson Azevedo ab5236c
%changelog
5d43a9c
* Tue Feb 08 2011 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 0.09-4
5d43a9c
- Rebuilt for https://fedoraproject.org/wiki/Fedora_15_Mass_Rebuild
5d43a9c
090e45d
* Tue Dec 21 2010 Marcela Maslanova <mmaslano@redhat.com> - 0.09-3
090e45d
- 661697 rebuild for fixing problems with vendorach/lib
090e45d
76d833b
* Mon May 03 2010 Marcela Maslanova <mmaslano@redhat.com> - 0.09-2
76d833b
- Mass rebuild with perl-5.12.0
76d833b
Allisson Azevedo aa08d22
* Wed Dec  9 2009 Allisson Azevedo <allisson@gmail.com> 0.09-1
Allisson Azevedo aa08d22
- Update to 0.09.
Allisson Azevedo aa08d22
- Update BuildRequires.
b1e9d9f
13e5f4c
* Sun Jul 26 2009 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 0.08-4
13e5f4c
- Rebuilt for https://fedoraproject.org/wiki/Fedora_12_Mass_Rebuild
13e5f4c
2de0dbb
* Thu Feb 26 2009 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 0.08-3
2de0dbb
- Rebuilt for https://fedoraproject.org/wiki/Fedora_11_Mass_Rebuild
2de0dbb
Allisson Azevedo ab5236c
* Thu Jan 29 2009 Allisson Azevedo <allisson@gmail.com> 0.08-2
Allisson Azevedo ab5236c
- Updated spec using cpanspec.
Allisson Azevedo ab5236c
Allisson Azevedo ab5236c
* Sun Jan 25 2009 Allisson Azevedo <allisson@gmail.com> 0.08-1
Allisson Azevedo ab5236c
- Initial RPM release