rpms/zikula-module-pagemaster/EL-5 pagemaster-separate-filterutil.patch, NONE, 1.1 zikula-module-pagemaster.spec, NONE, 1.1 .cvsignore, 1.1, 1.2 sources, 1.1, 1.2

Toshio くらとみ toshio at fedoraproject.org
Wed Oct 21 20:06:12 UTC 2009


Author: toshio

Update of /cvs/pkgs/rpms/zikula-module-pagemaster/EL-5
In directory cvs1.fedora.phx.redhat.com:/tmp/cvs-serv11362

Modified Files:
	.cvsignore sources 
Added Files:
	pagemaster-separate-filterutil.patch 
	zikula-module-pagemaster.spec 
Log Message:
Initial import:

* Thu Sep 17 2009 Toshio Kuratomi <toshio at fedoraproject.org> - 0.3.1-3
- Update for separated FilterUtil module


pagemaster-separate-filterutil.patch:
 pnuserapi.php |    2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

--- NEW FILE pagemaster-separate-filterutil.patch ---
Index: modules/pagemaster/pnuserapi.php
===================================================================
--- modules.orig/pagemaster/pnuserapi.php
+++ modules/pagemaster/pnuserapi.php
@@ -303,7 +303,7 @@ function pagemaster_userapi_pubList($arg
     if (version_compare(PN_VERSION_NUM, '2.0', '>='))
         Loader::LoadClass("FilterUtil");
     else
-        Loader::LoadClass("FilterUtil",'modules/pagemaster/classes');
+        Loader::LoadClass("FilterUtil",'config/classes');
         
 
     foreach ($pubfields as $fieldname => $field) {


--- NEW FILE zikula-module-pagemaster.spec ---
%global zikula_base         %{_datadir}/zikula
%global zikula_moddir       %{zikula_base}/modules
%global zikula_modname      pagemaster

Name:           zikula-module-%{zikula_modname}
Version:        0.3.1
Release:        3%{?dist}
Summary:        Creates pages with dynamic content like news, articles, etc
Group:          Applications/Publishing
License:        GPLv2+
URL:            http://code.zikula.org/pagemaster/
# Source URL is dynamically generated. Go to URL to fetch it
Source0:        package_ba269f9bbdba5234dca4bbed95702be2.zip
Patch0:         pagemaster-separate-filterutil.patch
BuildRoot:      %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n)
BuildArch:      noarch
Requires:       zikula

%description
Pagemaster is a fully Zikula 1.1 compliant but non complete clone of Pagesetter 
(relations and mediashare plugin are missing still). The main task of the 
module is creating pages with dynamic content like news articles, product 
descriptions, band listings etc.

%prep
%setup -q -c

%patch0 -p0

# Remove empty index.html and others
find -size 0 | xargs rm -f

#Fixing wrong-file-end-of-line-encoding error
sed -i 's/\r//' modules/pagemaster/pndocs/install-and-usage.txt

# Rpmlint warnings E: script-without-shebang
find . -name '*.php' -exec chmod 0644 '{}' \;

# We package Filterutil in its own package in Fedora
rm -rf modules/pagemaster/classes/FilterUtil.class.php
rm -rf modules/pagemaster/classes/FilterUtil

%build

%install
rm -rf %{buildroot}


cd modules/%{zikula_modname}

mkdir -p %{buildroot}/%{zikula_moddir}/%{zikula_modname} 
cp -pr . %{buildroot}/%{zikula_moddir}/%{zikula_modname}
rm -rf %{buildroot}/%{zikula_moddir}/%{zikula_modname}/pndocs


%clean
rm -rf %{buildroot}

%files
%defattr(-,root,root,-)
%doc modules/%{zikula_modname}/pndocs/*
%{zikula_moddir}/%{zikula_modname}


%changelog
* Thu Sep 17 2009 Toshio Kuratomi <toshio at fedoraproject.org> - 0.3.1-3
- Update for separated FilterUtil module

* Fri Aug 28 2009 Rahul Sundaram <sundaram at fedoraproject.org> - 0.3.1-2
- Fix license tag and add Source URL comment

* Wed Aug 26 2009 Rahul Sundaram <sundaram at fedoraproject.org> - 0.3.1-1
- initial package
- Based on Chitlesh Goorah's spec


Index: .cvsignore
===================================================================
RCS file: /cvs/pkgs/rpms/zikula-module-pagemaster/EL-5/.cvsignore,v
retrieving revision 1.1
retrieving revision 1.2
diff -u -p -r1.1 -r1.2
--- .cvsignore	6 Oct 2009 17:34:38 -0000	1.1
+++ .cvsignore	21 Oct 2009 20:06:11 -0000	1.2
@@ -0,0 +1 @@
+package_ba269f9bbdba5234dca4bbed95702be2.zip


Index: sources
===================================================================
RCS file: /cvs/pkgs/rpms/zikula-module-pagemaster/EL-5/sources,v
retrieving revision 1.1
retrieving revision 1.2
diff -u -p -r1.1 -r1.2
--- sources	6 Oct 2009 17:34:38 -0000	1.1
+++ sources	21 Oct 2009 20:06:11 -0000	1.2
@@ -0,0 +1 @@
+bd3190b020698acfe6ce6d85f1909840  package_ba269f9bbdba5234dca4bbed95702be2.zip




More information about the fedora-extras-commits mailing list