rpms/perl-HTML-Mason/devel filter-provides.sh, NONE, 1.1 filter-requires.sh, NONE, 1.1 perl-HTML-Mason.conf, NONE, 1.1 perl-HTML-Mason.spec, NONE, 1.1 .cvsignore, 1.1, 1.2 sources, 1.1, 1.2

Steven Pritchard (steve) fedora-extras-commits at redhat.com
Fri Sep 16 02:10:16 UTC 2005


Author: steve

Update of /cvs/extras/rpms/perl-HTML-Mason/devel
In directory cvs-int.fedora.redhat.com:/tmp/cvs-serv15544/devel

Modified Files:
	.cvsignore sources 
Added Files:
	filter-provides.sh filter-requires.sh perl-HTML-Mason.conf 
	perl-HTML-Mason.spec 
Log Message:
auto-import perl-HTML-Mason-1.3101-3 on branch devel from perl-HTML-Mason-1.3101-3.src.rpm


--- NEW FILE filter-provides.sh ---
#!/bin/sh

/usr/lib/rpm/perl.prov $* | grep -v '^perl(MyApp::'


--- NEW FILE filter-requires.sh ---
#!/bin/sh

/usr/lib/rpm/perl.req $* | grep -v '^perl(MasonX::Request::PlusApacheSession)$'


--- NEW FILE perl-HTML-Mason.conf ---
#
# perl-HTML-Mason.conf - HTML::Mason httpd 2.0.x configuration
#

#
# For more information on configuring Mason, see
# http://www.masonhq.com/docs/manual/Params.html
#
# PerlModule HTML::Mason::ApacheHandler

#
# The component root marks the top of your component hierarchy and defines how
# component paths are translated into real file paths. For example, if your
# component root is /usr/local/httpd/docs, a component path of
# /products/index.html translates to the file
# /usr/local/httpd/docs/products/index.html.
#
# Uncomment the following line to set a single component root:
#
# PerlSetVar MasonCompRoot "/var/www/mason"
#
# Uncomment the following lines to set multiple component roots:
#
# PerlAddVar MasonCompRoot "main    => /var/www/html"
# PerlAddVar MasonCompRoot "private => /var/www/mason"
#

#
# The data directory is a writable directory that Mason uses for various
# features and optimizations: for example, component object files and data
# cache files. Mason will create the directory on startup, if necessary, and
# set its permissions according to the web server User/Group.
#
# PerlSetVar MasonDataDir "/var/cache/mason"

#
# The error mode indicates how errors are returned to the caller.  The default
# under Apache and CGI is output, causing the error to be displayed in the
# browser. Uncomment the following line to make Mason die with an error
# instead.
#
# PerlSetVar MasonErrorMode fatal

#
# To use the Apache args method with Mason, make sure you have libapreq2
# installed and loaded, and uncomment the following lines.
#
# PerlOptions +GlobalRequest
# PerlModule Apache2::Request
# PerlSetVar MasonArgsMethod mod_perl

#
# If you do not have libapreq2 installed, you may use the CGI args method with
# Mason. To do so, uncomment the following lines.
#
# PerlModule CGI
# PerlSetVar MasonArgsMethod CGI

#
# The following configuration will tell Apache to serve certain files in your
# document root using HTML::Mason.
#
#<LocationMatch "(\.html|\.pl)$">
#    DefaultType text/html
#    SetHandler modperl
#    PerlResponseHandler HTML::Mason::ApacheHandler
#</LocationMatch>

#<LocationMatch "(\.txt)$">
#    DefaultType text/plain
#    SetHandler modperl
#    PerlResponseHandler HTML::Mason::ApacheHandler
#</LocationMatch>



--- NEW FILE perl-HTML-Mason.spec ---
Name:           perl-HTML-Mason
Version:        1.3101
Release:        3%{?dist}
Summary:        HTML::Mason Perl module
License:        GPL or Artistic
Group:          Development/Libraries
URL:            http://www.masonhq.com/
Source0:        http://www.cpan.org/authors/id/D/DR/DROLSKY/HTML-Mason-%{version}.tar.gz
Source1:        perl-HTML-Mason.conf

# Filter perl(MasonX::Request::PlusApacheSession).
Source2:        filter-requires.sh
%define __perl_requires %{SOURCE2}

# Filter perl(MyApp::Mason) and perl(MyApp::MasonPlusSession).
Source3:        filter-provides.sh
%define __perl_provides %{SOURCE3}

