[perl-WWW-OrangeHRM-Client] Import
Petr Pisar
ppisar at fedoraproject.org
Fri Dec 14 14:04:07 UTC 2012
commit ca9c450d40a2992b83a7973e8f536e9505300a85
Author: Petr Písař <ppisar at redhat.com>
Date: Fri Dec 14 15:02:01 2012 +0100
Import
.gitignore | 1 +
perl-WWW-OrangeHRM-Client.spec | 45 ++++++++++++++++++++++++++++++++++++++++
sources | 1 +
3 files changed, 47 insertions(+), 0 deletions(-)
---
diff --git a/.gitignore b/.gitignore
index e69de29..6c97f6c 100644
--- a/.gitignore
+++ b/.gitignore
@@ -0,0 +1 @@
+/WWW-OrangeHRM-Client-v0.1.1.tar.gz
diff --git a/perl-WWW-OrangeHRM-Client.spec b/perl-WWW-OrangeHRM-Client.spec
new file mode 100644
index 0000000..527794b
--- /dev/null
+++ b/perl-WWW-OrangeHRM-Client.spec
@@ -0,0 +1,45 @@
+%global tarname WWW-OrangeHRM-Client
+Name: perl-%{tarname}
+Version: 0.1.1
+Release: 1%{?dist}
+Summary: Client for OrangeHRM
+License: GPL+
+Group: Development/Libraries
+URL: http://ppisar.fedorapeople.org/%{tarname}/
+Source0: %{url}%{tarname}-v%{version}.tar.gz
+BuildArch: noarch
+BuildRequires: perl(ExtUtils::MakeMaker)
+# No tests executed, no other build-requires
+Requires: perl(:MODULE_COMPAT_%(eval "`%{__perl} -V:version`"; echo $version))
+Requires: perl(LWP::Protocol::https)
+
+%description
+This module implements client for OrangeHRM information system. It has been
+developed against Red Hat instance, so I cannot guarantee it works with
+other instances.
+
+%prep
+%setup -q -n WWW-OrangeHRM-Client-v%{version}
+
+%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 COPYING
+%{_bindir}/*
+%{perl_vendorlib}/*
+%{_mandir}/man1/*
+%{_mandir}/man3/*
+
+%changelog
+* Fri Dec 14 2012 Petr Pisar <ppisar at redhat.com> 0.1.1-1
+- Specfile autogenerated by cpanspec 1.78.
diff --git a/sources b/sources
index e69de29..b95b6a4 100644
--- a/sources
+++ b/sources
@@ -0,0 +1 @@
+ad6df941ab19bf98292c0e72f5a0c2ae WWW-OrangeHRM-Client-v0.1.1.tar.gz
More information about the scm-commits
mailing list