rpms/perl-HTTP-Server-Simple-Static/F-9 perl-HTTP-Server-Simple-Static.spec, NONE, 1.1 sources, 1.1, 1.2

Tom Callaway spot at fedoraproject.org
Mon Mar 30 22:13:12 UTC 2009


Author: spot

Update of /cvs/pkgs/rpms/perl-HTTP-Server-Simple-Static/F-9
In directory cvs1.fedora.phx.redhat.com:/tmp/cvs-serv1537/F-9

Modified Files:
	sources 
Added Files:
	perl-HTTP-Server-Simple-Static.spec 
Log Message:
initial branching


--- NEW FILE perl-HTTP-Server-Simple-Static.spec ---
Name:		perl-HTTP-Server-Simple-Static
Version:	0.07
Release:	2%{?dist}
Summary:	Serve static files with HTTP::Server::Simple
Group:		Development/Libraries
License:	GPL+ or Artistic
URL:		http://search.cpan.org/dist/HTTP-Server-Simple-Static/
Source0:	http://search.cpan.org/CPAN/authors/id/S/SJ/SJQUINNEY/HTTP-Server-Simple-Static-%{version}.tar.gz
BuildRoot:	%{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n)
BuildArch:	noarch
BuildRequires:	perl(URI::Escape), perl(Exporter), perl(File::MMagic), perl(File::Spec::Functions)
BuildRequires:	perl(Test::Pod), perl(Test::Pod::Coverage), perl(HTTP::Server::Simple), perl(IO::File)
BuildRequires:	perl(MIME::Types)
Requires:	perl(:MODULE_COMPAT_%(eval "`%{__perl} -V:version`"; echo $version))

%description
HTTP::Server::Simple::Static adds a method to serve static files from your
HTTP::Server::Simple subclass.

%prep
%setup -q -n HTTP-Server-Simple-Static-%{version}

%build
%{__perl} Makefile.PL INSTALLDIRS=vendor
make %{?_smp_mflags}

%install
rm -rf $RPM_BUILD_ROOT
make pure_install PERL_INSTALL_ROOT=$RPM_BUILD_ROOT
find $RPM_BUILD_ROOT -type f -name .packlist -exec rm -f {} ';'
find $RPM_BUILD_ROOT -depth -type d -exec rmdir {} 2>/dev/null ';'
chmod -R u+w $RPM_BUILD_ROOT/*

# We'll get this as a doc file instead.
rm -rf $RPM_BUILD_ROOT%{perl_vendorlib}/HTTP/Server/Simple/example.pl

%check
make test

%clean
rm -rf $RPM_BUILD_ROOT

%files
%defattr(-,root,root,-)
%doc Changes README example.pl
%{perl_vendorlib}/HTTP/
%{_mandir}/man3/*.3pm*

%changelog
* Mon Mar 30 2009 Tom "spot" Callaway <tcallawa at redhat.com> - 0.07-2
- package example.pl as %%doc

* Sat Mar 28 2009 Tom "spot" Callaway <tcallawa at redhat.com> - 0.07-1
- initial package for Fedora


Index: sources
===================================================================
RCS file: /cvs/pkgs/rpms/perl-HTTP-Server-Simple-Static/F-9/sources,v
retrieving revision 1.1
retrieving revision 1.2
diff -u -r1.1 -r1.2
--- sources	30 Mar 2009 22:09:22 -0000	1.1
+++ sources	30 Mar 2009 22:12:42 -0000	1.2
@@ -0,0 +1 @@
+79463e02883f6d66018b371eea59c137  HTTP-Server-Simple-Static-0.07.tar.gz




More information about the fedora-extras-commits mailing list