BuildRoot:      %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n)
BuildArch:      noarch
BuildRequires:  perl(Cache::Cache) >= 1
BuildRequires:  perl(Class::Container) >= 0.07
BuildRequires:  perl(Exception::Class) >= 1.15
BuildRequires:  perl(Module::Build::Compat) >= 0.02
BuildRequires:  perl(Params::Validate) >= 0.7
BuildRequires:  perl(mod_perl2)
Requires:       perl(Cache::Cache) >= 1
Requires:       perl(Class::Container) >= 0.07
Requires:       perl(Exception::Class) >= 1.15
Requires:       perl(Params::Validate) >= 0.7
Requires:       perl(mod_perl2)
Requires:       perl(:MODULE_COMPAT_%(eval "`%{__perl} -V:version`"; echo $version))
Requires:       %{_sysconfdir}/httpd/conf.d

%description
Mason is a powerful Perl-based web site development and delivery
engine. With Mason you can embed Perl code in your HTML and construct
pages from shared, reusable components.  Mason solves the common
problems of site development: caching, debugging, templating,
maintaining development and production sites, and more.

%prep
%setup -q -n HTML-Mason-%{version}

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

%install
rm -rf $RPM_BUILD_ROOT

# make: *** No rule to make target `pure_install'.  Stop.
make install PERL_INSTALL_ROOT=$RPM_BUILD_ROOT

find $RPM_BUILD_ROOT -type f -name .packlist -exec rm -f {} \;
find $RPM_BUILD_ROOT -type d -depth -exec rmdir {} 2>/dev/null \;

chmod -R u+rwX,go+rX,go-w $RPM_BUILD_ROOT/*

mkdir -p $RPM_BUILD_ROOT/%{_sysconfdir}/httpd/conf.d
install -p -m 0644 %{SOURCE1} $RPM_BUILD_ROOT/%{_sysconfdir}/httpd/conf.d/

mkdir -p $RPM_BUILD_ROOT%{_localstatedir}/www/mason
mkdir -p $RPM_BUILD_ROOT%{_localstatedir}/cache/mason

%check
make test

%clean
rm -rf $RPM_BUILD_ROOT

%files
%defattr(-,root,root,-)
%doc CREDITS Changes LICENSE README UPGRADE
%doc htdocs/ eg/ samples/
%{perl_vendorlib}/*
%{_mandir}/man3/*
%config(noreplace) %{_sysconfdir}/httpd/conf.d/perl-HTML-Mason.conf
%dir %attr(775,root,apache) %{_localstatedir}/cache/mason
%dir %{_localstatedir}/www/mason

%changelog
* Thu Sep 15 2005 Steven Pritchard <steve at kspei.com> 1.3101-3
- Filter bogus provides/requires introduced by eg/ and samples/

* Thu Sep 15 2005 Steven Pritchard <steve at kspei.com> 1.3101-2
- More spec cleanup (jpo)

* Mon Aug 29 2005 Steven Pritchard <steve at kspei.com> 1.3101-1
- Update to 1.3101
- Spec cleanup (jpo)
- Include sample config file from Chris Grau

* Wed Aug 24 2005 Steven Pritchard <steve at kspei.com> 1.31-3
- Use /var/www/mason instead of /var/www/comp
- Spec cleanup

* Tue Aug 23 2005 Steven Pritchard <steve at kspei.com> 1.31-2
- Add some missing dependencies

* Tue Aug 23 2005 Steven Pritchard <steve at kspei.com> 1.31-1
- Update to 1.31
- Use /var/cache/mason instead of /var/www/mason
- Fix perl-HTML-Mason.conf
- Fix URL

* Thu Aug 11 2005 Steven Pritchard <steve at kspei.com> 1.30-1
- Specfile autogenerated.
- Add perl-HTML-Mason.conf and /var/www/*


Index: .cvsignore
===================================================================
RCS file: /cvs/extras/rpms/perl-HTML-Mason/devel/.cvsignore,v
retrieving revision 1.1
retrieving revision 1.2
diff -u -r1.1 -r1.2
--- .cvsignore	16 Sep 2005 02:05:04 -0000	1.1
+++ .cvsignore	16 Sep 2005 02:09:55 -0000	1.2
@@ -0,0 +1 @@
+HTML-Mason-1.3101.tar.gz


Index: sources
===================================================================
RCS file: /cvs/extras/rpms/perl-HTML-Mason/devel/sources,v
retrieving revision 1.1
retrieving revision 1.2
diff -u -r1.1 -r1.2
--- sources	16 Sep 2005 02:05:04 -0000	1.1
+++ sources	16 Sep 2005 02:09:55 -0000	1.2
@@ -0,0 +1 @@
+4904681296efeb9c58bf0d9926d37407  HTML-Mason-1.3101.tar.gz




More information about the fedora-extras-commits mailing list