8
0
Pascal Bleser
2012-04-15 22:21:29 +00:00
committed by Git OBS Bridge
parent 73ab865e86
commit 0ece1e0f34
5 changed files with 61 additions and 30 deletions

View File

@@ -1,3 +0,0 @@
version https://git-lfs.github.com/spec/v1
oid sha256:2e1ada77b0faede18cb762d1c752eb2174a719f025cf92e8c2c089ef0a553e8c
size 11405

View File

@@ -1,3 +0,0 @@
version https://git-lfs.github.com/spec/v1
oid sha256:a3771a57850587ed05d19b4c5b9a9fba64b8deec6afc5073294a9d6f8200038a
size 14116

View File

@@ -0,0 +1,3 @@
version https://git-lfs.github.com/spec/v1
oid sha256:febc92ce5ac235d22a1544b8cd94cc33970e9abef4409515e0260306be2ed0d6
size 14146

View File

@@ -1,3 +1,8 @@
-------------------------------------------------------------------
Sun Apr 15 22:21:08 UTC 2012 - pascal.bleser@opensuse.org
- update to 0.82 and spec rewrite (ancien stuff from 2009)
------------------------------------------------------------------- -------------------------------------------------------------------
Wed Dec 1 13:31:23 UTC 2010 - coolo@novell.com Wed Dec 1 13:31:23 UTC 2010 - coolo@novell.com

View File

@@ -1,7 +1,9 @@
# vim: set sw=4 ts=4 et nu:
# #
# spec file for package perl-Daemon-Generic # spec file for package perl-Daemon-Generic
# #
# Copyright (c) 2011 SUSE LINUX Products GmbH, Nuernberg, Germany. # Copyright (c) 2012 SUSE LINUX Products GmbH, Nuernberg, Germany.
# Copyright (c) 2012 Pascal Bleser <pascal.bleser@opensuse.org>
# #
# All modifications and additions to the file contributed by third parties # All modifications and additions to the file contributed by third parties
# remain the property of their copyright owners, unless otherwise agreed # remain the property of their copyright owners, unless otherwise agreed
@@ -15,47 +17,74 @@
# Please submit bugfixes or comments via http://bugs.opensuse.org/ # Please submit bugfixes or comments via http://bugs.opensuse.org/
# #
# norootforbuild
# Please submit bugfixes or comments via http://bugs.opensuse.org/
Name: perl-Daemon-Generic Name: perl-Daemon-Generic
%define cpan_name Daemon-Generic Version: 0.82
Summary: Daemon::Generic - framework to provide start/stop/reload for a daemon Release: 0
Version: 0.61 Summary: Framework to provide start/stop/reload for a daemon
Release: 1 License: GPL-2.0+ or Artistic-1.0
License: Artistic License Group: Development/Libraries/Perl
Group: Development/Languages/Perl Source: http://search.cpan.org/CPAN/authors/id/M/MU/MUIR/modules/Daemon-Generic-%{version}.tar.gz
Url: http://search.cpan.org/dist/Bot-BasicBot/ Url: http://search.cpan.org/dist/Daemon-Generic
Source: %{cpan_name}-%{version}.tar.bz2
BuildRoot: %{_tmppath}/%{name}-%{version}-build BuildRoot: %{_tmppath}/%{name}-%{version}-build
%{perl_requires} %{perl_requires}
BuildRequires: perl BuildRequires: make
BuildRequires: perl-macros BuildRequires: perl-macros
BuildRequires: perl(AnyEvent)
BuildRequires: perl(Cwd)
BuildRequires: perl(Eval::LineNumbers)
BuildRequires: perl(Event)
BuildRequires: perl(ExtUtils::MakeMaker)
BuildRequires: perl(File::Basename)
BuildRequires: perl(File::Flock)
BuildRequires: perl(File::Slurp)
BuildRequires: perl(Getopt::Long)
BuildRequires: perl(Text::Wrap)
BuildRequires: perl(Time::HiRes)
Requires: perl(Cwd)
Requires: perl(File::Basename)
Requires: perl(File::Flock)
Requires: perl(File::Slurp)
Requires: perl(Getopt::Long)
Requires: perl(Text::Wrap)
%if 0%{?suse_version} >= 1120
BuildArch: noarch
%endif
%description %description
Daemon::Generic - framework to provide start/stop/reload for a daemon Daemon::Generic provides a framework for starting, stopping, reconfiguring
daemon-like programs. The framework provides for standard commands that
work for as init.d files and as apachectl-like commands.
%prep %prep
%setup -q -n %{cpan_name}-%{version} %setup -q -n "Daemon-Generic-%{version}"
%__sed -i '/^auto_install/d' Makefile.PL
%build %build
CFLAGS="$RPM_OPT_FLAGS" perl Makefile.PL %__perl Makefile.PL PREFIX="%{_prefix}"
%{__make} %__make %{?_smp_flags}
%check
%{__make} test
%install %install
%perl_make_install %perl_make_install
%perl_process_packlist %perl_process_packlist
%perl_gen_filelist
%check
%__make test
%clean %clean
%{__rm} -rf $RPM_BUILD_ROOT %{?buildroot:%__rm -rf "%{buildroot}"}
%files -f %{name}.files %files
# normally you only need to check for doc files
%defattr(-,root,root) %defattr(-,root,root)
%doc CHANGELOG README %doc README CHANGELOG
%dir %{perl_vendorlib}/Daemon
%{perl_vendorlib}/Daemon/Generic.pm
%doc %{perl_vendorlib}/Daemon/Generic.pod
%dir %{perl_vendorlib}/Daemon/Generic
%{perl_vendorlib}/Daemon/Generic/*.pm
%doc %{perl_man3dir}/Daemon::Generic.%{perl_man3ext}%{ext_man}
%doc %{perl_man3dir}/Daemon::Generic::*.%{perl_man3ext}%{ext_man}
%changelog %changelog