packages: perl-Router-Simple/perl-Router-Simple.spec (NEW)=?UTF-8?Q?=20?=- new (by pldcpan)

sls sls at pld-linux.org
Mon May 7 13:01:56 CEST 2012


Author: sls                          Date: Mon May  7 11:01:56 2012 GMT
Module: packages                      Tag: HEAD
---- Log message:
- new (by pldcpan)

---- Files affected:
packages/perl-Router-Simple:
   perl-Router-Simple.spec (NONE -> 1.1)  (NEW)

---- Diffs:

================================================================
Index: packages/perl-Router-Simple/perl-Router-Simple.spec
diff -u /dev/null packages/perl-Router-Simple/perl-Router-Simple.spec:1.1
--- /dev/null	Mon May  7 13:01:56 2012
+++ packages/perl-Router-Simple/perl-Router-Simple.spec	Mon May  7 13:01:51 2012
@@ -0,0 +1,75 @@
+# $Revision$, $Date$
+#
+# Conditional build:
+%bcond_without	tests		# do not perform "make test"
+#
+%define		pdir	Router
+%define		pnam	Simple
+%include	/usr/lib/rpm/macros.perl
+Summary:	Router::Simple - simple HTTP router
+#Summary(pl.UTF-8):	
+Name:		perl-Router-Simple
+Version:	0.09
+Release:	1
+# same as perl
+License:	GPL v1+ or Artistic
+Group:		Development/Languages/Perl
+Source0:	http://www.cpan.org/modules/by-module/Router/%{pdir}-%{pnam}-%{version}.tar.gz
+# Source0-md5:	f6be0b32e536c9dab654a7cf4defe633
+URL:		http://search.cpan.org/dist/Router-Simple/
+BuildRequires:	perl-devel >= 1:5.8.0
+BuildRequires:	rpm-perlprov >= 4.1-13
+%if %{with tests}
+BuildRequires:	perl-Class-Accessor
+%endif
+BuildArch:	noarch
+BuildRoot:	%{tmpdir}/%{name}-%{version}-root-%(id -u -n)
+
+%description
+Router::Simple is a simple router class.
+
+Its main purpose is to serve as a dispatcher for web applications.
+
+Router::Simple can match against PSGI $env directly, which means
+it's easy to use with PSGI supporting web frameworks.
+
+
+
+# %description -l pl.UTF-8
+# TODO
+
+%prep
+%setup -q -n %{pdir}-%{pnam}-%{version}
+
+%build
+%{__perl} Makefile.PL \
+	INSTALLDIRS=vendor
+%{__make}
+
+%{?with_tests:%{__make} test}
+
+%install
+rm -rf $RPM_BUILD_ROOT
+
+%{__make} pure_install \
+	DESTDIR=$RPM_BUILD_ROOT
+
+%clean
+rm -rf $RPM_BUILD_ROOT
+
+%files
+%defattr(644,root,root,755)
+%doc Changes
+%{perl_vendorlib}/Router/*.pm
+%{perl_vendorlib}/Router/Simple
+%{_mandir}/man3/*
+
+%define	date	%(echo `LC_ALL="C" date +"%a %b %d %Y"`)
+%changelog
+* %{date} PLD Team <feedback at pld-linux.org>
+All persons listed below can be reached at <cvs_login>@pld-linux.org
+
+$Log$
+Revision 1.1  2012/05/07 11:01:51  sls
+- new (by pldcpan)
+
================================================================


More information about the pld-cvs-commit mailing list