SPECS: perl-HTTP-Server-Simple-Mason.spec (NEW) - initial

arekm arekm at pld-linux.org
Fri Aug 8 23:48:52 CEST 2008


Author: arekm                        Date: Fri Aug  8 21:48:52 2008 GMT
Module: SPECS                         Tag: HEAD
---- Log message:
- initial

---- Files affected:
SPECS:
   perl-HTTP-Server-Simple-Mason.spec (NONE -> 1.1)  (NEW)

---- Diffs:

================================================================
Index: SPECS/perl-HTTP-Server-Simple-Mason.spec
diff -u /dev/null SPECS/perl-HTTP-Server-Simple-Mason.spec:1.1
--- /dev/null	Fri Aug  8 23:48:52 2008
+++ SPECS/perl-HTTP-Server-Simple-Mason.spec	Fri Aug  8 23:48:47 2008
@@ -0,0 +1,61 @@
+# $Revision$, $Date$
+#
+# Conditional build:
+%bcond_with	tests		# perform "make test"
+#
+%include	/usr/lib/rpm/macros.perl
+%define	pdir	HTTP
+%define	pnam	Server-Simple-Mason
+Summary:	HTTP::Server::Simple::Mason - An abstract baseclass for a standalone mason server
+Name:		perl-HTTP-Server-Simple-Mason
+Version:	0.09
+Release:	1
+# same as perl
+License:	GPL v1+ or Artistic
+Group:		Development/Languages/Perl
+Source0:	http://www.cpan.org/modules/by-authors/id/J/JE/JESSE/%{pdir}-%{pnam}-%{version}.tar.gz
+# Source0-md5:	89801442d5ed9b39a80605546461712e
+URL:		http://search.cpan.org/dist/HTTP-Server-Simple-Mason/
+BuildRequires:	perl-devel >= 1:5.8.0
+BuildRequires:	rpm-perlprov >= 4.1-13
+BuildArch:	noarch
+BuildRoot:	%{tmpdir}/%{name}-%{version}-root-%(id -u -n)
+
+%description
+HTTP::Server::Simple::Mason - An abstract baseclass for a standalone
+mason server.
+
+%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} install \
+	DESTDIR=$RPM_BUILD_ROOT
+
+%clean
+rm -rf $RPM_BUILD_ROOT
+
+%files
+%defattr(644,root,root,755)
+%doc Changes
+%{perl_vendorlib}/HTTP/Server/Simple/Mason.pm
+%{_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  2008/08/08 21:48:47  arekm
+- initial
+
================================================================


More information about the pld-cvs-commit mailing list