jplesnik pushed to perl-Daemon-Control (master). "Initial import"
notifications at fedoraproject.org
notifications at fedoraproject.org
Thu Mar 26 07:54:47 UTC 2015
>From 0fc7752bb012e45650d879791d94e1401876649c Mon Sep 17 00:00:00 2001
From: Jitka Plesnikova <jplesnik at redhat.com>
Date: Thu, 26 Mar 2015 08:54:21 +0100
Subject: Initial import
diff --git a/.gitignore b/.gitignore
index e69de29..d0417b3 100644
--- a/.gitignore
+++ b/.gitignore
@@ -0,0 +1 @@
+/Daemon-Control-0.001006.tar.gz
diff --git a/perl-Daemon-Control.spec b/perl-Daemon-Control.spec
new file mode 100644
index 0000000..9209c3d
--- /dev/null
+++ b/perl-Daemon-Control.spec
@@ -0,0 +1,59 @@
+Name: perl-Daemon-Control
+Version: 0.001006
+Release: 1%{?dist}
+Summary: Create init scripts in Perl
+License: GPL+ or Artistic
+Group: Development/Libraries
+URL: http://search.cpan.org/dist/Daemon-Control/
+Source0: http://www.cpan.org/authors/id/S/SY/SYMKAT/Daemon-Control-%{version}.tar.gz
+BuildArch: noarch
+BuildRequires: perl
+BuildRequires: perl(inc::Module::Install)
+BuildRequires: perl(Module::Install::Metadata)
+BuildRequires: perl(Module::Install::Repository)
+BuildRequires: perl(Module::Install::WriteAll)
+# Run-time
+BuildRequires: perl(Cwd)
+BuildRequires: perl(File::Path) >= 2.08
+BuildRequires: perl(File::Spec)
+BuildRequires: perl(POSIX)
+BuildRequires: perl(strict)
+BuildRequires: perl(warnings)
+# Tests
+BuildRequires: perl(Test::More) >= 0.88
+Requires: perl(:MODULE_COMPAT_%(eval "`perl -V:version`"; echo $version))
+Requires: perl(File::Path) >= 2.08
+
+%global __requires_exclude %{?__requires_exclude:%__requires_exclude|}^perl\\(File::Path\\)$
+
+%description
+Daemon::Control provides a library for creating init scripts in perl. Your
+perl script just needs to set the accessors for what and how you want
+something to run and the library takes care of the rest.
+
+%prep
+%setup -q -n Daemon-Control-%{version}
+rm -r inc
+sed -i -e '/^inc\// d' MANIFEST
+find -type f -exec chmod -x {} +
+
+%build
+perl Makefile.PL INSTALLDIRS=vendor
+make %{?_smp_mflags}
+
+%install
+make pure_install DESTDIR=$RPM_BUILD_ROOT
+find $RPM_BUILD_ROOT -type f -name .packlist -exec rm -f {} \;
+%{_fixperms} $RPM_BUILD_ROOT/*
+
+%check
+make test
+
+%files
+%doc Changes
+%{perl_vendorlib}/*
+%{_mandir}/man3/*
+
+%changelog
+* Wed Mar 25 2015 Jitka Plesnikova <jplesnik at redhat.com> - 0.001006-1
+- Initial release
diff --git a/sources b/sources
index e69de29..809d031 100644
--- a/sources
+++ b/sources
@@ -0,0 +1 @@
+bdd353bacd4c4cde7e40f4e04062075a Daemon-Control-0.001006.tar.gz
--
cgit v0.10.2
http://pkgs.fedoraproject.org/cgit/perl-Daemon-Control.git/commit/?h=master&id=0fc7752bb012e45650d879791d94e1401876649c
More information about the scm-commits
mailing list