[packages/perl-App-FatPacker-Simple] new, version 0.04
glen
glen at pld-linux.org
Sat Sep 26 08:57:05 CEST 2015
commit 5798d9c60f83c05d971d9f610c833f6446950183
Author: Elan Ruusamäe <glen at delfi.ee>
Date: Sat Sep 26 09:56:45 2015 +0300
new, version 0.04
perl-App-FatPacker-Simple.spec | 68 ++++++++++++++++++++++++++++++++++++++++++
1 file changed, 68 insertions(+)
---
diff --git a/perl-App-FatPacker-Simple.spec b/perl-App-FatPacker-Simple.spec
new file mode 100644
index 0000000..d72fac9
--- /dev/null
+++ b/perl-App-FatPacker-Simple.spec
@@ -0,0 +1,68 @@
+#
+# Conditional build:
+%bcond_without tests # do not perform "make test"
+
+%define pdir App
+%define pnam FatPacker-Simple
+%include /usr/lib/rpm/macros.perl
+Summary: App::FatPacker::Simple - only fatpack a script
+Name: perl-App-FatPacker-Simple
+Version: 0.04
+Release: 1
+# same as perl
+License: GPL v1+ or Artistic
+Group: Development/Languages/Perl
+Source0: http://www.cpan.org/modules/by-module/App/%{pdir}-%{pnam}-%{version}.tar.gz
+# Source0-md5: 2a2a7ff6c1442009f0a693c030db821a
+URL: http://search.cpan.org/dist/App-FatPacker-Simple/
+BuildRequires: perl-Module-Build
+BuildRequires: perl-devel >= 1:5.8.0
+BuildRequires: rpm-perlprov >= 4.1-13
+%if %{with tests}
+BuildRequires: perl(Capture::Tiny)
+BuildRequires: perl(Distribution::Metadata)
+BuildRequires: perl(Perl::Strip)
+BuildRequires: perl-App-FatPacker
+BuildRequires: perl-File-pushd
+%endif
+BuildArch: noarch
+BuildRoot: %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
+
+%description
+App::FatPacker::Simple or its frontend fatpack-simple helps you
+fatpack a script when YOU understand the whole dependencies of it.
+
+For tutorial, please look at App::FatPacker::Simple::Tutorial.
+
+%prep
+%setup -q -n %{pdir}-%{pnam}-%{version}
+
+%build
+%{__perl} Build.PL \
+ destdir=$RPM_BUILD_ROOT \
+ installdirs=vendor
+./Build
+
+%{?with_tests:./Build test}
+
+%install
+rm -rf $RPM_BUILD_ROOT
+
+./Build install
+
+install -d $RPM_BUILD_ROOT%{_examplesdir}/%{name}-%{version}
+cp -a eg $RPM_BUILD_ROOT%{_examplesdir}/%{name}-%{version}
+
+%clean
+rm -rf $RPM_BUILD_ROOT
+
+%files
+%defattr(644,root,root,755)
+%doc README.md Changes
+%attr(755,root,root) %{_bindir}/fatpack-simple
+%{perl_vendorlib}/App/FatPacker/*.pm
+%{perl_vendorlib}/App/FatPacker/Simple
+%{_mandir}/man1/fatpack-simple.1p*
+%{_mandir}/man3/App::FatPacker::Simple.3pm*
+%{_mandir}/man3/App::FatPacker::Simple::Tutorial.3pm*
+%{_examplesdir}/%{name}-%{version}
================================================================
---- gitweb:
http://git.pld-linux.org/gitweb.cgi/packages/perl-App-FatPacker-Simple.git/commitdiff/5798d9c60f83c05d971d9f610c833f6446950183
More information about the pld-cvs-commit
mailing list