rpms/mod_perlite/devel import.log, NONE, 1.1 mod_perlite.spec, NONE, 1.1 .cvsignore, 1.1, 1.2 sources, 1.1, 1.2
Chris Weyl
cweyl at fedoraproject.org
Sat Apr 11 05:06:59 UTC 2009
- Previous message: rpms/gvfs/devel gvfs-bash-completion.patch, NONE, 1.1 gvfs.spec, 1.121, 1.122
- Next message: rpms/mod_perlite/F-10 import.log, NONE, 1.1 mod_perlite.spec, NONE, 1.1 .cvsignore, 1.1, 1.2 sources, 1.1, 1.2
- Messages sorted by:
[ date ]
[ thread ]
[ subject ]
[ author ]
Author: cweyl
Update of /cvs/extras/rpms/mod_perlite/devel
In directory cvs1.fedora.phx.redhat.com:/tmp/cvs-serv23754/devel
Modified Files:
.cvsignore sources
Added Files:
import.log mod_perlite.spec
Log Message:
initial import
--- NEW FILE import.log ---
mod_perlite-0_09-0_2_git20090314_fc10:HEAD:mod_perlite-0.09-0.2.git20090314.fc10.src.rpm:1239426376
--- NEW FILE mod_perlite.spec ---
%global tag git20090314
%global git_tag a77521aa84ea5b8c5bcc3e387451acd9368292ee
%global httpd_mod_dir %{_libdir}/httpd/modules
%global httpd_conf_dir %{_sysconfdir}/httpd/conf.d
Name: mod_perlite
Version: 0.09
# I'm treating this as a pre-release as we don't have any actual tarballs yet.
Release: 0.2%{?tag:.%{tag}}%{?dist}
Summary: Kinder, gentler embedded Perl for the Apache HTTP Server
Group: System Environment/Daemons
# see Build.PL, README
License: GPL+ or Artistic
URL: http://modperlite.org
# git://github.com/sodabrew/mod_perlite.git
# can be recreated with:
# TAG=a77521aa84ea5b8c5bcc3e387451acd9368292ee \
# git archive --prefix mod_perlite/ $TAG | gzip > mod_perlite-$TAG.tar.gz
Source0: mod_perlite-%{tag}.tar.gz
BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n)
BuildRequires: httpd-devel >= 2.2.0, httpd, gdbm-devel
BuildRequires: apr-devel >= 1.2.0, apr-util-devel
BuildRequires: perl(:WITH_PERLIO)
BuildRequires: perl(Module::Build)
BuildRequires: perl(ExtUtils::Embed)
BuildRequires: perl(File::Which)
BuildRequires: perl(Test::More)
Requires: httpd-mmn = %(cat %{_includedir}/httpd/.mmn || echo missing)
Requires: perl(:MODULE_COMPAT_%(eval "`%{__perl} -V:version`"; echo $version))
Requires: perl(:WITH_PERLIO)
%description
mod_perlite is a lightweight Apache module that embeds a Perl interpreter
and suggests a default configuration where any file ending in ".pl" is
interpreted by Perl. It is the Perl equivalent of PHP in its simplicity
and nothing like mod_perl in its complexity.
%prep
%setup -q -n %{name}
%build
%{__perl} Build.PL installdirs=vendor optimize="%{optflags} -fpic"
./Build build
%install
rm -rf %{buildroot}
./Build install destdir=%{buildroot} create_packlist=0
# and our apache module...
mkdir -p %{buildroot}%{httpd_mod_dir}
cp mod_perlite.so %{buildroot}%{httpd_mod_dir}/
# install our conf file...
mkdir -p %{buildroot}%{httpd_conf_dir}
cat mod_perlite.conf | sed -re 's/^\s+//; s/AddDir/Dir/; /IfDefine/d' \
> %{buildroot}%{httpd_conf_dir}/perlite.conf
%{_fixperms} %{buildroot}
%check
## This seems to fail
#./Build test
prove -b t/*
%clean
rm -rf %{buildroot}
%files
%defattr(-,root,root,-)
%doc TODO README
%config(noreplace) %{httpd_conf_dir}/*.conf
%{httpd_mod_dir}/mod_perlite.so
%{perl_vendorlib}/*
%{_mandir}/man3/*.3*
%changelog
* Fri Apr 10 2009 Chris Weyl <cweyl at alumni.drew.edu> 0.09-0.2.git20090314
- patch up tarball creation, per review
* Sat Mar 14 2009 Chris Weyl <cweyl at alumni.drew.edu> 0.09-0.1.git20090314
- initial packaging (thanks, mod_perl.spec!)
- based off git a77521aa84ea5b8c5bcc3e387451acd9368292ee
Index: .cvsignore
===================================================================
RCS file: /cvs/extras/rpms/mod_perlite/devel/.cvsignore,v
retrieving revision 1.1
retrieving revision 1.2
diff -u -r1.1 -r1.2
--- .cvsignore 9 Apr 2009 21:10:00 -0000 1.1
+++ .cvsignore 11 Apr 2009 05:06:28 -0000 1.2
@@ -0,0 +1 @@
+mod_perlite-git20090314.tar.gz
Index: sources
===================================================================
RCS file: /cvs/extras/rpms/mod_perlite/devel/sources,v
retrieving revision 1.1
retrieving revision 1.2
diff -u -r1.1 -r1.2
--- sources 9 Apr 2009 21:10:00 -0000 1.1
+++ sources 11 Apr 2009 05:06:28 -0000 1.2
@@ -0,0 +1 @@
+b070e26defddb65dccac7c78270e8fc7 mod_perlite-git20090314.tar.gz
- Previous message: rpms/gvfs/devel gvfs-bash-completion.patch, NONE, 1.1 gvfs.spec, 1.121, 1.122
- Next message: rpms/mod_perlite/F-10 import.log, NONE, 1.1 mod_perlite.spec, NONE, 1.1 .cvsignore, 1.1, 1.2 sources, 1.1, 1.2
- Messages sorted by:
[ date ]
[ thread ]
[ subject ]
[ author ]
More information about the scm-commits
mailing list