# Initial work for 4.8 by JL Bond Consulting
# Reworked for 5.1 by Alain Peyrat <aljeux@free.fr>
#
-# TODO: Generate a random password to avoid sites with default pass.
-
+# Copyright (C) 2010 Alain Peyrat
+#
# Global Definitions
%define dbname gforge
%define httpdgroup apache
%define fforge_admin fforgeadmin
-%define fforge_passwd fforgeadmin
-%define GFORGE_DIR %{_datadir}/gforge
-%define GFORGE_CONF_DIR %{_sysconfdir}/gforge
-%define GFORGE_LANG_DIR %{_datadir}/locale
-%define GFORGE_VAR_LIB %{_var}/lib/gforge
+%define FORGE_DIR %{_datadir}/gforge/src
+%define FORGE_CONF_DIR %{_sysconfdir}/gforge
+%define FORGE_LANG_DIR %{_datadir}/locale
+%define FORGE_VAR_LIB %{_var}/lib/gforge
%define reloadhttpd() /etc/init.d/httpd httpd reload >/dev/null 2>&1
+# Disable debug binary detection & generation to speed up process.
+%global debug_package %{nil}
+
# RPM spec preamble
Summary: FusionForge Collaborative Development Environment
Name: fusionforge
BuildRoot: %{_tmppath}/%{name}-%{version}-root
Packager: Alain Peyrat <aljeux@free.fr>
-# requirements as derived from fusionforge-install-1-deps.php script
Requires: httpd, mod_dav_svn, mod_ssl, php, php-pgsql, php-gd, php-mbstring, mailman
-Requires: postgresql, postgresql-libs, postgresql-server, postgresql-contrib
-Requires: postfix, openssh, inetd, which, liberation-fonts
+Requires: postgresql >= 8.3 or postgresql84, postgresql-libs >= 8.3 or postgresql84-libs, postgresql-server >= 8.3 or postgresql84-server, postgresql-contrib >= 8.3 or postgresql84-contrib
+Requires: postfix, openssh, inetd, which
Requires: /bin/sh, /bin/bash
Requires: perl, perl-DBI, perl-HTML-Parser, perl-Text-Autoformat, perl-Mail-Sendmail, perl-Sort-Versions
Requires: cronolog
-Requires: php-jpgraph php-gd
-#update sys_path_to_jpgraph in gforge.conf if you remove this line
-#Requires: /var/www/jpgraph/jpgraph.php
+Requires: php-jpgraph
+Requires: /var/www/jpgraph-1.19/jpgraph.php
#Requires: libnss-pgsql >= 1.4
-Requires: mailman
Requires: gettext
-Requires: htmlpurifier >= 4.0.0
+Requires: php-htmlpurifier >= 4.0.0
Requires: sed
Requires: coreutils
Requires: /usr/bin/newaliases
+Requires: php-pear-HTTP_WebDAV_Server
+Requires: php-pecl-zip
# BuildRequires: sed, perl
web/FTP hosting, release management, etc. All these services are
integrated into one web site and managed through a web interface.
-%package aselectextauth
+%package plugin-aselectextauth
Summary: A-select external authentication for FusionForge
Group: Development/Tools
Requires: %{name} >= %{version}, php, postgresql
-%description aselectextauth
-A system for authenticating users in fusionforge. A-Select is a framework
+%description plugin-aselectextauth
+A system plugin for authenticating users in fusionforge. A-Select is a framework
where users can be authenticated by several means with Authentication
Service Providers.
+%package plugin-authcas
+Summary: External CAS authentication plugin for FusionForge.
+Group: Development/Tools
+Requires: %{name} >= %{version}, php, postgresql
+%description plugin-authcas
+External CAS authentication plugin for FusionForge.
+
+%package plugin-authhttpd
+Summary: External HTTPD authentication plugin for FusionForge.
+Group: Development/Tools
+Requires: %{name} >= %{version}, php, postgresql
+%description plugin-authhttpd
+External HTTPD authentication plugin for FusionForge.
+
+# %package plugin-authopenid
+# Summary: External OpenID authentication plugin for FusionForge.
+# Group: Development/Tools
+# Requires: %{name} >= %{version}, php, postgresql
+# %description plugin-authopenid
+# External OpenID authentication plugin for FusionForge.
+
+%package plugin-ckeditor
+Summary: CKEditor plugin for FusionForge
+Group: Development/Tools
+Requires: %{name} >= %{version}, php, ckeditor
+%description plugin-ckeditor
+CKEditor is a WYSIWYG text editor that displays within a web browser.
+
%package plugin-cvssyncmail
Summary: Provides email notifications of changes to CVS repositories
Group: Development/Tools
-Requires: %{name} >= %{version}, %{name}-scmcvs, python, php
+Requires: %{name} >= %{version}, %{name}-plugin-scmcvs, python, php
%description plugin-cvssyncmail
This plugin adds the capability to notify users of changes to CVS repositories
in FusionForge.
+%package plugin-compactpreview
+Summary: Provides a preview mecanism
+Group: Development/Tools
+Requires: %{name} >= %{version}, php
+%description plugin-compactpreview
+This plugin adds support for user and project compact-preview
+(popups) compatible with the OSLC specifications.
+
%package plugin-cvstracker
Summary: Links CVS log messages to trackers and tasks.
Group: Development/Tools
-Requires: %{name} >= %{version}, %{name}-scmcvs, php, postgresql
+Requires: %{name} >= %{version}, %{name}-plugin-scmcvs, php, postgresql
%description plugin-cvstracker
This is a fusionforge plugin that allows linking CVS log messages to
trackers and tasks. It will review all commits in a project and search for
specific string to know which task or tracker is related.
+%package plugin-doaprdf
+Summary: DOAP RDF for projects
+Group: Development/Tools
+Requires: %{name} >= %{version}, php
+%description plugin-doaprdf
+DOAP RDF for projects
+
%package plugin-externalsearch
Summary: external search plugin for FusionForge
Group: Development/Tools
which have indexed it. You can define search engines you want to use in
the configuration file.
+%package plugin-extsubproj
+Summary: external sub project plugin for FusionForge
+Group: Development/Tools
+Requires: %{name} >= %{version}, php
+%description plugin-extsubproj
+Manages links to external subprojects on remote forges.
+
+# %package plugin-forumml
+# Summary: Mailman to forums plugin for FusionForge
+# Group: Development/Tools
+# Requires: %{name} >= %{version}, php
+# %description plugin-forumml
+# ForumML integes mailing lists as forums in FusionForge
+
%package plugin-fckeditor
Summary: FCKEditor plugin for FusionForge
Group: Development/Tools
%description plugin-gravatar
This plugin adds faces images to FusionForge users using the gravatar service.
-%package plugin-ldapextauth
-Summary: external LDAP authentication for FusionForge plugin
+%package plugin-hudson
+Summary: Hudson continous integration plugin for FusionForge
Group: Development/Tools
Requires: %{name} >= %{version}, php
-%description plugin-ldapextauth
-This plugin provides LDAP authentication capability for FusionForge.
+%description plugin-hudson
+This plugin adds hudson integration to FusionForge.
-%package plugin-mantis
-Summary: MantisBT plugin for FusionForge
+%package plugin-authldap
+Summary: external LDAP authentication for FusionForge plugin
Group: Development/Tools
-Requires: %{name} >= %{version}, php
-%description plugin-mantis
-A plugin to use the MantisBT web-based bug tracking system with FusionForge.
+Requires: %{name} >= %{version}, php, php-ldap
+%description plugin-authldap
+This plugin provides LDAP authentication capability for FusionForge.
%package plugin-mediawiki
Summary: Mediawiki plugin for FusionForge
%description plugin-mediawiki
This is a plugin to integrate MediaWiki within FusionForge.
+%package plugin-moinmoin
+Summary: MoinMoinWiki plugin for FusionForge
+Group: Development/Tools
+Requires: %{name} >= %{version}, php, postgresql
+%description plugin-moinmoin
+This is a plugin to integrate MediaWiki within FusionForge.
+
+%package plugin-message
+Summary: Global Information Message plugin for FusionForge
+Group: Development/Tools
+Requires: %{name} >= %{version}, php
+%description plugin-message
+This is a plugin to add a global announce message for FusionForge.
+It can be use to warn users for planned or current outage.
+
%package plugin-online_help
Summary: online_help plugin for FusionForge
Group: Development/Tools
%description plugin-online_help
This is a online_help plugin within FusionForge.
-%package plugin-projects_hierarchy
-Summary: projects_hierarchy plugin for FusionForge
+%package plugin-oslc
+Summary: OSLC plugin for FusionForge
+Group: Development/Tools
+Requires: %{name} >= %{version}, php, php-ZendFramework > 1.10
+%description plugin-oslc
+OSLC-CM compatible plugin for FusionForge tracker system.
+OSLC-CM is a standard specification for APIs in Change Management
+applications. It is based on Web technologies such as REST, RDF, or AJAX.
+This package provides an OSLC-CM V2 compatible plugin for FusionForge
+tracker system.
+
+%package plugin-projectimport
+Summary: Project Import plugin for FusionForge
Group: Development/Tools
Requires: %{name} >= %{version}, php
-%description plugin-projects_hierarchy
-This is a projects_hierarchy plugin within FusionForge.
+%description plugin-projectimport
+Project import plugin for FusionForge
+This plugin allows the import of a project data previously exported
+with ForgePlucker, or a compatible tool.
+
+# %package plugin-projects-hierarchy
+# Summary: projects-hierarchy plugin for FusionForge
+# Group: Development/Tools
+# Requires: %{name} >= %{version}, php
+# %description plugin-projects-hierarchy
+# This is a projects-hierarchy plugin within FusionForge.
%package plugin-quota_management
Summary: quota_management plugin for FusionForge
This is a plugin to integrate DARCS version control system with FusionForge
%package plugin-scmgit
-Summary: Bazaar version control plugin for FusionForge
+Summary: Git version control plugin for FusionForge
Group: Development/Tools
-Requires: %{name} >= %{version}, php, git
+Requires: %{name} >= %{version}, php, git, gitweb
%description plugin-scmgit
-This is a plugin to integrate Bazaar version control system with FusionForge
+This is a plugin to integrate Git version control system with FusionForge
%package plugin-scmhg
Summary: Mercurial (hg) version control plugin for FusionForge
%description plugin-scmhg
This is a plugin to integrate Mercurial (hg) version control system with FusionForge
+%package plugin-scmhook
+Summary: Source Code Hooks plugin
+Group: Development/Tools
+Requires: %{name} >= %{version}
+%description plugin-scmhook
+This plugin provide a simple hook system for various version control system.
+It allows project admins to activate/desactivate predefined hooks on their
+repositories.
+
%package plugin-scmccase
Summary: Clear Case plugin for FusionForge
Group: Development/Tools
%package plugin-svncommitemail
Summary: subversion commit email plugin for FusionForge
Group: Development/Tools
-Requires: %{name} >= %{version}, php, subversion, perl, %{name}-scmsvn >= %{version}
+Requires: %{name} >= %{version}, php, subversion, perl, %{name}-plugin-scmsvn >= %{version}
%description plugin-svncommitemail
This RPM installs subversion commit email notification plugin for FusionForge.
%package plugin-svntracker
Summary: SVNTracker plugin for FusionForge
Group: Development/Tools
-Requires: %{name} >= %{version}, php, subversion, perl, postgresql, %{name}-scmsvn >= %{version}
+Requires: %{name} >= %{version}, php, subversion, perl, postgresql, %{name}-plugin-scmsvn >= %{version}
%description plugin-svntracker
SVNTracker plugin allows linking SVN log messages to Trackers and tasks.
It will review all commits in a project and search for a specific string
%description plugin-globalsearch
globalsearch plugin for FusionForge.
-%package plugin-mantisbt
-Summary: mantisbt plugin for FusionForge
-Group: Development/Tools
-Requires: %{name} >= %{version}, php, postgresql
-%description plugin-mantisbt
-mantisbt plugin for FusionForge.
+# %package plugin-mailman
+# Summary: Mailman plugin for FusionForge
+# Group: Development/Tools
+# Requires: %{name} >= %{version}, php
+# %description plugin-mailman
+# Mailman plugin for FusionForge.
+
+# %package plugin-mantisbt
+# Summary: mantisbt plugin for FusionForge
+# Group: Development/Tools
+# Requires: %{name} >= %{version}, php, postgresql
+# %description plugin-mantisbt
+# mantisbt plugin for FusionForge.
+
+# %package plugin-oauthprovider
+# Summary: oauthprovider plugin for FusionForge
+# Group: Development/Tools
+# Requires: %{name} >= %{version}, php, postgresql
+# %description plugin-oauthprovider
+# oauthprovider plugin for FusionForge.
%prep
%setup -q
%{__install} -m 755 -d $RPM_BUILD_ROOT%{_sysconfdir}/httpd/conf.d
%{__install} -m 755 -d $RPM_BUILD_ROOT%{_sysconfdir}/cron.d
%{__install} -m 755 -d $RPM_BUILD_ROOT/bin
-%{__install} -m 755 -d $RPM_BUILD_ROOT%{GFORGE_DIR}
-%{__install} -m 755 -d $RPM_BUILD_ROOT%{GFORGE_DIR}/lib
-%{__install} -m 755 -d $RPM_BUILD_ROOT%{GFORGE_CONF_DIR}
-%{__install} -m 755 -d $RPM_BUILD_ROOT%{GFORGE_CONF_DIR}/httpd.d
-%{__install} -m 755 -d $RPM_BUILD_ROOT%{GFORGE_CONF_DIR}/httpd.conf.d
-%{__install} -m 755 -d $RPM_BUILD_ROOT%{GFORGE_CONF_DIR}/config.ini.d
-%{__install} -m 755 -d $RPM_BUILD_ROOT%{GFORGE_CONF_DIR}/plugins
-%{__install} -m 755 -d $RPM_BUILD_ROOT%{GFORGE_LANG_DIR}
-%{__install} -m 755 -d $RPM_BUILD_ROOT%{GFORGE_VAR_LIB}
-%{__install} -m 755 -d $RPM_BUILD_ROOT%{GFORGE_VAR_LIB}/upload
-%{__install} -m 755 -d $RPM_BUILD_ROOT%{GFORGE_VAR_LIB}/scmtarballs
-%{__install} -m 755 -d $RPM_BUILD_ROOT%{GFORGE_VAR_LIB}/scmsnapshots
-%{__install} -m 755 -d $RPM_BUILD_ROOT%{GFORGE_VAR_LIB}/homedirs
-%{__install} -m 755 -d $RPM_BUILD_ROOT%{GFORGE_VAR_LIB}/dumps
-%{__install} -m 755 -d $RPM_BUILD_ROOT%{GFORGE_VAR_LIB}/chroot/scmrepos/svn
-%{__install} -m 755 -d $RPM_BUILD_ROOT%{GFORGE_VAR_LIB}/chroot/scmrepos/cvs
+%{__install} -m 755 -d $RPM_BUILD_ROOT%{FORGE_DIR}
+%{__install} -m 755 -d $RPM_BUILD_ROOT%{FORGE_DIR}/lib
+%{__install} -m 755 -d $RPM_BUILD_ROOT%{FORGE_DIR}/www
+%{__install} -m 755 -d $RPM_BUILD_ROOT%{FORGE_DIR}/www/plugins
+%{__install} -m 755 -d $RPM_BUILD_ROOT%{FORGE_CONF_DIR}
+%{__install} -m 755 -d $RPM_BUILD_ROOT%{FORGE_CONF_DIR}/httpd.d
+%{__install} -m 755 -d $RPM_BUILD_ROOT%{FORGE_CONF_DIR}/httpd.conf.d
+%{__install} -m 755 -d $RPM_BUILD_ROOT%{FORGE_CONF_DIR}/config.ini.d
+%{__install} -m 755 -d $RPM_BUILD_ROOT%{FORGE_CONF_DIR}/plugins
+%{__install} -m 755 -d $RPM_BUILD_ROOT%{FORGE_LANG_DIR}
+%{__install} -m 755 -d $RPM_BUILD_ROOT%{FORGE_VAR_LIB}
+%{__install} -m 755 -d $RPM_BUILD_ROOT%{FORGE_VAR_LIB}/upload
+%{__install} -m 755 -d $RPM_BUILD_ROOT%{FORGE_VAR_LIB}/scmtarballs
+%{__install} -m 755 -d $RPM_BUILD_ROOT%{FORGE_VAR_LIB}/scmsnapshots
+%{__install} -m 755 -d $RPM_BUILD_ROOT%{FORGE_VAR_LIB}/homedirs
+%{__install} -m 755 -d $RPM_BUILD_ROOT%{FORGE_VAR_LIB}/dumps
+%{__install} -m 755 -d $RPM_BUILD_ROOT%{FORGE_VAR_LIB}/etc
+%{__install} -m 755 -d $RPM_BUILD_ROOT%{FORGE_VAR_LIB}/chroot/scmrepos/svn
+%{__install} -m 755 -d $RPM_BUILD_ROOT%{FORGE_VAR_LIB}/chroot/scmrepos/cvs
%{__install} -m 755 -d $RPM_BUILD_ROOT/home/groups
+%{__install} -m 755 -d $RPM_BUILD_ROOT/var/log/gforge
# mock mediawiki directory because we symlink GForge skin to Monobook
%{__install} -m 755 -d $RPM_BUILD_ROOT/usr/share/mediawiki/skins
/usr/bin/find . -type f | xargs grep -l ${1} | xargs %{__sed} -i -e "s+${1}+${2}+g"
}
-# we need to fix up the fusionforge-install-3-db.php script to ref %{GFORGE_DIR}
-search_and_replace "/opt/gforge" "%{GFORGE_DIR}"
+# we need to fix up the fusionforge-install-3-db.php script to ref %{FORGE_DIR}
+search_and_replace "/opt/gforge" "%{FORGE_DIR}"
# installing gforge
-%{__cp} -a * $RPM_BUILD_ROOT/%{GFORGE_DIR}/
+%{__cp} -a * $RPM_BUILD_ROOT/%{FORGE_DIR}/
# create project vhost space symlink
-%{__ln_s} /home/groups $RPM_BUILD_ROOT/%{GFORGE_VAR_LIB}/homedirs/groups
+%{__ln_s} /home/groups $RPM_BUILD_ROOT/%{FORGE_VAR_LIB}/homedirs/groups
# install restricted shell for cvs accounts
%{__cp} -a plugins/scmcvs/bin/cvssh.pl $RPM_BUILD_ROOT/bin/
-# Fix configuration files entries (various sys_* variables)
-%{__cp} -a etc/local.inc.example $RPM_BUILD_ROOT/%{GFORGE_CONF_DIR}/local.inc
-%{__sed} -i -e "s!/path/to/gforge!%{GFORGE_DIR}!g" $RPM_BUILD_ROOT%{GFORGE_CONF_DIR}/local.inc
-%{__sed} -i -e "s/\$sys_dbname=.*/\$sys_dbname='%{dbname}';/g" $RPM_BUILD_ROOT%{GFORGE_CONF_DIR}/local.inc
-%{__sed} -i -e "s/\$sys_dbuser=.*/\$sys_dbuser='%{dbuser}';/g" $RPM_BUILD_ROOT%{GFORGE_CONF_DIR}/local.inc
-%{__sed} -i -e "s/\$sys_apache_user=.*/\$sys_apache_user='%{httpduser}';/g" $RPM_BUILD_ROOT%{GFORGE_CONF_DIR}/local.inc
-%{__sed} -i -e "s/\$sys_apache_group=.*/\$sys_apache_group='%{httpdgroup}';/g" $RPM_BUILD_ROOT%{GFORGE_CONF_DIR}/local.inc
-%{__sed} -i -e "s|\$sys_plugins_path=.*|\$sys_plugins_path=\"%{GFORGE_DIR}/plugins\";|g" $RPM_BUILD_ROOT%{GFORGE_CONF_DIR}/local.inc
-%{__sed} -i -e "s|\$sys_upload_dir=.*|\$sys_upload_dir=\"\$sys_var_path/upload\";|g" $RPM_BUILD_ROOT%{GFORGE_CONF_DIR}/local.inc
-%{__sed} -i -e "s|\$sys_urlroot=.*|\$sys_urlroot=\"%{GFORGE_DIR}/www\";|g" $RPM_BUILD_ROOT%{GFORGE_CONF_DIR}/local.inc
-
-# Replace sys_localinc, sys_gfdbname, sys_gfdbuser
-%{__cp} -a etc/httpd.secrets.example $RPM_BUILD_ROOT%{GFORGE_CONF_DIR}/httpd.secrets
-%{__sed} -i -e "s|sys_localinc.*$|sys_localinc %{GFORGE_CONF_DIR}/local.inc|g" $RPM_BUILD_ROOT%{GFORGE_CONF_DIR}/httpd.secrets
-%{__sed} -i -e "s|sys_gfdbname.*$|sys_gfdbname %{dbname}|g" $RPM_BUILD_ROOT%{GFORGE_CONF_DIR}/httpd.secrets
-%{__sed} -i -e "s|sys_gfdbuser.*$|sys_gfdbname %{dbuser}|g" $RPM_BUILD_ROOT%{GFORGE_CONF_DIR}/httpd.secrets
-
# Apache configuration file
-%{__cp} -a etc/gforge-httpd.conf.example $RPM_BUILD_ROOT%{_sysconfdir}/httpd/conf.d/gforge.conf
-%{__sed} -i -e 's|.*php_value[[:space:]]*include_path.*$|\tphp_value\tinclude_path ".:/usr/share/gforge/www/include:/usr/share/gforge:/etc/gforge:/usr/share/gforge/common:/usr/share/gforge/www:/usr/share/gforge/plugins"|' $RPM_BUILD_ROOT%{_sysconfdir}/httpd/conf.d/gforge.conf
+%{__cp} -a etc/httpd.conf.d-fhs/* $RPM_BUILD_ROOT%{FORGE_CONF_DIR}/httpd.conf.d/
+%{__cp} -a etc/config.ini.d/defaults.ini $RPM_BUILD_ROOT%{FORGE_CONF_DIR}/config.ini.d/
+%{__cp} -a etc/config.ini.d/debug.ini $RPM_BUILD_ROOT%{FORGE_CONF_DIR}/config.ini.d/
+%{__cp} -a etc/config.ini-fhs $RPM_BUILD_ROOT%{FORGE_CONF_DIR}/config.ini
+%{__cp} -a etc/httpd.conf-fhs $RPM_BUILD_ROOT%{_sysconfdir}/httpd/conf.d/gforge.conf
+#%{__cp} -a etc/gforge-httpd.conf.example $RPM_BUILD_ROOT%{_sysconfdir}/httpd/conf.d/gforge.conf
+#%{__sed} -i -e 's|.*php_value[[:space:]]*include_path.*$|\tphp_value\tinclude_path ".:/usr/share/gforge/www/include:/usr/share/gforge:/etc/gforge:/usr/share/gforge/common:/usr/share/gforge/www:/usr/share/gforge/plugins"|' $RPM_BUILD_ROOT%{_sysconfdir}/httpd/conf.d/gforge.conf
# install fusionforge crontab
%{__install} -m 644 packaging/cron.d/cron.fusionforge $RPM_BUILD_ROOT%{_sysconfdir}/cron.d/%{name}
-%{__install} -m 644 deb-specific/sqlhelper.pm $RPM_BUILD_ROOT%{GFORGE_DIR}/lib/sqlhelper.pm
+%{__install} -m 644 deb-specific/sqlhelper.pm $RPM_BUILD_ROOT%{FORGE_DIR}/lib/sqlhelper.pm
# Install locale files in Redhat standard location
-%{__cp} -a locales/* $RPM_BUILD_ROOT/%{GFORGE_LANG_DIR}/
+%{__cp} -a locales/* $RPM_BUILD_ROOT/%{FORGE_LANG_DIR}/
+
+%{__rm} -f $RPM_BUILD_ROOT%{FORGE_DIR}/utils/fusionforge-shell-postgresql.spec
+
+# Identify this FusionForge version
+# keep type intact and change forge in derivates,
+# unless there are deep changes (type is used for
+# the Forge-Identification meta header)
+WHICH_TYPE=FusionForge
+WHICH_FORGE=FusionForge
+WHICH_VERSION=%{version}-%{release}
+%{__sed} \
+ -e "s!@PKGNAME@!${WHICH_FORGE}!g" \
+ -e "s!@PKGVERSION@!${WHICH_VERSION}!g" \
+ -e "s!@PLUCKERNAME@!${WHICH_TYPE}!g" \
+ <$RPM_BUILD_ROOT/%{FORGE_DIR}/deb-specific/pkginfo.inc.php \
+ >$RPM_BUILD_ROOT/%{FORGE_DIR}/common/pkginfo.inc.php
+
+%{__rm} -f $RPM_BUILD_ROOT%{FORGE_DIR}/COPYING.php
+%{__rm} -fr $RPM_BUILD_ROOT/%{FORGE_DIR}/packaging
+%{__rm} -fr $RPM_BUILD_ROOT/%{FORGE_DIR}/deb-specific
+%{__rm} -fr $RPM_BUILD_ROOT/%{FORGE_DIR}/rpm-specific
+%{__rm} -fr $RPM_BUILD_ROOT/%{FORGE_DIR}/plugins/*/packaging
+%{__rm} -fr $RPM_BUILD_ROOT/%{FORGE_DIR}/plugins/*/*.spec
+%{__rm} -fr $RPM_BUILD_ROOT/%{FORGE_DIR}/plugins/foafprofiles
+
+### Plugin setup ###
+for i in $(utils/list-enabled-plugins.sh --disabled) ; do
+ %{__rm} -rf $RPM_BUILD_ROOT%{FORGE_DIR}/plugins/$i
+done
-# create symlink for jpgraph
-%{__ln_s} /usr/share/jpgraph $RPM_BUILD_ROOT%{GFORGE_DIR}/jpgraph
+%{__cp} $RPM_BUILD_ROOT%{FORGE_DIR}/plugins/*/etc/*.ini $RPM_BUILD_ROOT%{FORGE_CONF_DIR}/config.ini.d/
+%{__cp} $RPM_BUILD_ROOT%{FORGE_DIR}/plugins/*/etc/cron.d/* $RPM_BUILD_ROOT%{_sysconfdir}/cron.d/
+%{__cp} $RPM_BUILD_ROOT%{FORGE_DIR}/plugins/*/etc/httpd.d/* $RPM_BUILD_ROOT%{FORGE_CONF_DIR}/httpd.d/
+%{__cp} -rp $RPM_BUILD_ROOT%{FORGE_DIR}/plugins/*/etc/plugins/* $RPM_BUILD_ROOT%{FORGE_CONF_DIR}/plugins/
+%{__rm} -f $RPM_BUILD_ROOT%{FORGE_DIR}/plugins/README
-%{__rm} -f $RPM_BUILD_ROOT%{GFORGE_DIR}/utils/fusionforge-shell-postgresql.spec
+# plugin: aselectextauth
-%{__rm} -f $RPM_BUILD_ROOT%{GFORGE_DIR}/COPYING.php
-%{__rm} -fr $RPM_BUILD_ROOT/%{GFORGE_DIR}/packaging
-%{__rm} -fr $RPM_BUILD_ROOT/%{GFORGE_DIR}/deb-specific
-%{__rm} -fr $RPM_BUILD_ROOT/%{GFORGE_DIR}/rpm-specific
-%{__rm} -fr $RPM_BUILD_ROOT/%{GFORGE_DIR}/plugins/*/packaging
-%{__rm} -fr $RPM_BUILD_ROOT/%{GFORGE_DIR}/plugins/*/*.spec
+# plugin: authbuiltin (internal plugin)
+%{__ln_s} ../../plugins/authbuiltin/www $RPM_BUILD_ROOT%{FORGE_DIR}/www/plugins/authbuiltin
-### Plugin setup ###
-%{__cp} $RPM_BUILD_ROOT%{GFORGE_DIR}/plugins/*/etc/*.ini $RPM_BUILD_ROOT%{GFORGE_CONF_DIR}/config.ini.d/
-%{__cp} $RPM_BUILD_ROOT%{GFORGE_DIR}/plugins/*/etc/cron.d/* $RPM_BUILD_ROOT%{_sysconfdir}/cron.d/
-%{__cp} -rp $RPM_BUILD_ROOT%{GFORGE_DIR}/plugins/*/etc/plugins/* $RPM_BUILD_ROOT%{GFORGE_CONF_DIR}/plugins/
-%{__rm} -f $RPM_BUILD_ROOT%{GFORGE_DIR}/plugins/README
+# plugin: authcas
+%{__ln_s} ../../plugins/authcas/www $RPM_BUILD_ROOT%{FORGE_DIR}/www/plugins/authcas
-# plugin: aselectextauth
+# plugin: authhttpd
+%{__ln_s} ../../plugins/authhttpd/www $RPM_BUILD_ROOT%{FORGE_DIR}/www/plugins/authhttpd
+
+# plugin: authopenid
+# %{__ln_s} ../../plugins/authopenid/www $RPM_BUILD_ROOT%{FORGE_DIR}/www/plugins/authopenid
+
+# plugin: compactpreview
+%{__ln_s} ../../plugins/compactpreview/www $RPM_BUILD_ROOT%{FORGE_DIR}/www/plugins/compactpreview
# plugin: cvssyncmail
# plugin: cvstracker
+%{__ln_s} ../../plugins/cvstracker/www $RPM_BUILD_ROOT%{FORGE_DIR}/www/plugins/cvstracker
# delete stuff that is clearly outdated/obsolete so we don't package this and confuse others
-%{__rm} -f $RPM_BUILD_ROOT%{GFORGE_DIR}/plugins/cvstracker/httpd.conf
-%{__rm} -f $RPM_BUILD_ROOT%{GFORGE_DIR}/plugins/cvstracker/Makefile
-%{__rm} -rf $RPM_BUILD_ROOT%{GFORGE_DIR}/plugins/cvstracker/rpm-specific
+%{__rm} -f $RPM_BUILD_ROOT%{FORGE_DIR}/plugins/cvstracker/httpd.conf
+%{__rm} -f $RPM_BUILD_ROOT%{FORGE_DIR}/plugins/cvstracker/Makefile
+%{__rm} -rf $RPM_BUILD_ROOT%{FORGE_DIR}/plugins/cvstracker/rpm-specific
# plugin: externalsearch
+# plugin: extsubproj
+%{__ln_s} ../../plugins/extsubproj/www $RPM_BUILD_ROOT%{FORGE_DIR}/www/plugins/extsubproj
+
# plugin: fckeditor
+%{__ln_s} ../../plugins/fckeditor/www $RPM_BUILD_ROOT%{FORGE_DIR}/www/plugins/fckeditor
-# plugin: ldapextauth
-%{__rm} -rf $RPM_BUILD_ROOT%{GFORGE_DIR}/plugins/ldapextauth/rpm-specific
+# plugin: forumml
+# %{__ln_s} ../../plugins/forumml/www $RPM_BUILD_ROOT%{FORGE_DIR}/www/plugins/forumml
-# plugin: mantis
+# plugin: hudson
+%{__ln_s} ../../plugins/hudson/www $RPM_BUILD_ROOT%{FORGE_DIR}/www/plugins/hudson
# plugin: mediawiki
+%{__ln_s} ../../plugins/mediawiki/www $RPM_BUILD_ROOT%{FORGE_DIR}/www/plugins/mediawiki
# create symlink for apache configuration for mediawiki plugin
## first, delete the php_admin_value include_path
-%{__sed} -i -e "/^.*php_admin_value[[:space:]]*include_path.*/d" $RPM_BUILD_ROOT%{GFORGE_DIR}/plugins/mediawiki/etc/httpd.d/61plugin-mediawiki
-%{__ln_s} %{GFORGE_DIR}/plugins/mediawiki/etc/httpd.d/61plugin-mediawiki $RPM_BUILD_ROOT%{GFORGE_CONF_DIR}/httpd.d/03mediawiki.conf
+%{__sed} -i -e "/^.*php_admin_value[[:space:]]*include_path.*/d" $RPM_BUILD_ROOT%{FORGE_DIR}/plugins/mediawiki/etc/httpd.d/61plugin-mediawiki
+%{__ln_s} %{FORGE_DIR}/plugins/mediawiki/etc/httpd.d/61plugin-mediawiki $RPM_BUILD_ROOT%{FORGE_CONF_DIR}/httpd.d/03mediawiki.conf
# this is pre-activated, so create the config symlink
-#%{__ln_s} %{GFORGE_DIR}/plugins/mediawiki/etc/plugins/mediawiki $RPM_BUILD_ROOT%{GFORGE_CONF_DIR}/plugins/mediawiki
+#%{__ln_s} %{FORGE_DIR}/plugins/mediawiki/etc/plugins/mediawiki $RPM_BUILD_ROOT%{FORGE_CONF_DIR}/plugins/mediawiki
# create symlinks to use MonoBook as the GForge skin
%{__ln_s} monobook $RPM_BUILD_ROOT/usr/share/mediawiki/skins/gforge
%{__ln_s} MonoBook.deps.php $RPM_BUILD_ROOT/usr/share/mediawiki/skins/GForge.deps.php
%{__ln_s} MonoBook.php $RPM_BUILD_ROOT/usr/share/mediawiki/skins/GForge.php
# sort out the GForge skin files and remove obsolete code
-%{__rm} -rf $RPM_BUILD_ROOT%{GFORGE_DIR}/plugins/mediawiki/mediawiki-skin
-%{__rm} -rf $RPM_BUILD_ROOT%{GFORGE_DIR}/plugins/mediawiki/usr/share/gforge
-%{__rm} -rf $RPM_BUILD_ROOT%{GFORGE_DIR}/plugins/mediawiki/usr/share/mediawiki/skins
+%{__rm} -rf $RPM_BUILD_ROOT%{FORGE_DIR}/plugins/mediawiki/mediawiki-skin
+%{__rm} -rf $RPM_BUILD_ROOT%{FORGE_DIR}/plugins/mediawiki/usr/share/gforge
+%{__rm} -rf $RPM_BUILD_ROOT%{FORGE_DIR}/plugins/mediawiki/usr/share/mediawiki/skins
# insert our own LocalSettings.php
-#%{__cp} -f %{SOURCE2} $RPM_BUILD_ROOT%{GFORGE_DIR}/plugins/mediawiki/usr/share/mediawiki/LocalSettings.php
+#%{__cp} -f %{SOURCE2} $RPM_BUILD_ROOT%{FORGE_DIR}/plugins/mediawiki/usr/share/mediawiki/LocalSettings.php
# insert our own README file
-%{__cp} -f %{SOURCE1} $RPM_BUILD_ROOT%{GFORGE_DIR}/plugins/mediawiki/README.jlbond
+%{__cp} -f %{SOURCE1} $RPM_BUILD_ROOT%{FORGE_DIR}/plugins/mediawiki/README.jlbond
+
+# plugin: moinmoin
+%{__ln_s} ../../plugins/moinmoin/www $RPM_BUILD_ROOT%{FORGE_DIR}/www/plugins/moinmoin
+
+# plugin: message
+%{__ln_s} ../../plugins/message/www $RPM_BUILD_ROOT%{FORGE_DIR}/www/plugins/message
# plugin: online_help
+%{__ln_s} ../../plugins/online_help/www $RPM_BUILD_ROOT%{FORGE_DIR}/www/plugins/online_help
-# plugin: projects_hierarchy
+# plugin: projects-hierarchy
+# %{__ln_s} ../../plugins/projects-hierarchy/www $RPM_BUILD_ROOT%{FORGE_DIR}/www/plugins/projects-hierarchy
# plugin: quota_management
+%{__ln_s} ../../plugins/quota_management/www $RPM_BUILD_ROOT%{FORGE_DIR}/www/plugins/quota_management
# plugin: scmarch
# plugin: scmccase
# plugin: scmcvs
-%{__ln_s} ../../plugins/scmcvs $RPM_BUILD_ROOT%{GFORGE_DIR}/www/plugins/scmcvs
+%{__ln_s} ../../plugins/scmcvs $RPM_BUILD_ROOT%{FORGE_DIR}/www/plugins/scmcvs
%{__install} -m 644 plugins/scmcvs/cron.d/%{name}-plugin-scmcvs $RPM_BUILD_ROOT%{_sysconfdir}/cron.d
# plugin: scmdarcs
# plugin: scmsvn
# this is pre-activated, so create the config symlink
-%{__ln_s} ../../plugins/scmsvn $RPM_BUILD_ROOT%{GFORGE_DIR}/www/plugins/scmsvn
+%{__ln_s} ../../plugins/scmsvn/www $RPM_BUILD_ROOT%{FORGE_DIR}/www/plugins/scmsvn
# plugin: scmgit
-%{__ln_s} ../../plugins/scmgit $RPM_BUILD_ROOT%{GFORGE_DIR}/www/plugins/scmgit
+%{__ln_s} ../../plugins/scmgit/www $RPM_BUILD_ROOT%{FORGE_DIR}/www/plugins/scmgit
+%{__install} -m 755 -d $RPM_BUILD_ROOT%{FORGE_DIR}/plugins/scmgit/www/cgi-bin
+%{__ln_s} /usr/share/gitweb/gitweb.cgi $RPM_BUILD_ROOT%{FORGE_DIR}/plugins/scmgit/www/cgi-bin/gitweb.cgi
+%{__ln_s} /usr/share/gitweb/static/gitweb.css $RPM_BUILD_ROOT%{FORGE_DIR}/plugins/scmgit/www/gitweb.css
+%{__ln_s} /usr/share/gitweb/static/gitweb.js $RPM_BUILD_ROOT%{FORGE_DIR}/plugins/scmgit/www/gitweb.js
# plugin: scmhg
# plugin: svncommitemail
# plugin: svntracker
+%{__ln_s} ../../plugins/svntracker/www $RPM_BUILD_ROOT%{FORGE_DIR}/www/plugins/svntracker
# install crontab
%{__install} -m 644 plugins/svntracker/rpm-specific/cron.d/gforge-plugin-svntracker $RPM_BUILD_ROOT%{_sysconfdir}/cron.d
# plugin: blocks
-%{__ln_s} ../../plugins/blocks/www/ $RPM_BUILD_ROOT%{GFORGE_DIR}/www/plugins/blocks
+%{__ln_s} ../../plugins/blocks/www $RPM_BUILD_ROOT%{FORGE_DIR}/www/plugins/blocks
# plugin: extratabs
-%{__ln_s} ../../plugins/extratabs/www/ $RPM_BUILD_ROOT%{GFORGE_DIR}/www/plugins/extratabs
+%{__ln_s} ../../plugins/extratabs/www $RPM_BUILD_ROOT%{FORGE_DIR}/www/plugins/extratabs
# plugin: wiki
-%{__ln_s} ../../plugins/wiki/www/ $RPM_BUILD_ROOT%{GFORGE_DIR}/www/wiki
+%{__ln_s} ../plugins/wiki/www $RPM_BUILD_ROOT%{FORGE_DIR}/www/wiki
+
+# plugin: oslc
+%{__ln_s} ../../plugins/oslc/www $RPM_BUILD_ROOT%{FORGE_DIR}/www/plugins/oslc
+
+# plugin : projectimport
+%{__ln_s} ../../plugins/projectimport/www $RPM_BUILD_ROOT%{FORGE_DIR}/www/plugins/projectimport
# plugin: projectlabels
-%{__ln_s} ../../plugins/projectlabels/www/ $RPM_BUILD_ROOT%{GFORGE_DIR}/www/plugins/projectlabels
+%{__ln_s} ../../plugins/projectlabels/www $RPM_BUILD_ROOT%{FORGE_DIR}/www/plugins/projectlabels
# plugin: contribtracker
-%{__ln_s} ../../plugins/contribtracker/www/ $RPM_BUILD_ROOT%{GFORGE_DIR}/www/plugins/contribtracker
+%{__ln_s} ../../plugins/contribtracker/www $RPM_BUILD_ROOT%{FORGE_DIR}/www/plugins/contribtracker
# plugin: globalsearch
-%{__ln_s} ../../plugins/globalsearch/www/ $RPM_BUILD_ROOT%{GFORGE_DIR}/www/plugins/globalsearch
+%{__ln_s} ../../plugins/globalsearch/www $RPM_BUILD_ROOT%{FORGE_DIR}/www/plugins/globalsearch
+
+# plugin: mailman
+# %{__ln_s} ../../plugins/mailman/www $RPM_BUILD_ROOT%{FORGE_DIR}/www/plugins/mailman
# plugin: mantisbt
-%{__ln_s} ../../plugins/mantisbt/www/ $RPM_BUILD_ROOT%{GFORGE_DIR}/www/plugins/mantisbt
+# %{__ln_s} ../../plugins/mantisbt/www $RPM_BUILD_ROOT%{FORGE_DIR}/www/plugins/mantisbt
+
+# plugin: oauthprovider
+#%{__ln_s} ../../plugins/oauthprovider/www $RPM_BUILD_ROOT%{FORGE_DIR}/www/plugins/oauthprovider
+
### END OF PLUGIN SETUP ###
if [ `/usr/bin/getent passwd | /bin/cut -d: -f1 | /bin/grep -c %{gfuser}` -eq 0 ] ; then
echo "Did not find existing fusionforge user. Adding fusionforge group and user..." >>/var/log/%{name}-install.log 2>&1
/usr/sbin/groupadd -r %{gfgroup}
- /usr/sbin/useradd -r -g %{gfgroup} -d %{GFORGE_DIR} -s /bin/bash -c "FusionForge User" %{gfuser}
+ /usr/sbin/useradd -r -g %{gfgroup} -d %{FORGE_DIR} -s /bin/bash -c "FusionForge User" %{gfuser}
fi
fi
if [ $ret -ne 0 ] ; then
FFORGE_DB=%{dbname}
FFORGE_USER=%{dbuser}
- FFORGE_ADMIN_USER=%{fforge_admin}
- FFORGE_ADMIN_PASSWORD=%{fforge_passwd}
+ if [ "x${FFORGE_ADMIN_USER}" = "x" ]
+ then
+ FFORGE_ADMIN_USER=%{fforge_admin}
+ fi
+ if [ "x${FFORGE_ADMIN_PASSWORD}" = "x" ]
+ then
+ FFORGE_ADMIN_PASSWORD=$(/bin/dd if=/dev/urandom bs=32 count=1 2>/dev/null | /usr/bin/sha1sum | cut -c1-8)
+ fi
export FFORGE_DB FFORGE_USER FFORGE_ADMIN_USER FFORGE_ADMIN_PASSWORD
- /usr/bin/php %{GFORGE_DIR}/fusionforge-install-3-db.php >>/var/log/%{name}-install.log 2>&1
+ /bin/sh %{FORGE_DIR}/install-ng --database >>/var/log/%{name}-install.log 2>&1
else
echo "Database %{dbname} already exists. Will not proceed with database setup." >>/var/log/%{name}-install.log 2>&1
- echo "Please see %{GFORGE_DIR}/fusionforge-install-3-db.php and run it manually" >>/var/log/%{name}-install.log 2>&1
+ echo "Please see %{FORGE_DIR}/install-ng --database and run it manually" >>/var/log/%{name}-install.log 2>&1
echo "if deemed necessary." >>/var/log/%{name}-install.log 2>&1
fi
- /usr/bin/php %{GFORGE_DIR}/db/upgrade-db.php >>/var/log/%{name}-install.log 2>&1
- /usr/bin/php %{GFORGE_DIR}/fusionforge-install-4-config.php >>/var/log/%{name}-install.log 2>&1
+ /usr/bin/php %{FORGE_DIR}/db/upgrade-db.php >>/var/log/%{name}-install.log 2>&1
+ /usr/bin/php %{FORGE_DIR}/utils/normalize_roles.php >>/var/log/%{name}-install.log 2>&1
HOSTNAME=`hostname -f`
- %{__sed} -i -e "s!gforge.company.com!$HOSTNAME!g" %{GFORGE_CONF_DIR}/local.inc
- %{__sed} -i -e "s!gforge.company.com!$HOSTNAME!g" /etc/httpd/conf.d/gforge.conf
+ #%{__sed} -i -e "s!gforge.company.com!$HOSTNAME!g" %{FORGE_CONF_DIR}/local.inc
+ #%{__sed} -i -e "s!gforge.company.com!$HOSTNAME!g" /etc/httpd/conf.d/gforge.conf
+ [ -d %{FORGE_VAR_LIB}/etc ] || mkdir %{FORGE_VAR_LIB}/etc
+ touch %{FORGE_VAR_LIB}/etc/httpd.vhosts
+
+ /bin/sh %{FORGE_DIR}/install-ng --config >>/var/log/%{name}-install.log 2>&1
/etc/init.d/httpd restart >/dev/null 2>&1
+ chkconfig postgresql on >/dev/null 2>&1
+
# generate random hash for session_key
HASH=$(/bin/dd if=/dev/urandom bs=32 count=1 2>/dev/null | /usr/bin/sha1sum | cut -c1-40)
- %{__sed} -i -e "s/sys_session_key = 'foobar'/sys_session_key = '$HASH'/g" %{GFORGE_CONF_DIR}/local.inc
+ #%{__sed} -i -e "s/sys_session_key = 'foobar'/sys_session_key = '$HASH'/g" %{FORGE_CONF_DIR}/local.inc
# add noreply mail alias
echo "noreply: /dev/null" >> /etc/aliases
/usr/bin/newaliases >/dev/null 2>&1
- # display message about default admin account
- echo ""
- echo "You can now connect to your FusionForge installation using:"
- echo ""
- echo " http://$HOSTNAME/"
- echo ""
- echo "The default fusionforge administrator account and password is:"
- echo ""
- echo "Account Name = %{fforge_admin}"
- echo "Password = %{fforge_passwd}"
- #echo "Please change it to something appropriate upon initial login."
- # give user a few seconds to read the message
- sleep 10
+ if [ $ret -ne 0 ] ; then
+ # display message about default admin account
+ echo ""
+ echo "You can now connect to your FusionForge installation using:"
+ echo ""
+ echo " http://$HOSTNAME/"
+ echo ""
+ echo "The FusionForge administrator account and password is:"
+ echo ""
+ echo "Account Name = $FFORGE_ADMIN_USER"
+ echo "Password = $FFORGE_ADMIN_PASSWORD"
+ #echo "Please change it to something appropriate upon initial login."
+ # give user a few seconds to read the message
+ sleep 10
+ fi
else
- /usr/bin/php %{GFORGE_DIR}/db/upgrade-db.php >>/var/log/%{name}-upgrade.log 2>&1
+ /usr/bin/php %{FORGE_DIR}/db/upgrade-db.php >>/var/log/%{name}-upgrade.log 2>&1
fi
%preun
fi
fi
-%post aselectextauth
-/usr/bin/psql -U %{dbuser} %{dbname} -f %{GFORGE_DIR}/plugins/aselectextauth/db/install_aselectextauth.psql
+%post plugin-aselectextauth
+/usr/bin/psql -U %{dbuser} %{dbname} -f %{FORGE_DIR}/plugins/aselectextauth/db/install_aselectextauth.psql
-%preun aselectextauth
-/usr/bin/psql -U %{dbuser} %{dbname} -f %{GFORGE_DIR}/plugins/aselectextauth/db/uninstall_aselectextauth.psql
+%preun plugin-aselectextauth
+/usr/bin/psql -U %{dbuser} %{dbname} -f %{FORGE_DIR}/plugins/aselectextauth/db/uninstall_aselectextauth.psql
%clean
[ "$RPM_BUILD_ROOT" != "/" ] && %{__rm} -rf $RPM_BUILD_ROOT
%defattr(-, root, root)
%doc AUTHORS* CHANGES COPYING INSTALL* NEWS README*
%doc docs/*
-%attr(0660, %{httpduser}, gforge) %config(noreplace) %{GFORGE_CONF_DIR}/local.inc
-%attr(0640, %{httpduser}, %{httpdgroup}) %config(noreplace) %{_sysconfdir}/httpd/conf.d/gforge.conf
+#%attr(0660, %{httpduser}, gforge) %config(noreplace) %{FORGE_CONF_DIR}/local.inc
+#%attr(0640, %{httpduser}, %{httpdgroup}) %config(noreplace) %{_sysconfdir}/httpd/conf.d/gforge.conf
%attr(0644, root, root) %{_sysconfdir}/cron.d/%{name}
-%attr(0775, %{httpduser}, %{httpdgroup}) %dir %{GFORGE_VAR_LIB}/upload
-%attr(755, root, %{httpdgroup}) %dir %{GFORGE_DIR}
-# Files under %{GFORGE_DIR}
-%{GFORGE_DIR}/AUTHORS*
-%{GFORGE_DIR}/CHANGES
-%{GFORGE_DIR}/COPYING
-%{GFORGE_DIR}/INSTALL*
-%{GFORGE_DIR}/NEWS
-%{GFORGE_DIR}/README*
-%{GFORGE_DIR}/fusionforge.spec
-%{GFORGE_DIR}/fusionforge-install*
-%{GFORGE_DIR}/gforge-restricted.sh
-%{GFORGE_DIR}/install.sh
-%{GFORGE_DIR}/install-common.inc
-%{GFORGE_DIR}/jpgraph
-# Directories under %{GFORGE_DIR}
-%{GFORGE_DIR}/backend
-%{GFORGE_DIR}/common
-%{GFORGE_DIR}/contrib
-%{GFORGE_DIR}/cronjobs
-%{GFORGE_DIR}/db
-%{GFORGE_DIR}/docs
-%{GFORGE_DIR}/etc
-%{GFORGE_DIR}/image-sources
-%{GFORGE_DIR}/lib
-%{GFORGE_DIR}/locales
-%{GFORGE_DIR}/monitor
-%{GFORGE_DIR}/translations
-%{GFORGE_DIR}/utils
-%{GFORGE_DIR}/setup
-%dir %{GFORGE_DIR}/www
-# files under %{GFORGE_DIR}/www
-%{GFORGE_DIR}/www/*.php
-%{GFORGE_DIR}/www/users
-%{GFORGE_DIR}/www/favicon.ico
-%{GFORGE_DIR}/www/projects
-# directories under %{GFORGE_DIR}/www
-%{GFORGE_DIR}/www/account
-%{GFORGE_DIR}/www/activity
-%{GFORGE_DIR}/www/admin
-%{GFORGE_DIR}/www/developer
-%{GFORGE_DIR}/www/docman
-%{GFORGE_DIR}/www/export
-%{GFORGE_DIR}/www/forum
-%{GFORGE_DIR}/www/frs
-%{GFORGE_DIR}/www/images
-%{GFORGE_DIR}/www/include
-%{GFORGE_DIR}/www/jscook
-%{GFORGE_DIR}/www/js
-%{GFORGE_DIR}/www/mail
-%{GFORGE_DIR}/www/my
-%{GFORGE_DIR}/www/new
-%{GFORGE_DIR}/www/news
-%{GFORGE_DIR}/www/people
-%{GFORGE_DIR}/www/pm
-%{GFORGE_DIR}/www/project
-%{GFORGE_DIR}/www/register
-%{GFORGE_DIR}/www/reporting
-%{GFORGE_DIR}/www/scm
-%{GFORGE_DIR}/www/scripts
-%{GFORGE_DIR}/www/search
-%{GFORGE_DIR}/www/snippet
-%{GFORGE_DIR}/www/soap
-%{GFORGE_DIR}/www/softwaremap
-%{GFORGE_DIR}/www/squal
-%{GFORGE_DIR}/www/stats
-%{GFORGE_DIR}/www/survey
-%{GFORGE_DIR}/www/tabber
-%{GFORGE_DIR}/www/themes
-%{GFORGE_DIR}/www/top
-%{GFORGE_DIR}/www/tracker
-%{GFORGE_DIR}/www/trove
-%{GFORGE_DIR}/www/widgets
-#%{GFORGE_DIR}/www/plugins/online_help
-#%{GFORGE_DIR}/www/plugins/projects_hierarchy
-#%{GFORGE_DIR}/www/plugins/quota_management
-%dir %{GFORGE_DIR}/plugins
-%{GFORGE_DIR}/plugins/env.inc.php
-#%{GFORGE_DIR}/plugins/online_help
-#%{GFORGE_DIR}/plugins/projects_hierarchy
-#%{GFORGE_DIR}/plugins/quota_management
-%{GFORGE_LANG_DIR}
-%dir %{GFORGE_CONF_DIR}
-%config(noreplace) %{GFORGE_CONF_DIR}/httpd.secrets
-%dir %{GFORGE_CONF_DIR}/httpd.d
-%dir %attr(0775,root,%{httpdgroup}) %{GFORGE_CONF_DIR}/plugins
-%dir %{GFORGE_VAR_LIB}/scmtarballs
-%dir %{GFORGE_VAR_LIB}/scmsnapshots
-%dir %{GFORGE_VAR_LIB}/dumps
-%{GFORGE_VAR_LIB}/homedirs
+%attr(0775, %{httpduser}, %{httpdgroup}) %dir %{FORGE_VAR_LIB}/upload
+%attr(755, root, %{httpdgroup}) %dir %{FORGE_DIR}
+# Files under %{FORGE_DIR}
+%{FORGE_DIR}/AUTHORS*
+%{FORGE_DIR}/CHANGES
+%{FORGE_DIR}/COPYING
+%{FORGE_DIR}/INSTALL*
+%{FORGE_DIR}/NEWS
+%{FORGE_DIR}/README*
+%{FORGE_DIR}/fusionforge.spec
+%{FORGE_DIR}/install-ng
+# Directories under %{FORGE_DIR}
+%{FORGE_DIR}/backend
+%{FORGE_DIR}/common
+#%{FORGE_DIR}/contrib
+%{FORGE_DIR}/cronjobs
+%{FORGE_DIR}/db
+%{FORGE_DIR}/docs
+%{FORGE_DIR}/etc
+%{FORGE_DIR}/image-sources
+%{FORGE_DIR}/install
+%{FORGE_DIR}/lib
+%{FORGE_DIR}/locales
+%{FORGE_DIR}/monitor
+%{FORGE_DIR}/translations
+%{FORGE_DIR}/utils
+#%{FORGE_DIR}/setup
+%dir %{FORGE_DIR}/www
+# files under %{FORGE_DIR}/www
+%{FORGE_DIR}/www/*.php
+%{FORGE_DIR}/www/users
+%{FORGE_DIR}/www/favicon.ico
+%{FORGE_DIR}/www/projects
+# directories under %{FORGE_DIR}/www
+%{FORGE_DIR}/www/account
+%{FORGE_DIR}/www/activity
+%{FORGE_DIR}/www/admin
+%{FORGE_DIR}/www/developer
+%{FORGE_DIR}/www/docman
+%{FORGE_DIR}/www/DTD
+%{FORGE_DIR}/www/export
+%{FORGE_DIR}/www/forum
+%{FORGE_DIR}/www/frs
+%{FORGE_DIR}/www/images
+%{FORGE_DIR}/www/include
+%{FORGE_DIR}/www/js
+%{FORGE_DIR}/www/mail
+%{FORGE_DIR}/www/my
+%{FORGE_DIR}/www/new
+%{FORGE_DIR}/www/news
+%{FORGE_DIR}/www/people
+%{FORGE_DIR}/www/plugins
+%{FORGE_DIR}/www/pm
+%{FORGE_DIR}/www/project
+%{FORGE_DIR}/www/register
+%{FORGE_DIR}/www/reporting
+%{FORGE_DIR}/www/scm
+%{FORGE_DIR}/www/scripts
+%{FORGE_DIR}/www/search
+%{FORGE_DIR}/www/snippet
+%{FORGE_DIR}/www/soap
+%{FORGE_DIR}/www/softwaremap
+%{FORGE_DIR}/www/squal
+%{FORGE_DIR}/www/stats
+%{FORGE_DIR}/www/support
+%{FORGE_DIR}/www/survey
+%{FORGE_DIR}/www/tabber
+%{FORGE_DIR}/www/themes
+%{FORGE_DIR}/www/top
+%{FORGE_DIR}/www/tracker
+%{FORGE_DIR}/www/trove
+%{FORGE_DIR}/www/widgets
+#%{FORGE_DIR}/www/plugins/online_help
+#%{FORGE_DIR}/www/plugins/projects-hierarchy
+#%{FORGE_DIR}/www/plugins/quota_management
+%dir %{FORGE_DIR}/plugins
+%{FORGE_DIR}/plugins/env.inc.php
+#%{FORGE_DIR}/plugins/online_help
+#%{FORGE_DIR}/plugins/projects-hierarchy
+#%{FORGE_DIR}/plugins/quota_management
+%{FORGE_LANG_DIR}
+%dir %{FORGE_CONF_DIR}
+#%config(noreplace) %{FORGE_CONF_DIR}/httpd.secrets
+%dir %{FORGE_CONF_DIR}/httpd.d
+%dir %{FORGE_CONF_DIR}/httpd.conf.d
+%{FORGE_CONF_DIR}/httpd.conf.d/*
+%{_sysconfdir}/httpd/conf.d/gforge.conf
+%{FORGE_CONF_DIR}/config.ini.d/defaults.ini
+%{FORGE_CONF_DIR}/config.ini.d/debug.ini
+%{FORGE_CONF_DIR}/config.ini
+%dir %attr(0775,root,%{httpdgroup}) %{FORGE_CONF_DIR}/plugins
+%dir %{FORGE_VAR_LIB}/scmtarballs
+%dir %{FORGE_VAR_LIB}/scmsnapshots
+%dir %{FORGE_VAR_LIB}/dumps
+%{FORGE_VAR_LIB}/homedirs
/home/groups
+/var/log/gforge
/bin/cvssh.pl
+%config(noreplace) %{FORGE_CONF_DIR}/config.ini.d/authbuiltin.ini
+%{FORGE_DIR}/plugins/authbuiltin
+
+%files plugin-aselectextauth
+%config(noreplace) %{FORGE_CONF_DIR}/config.ini.d/aselectextauth.ini
+%{FORGE_DIR}/plugins/aselectextauth
+
+%files plugin-authcas
+%config(noreplace) %{FORGE_CONF_DIR}/config.ini.d/authcas.ini
+%{FORGE_DIR}/plugins/authcas
+%{FORGE_DIR}/www/plugins/authcas
-%files aselectextauth
-%{GFORGE_DIR}/plugins/aselectextauth
+%files plugin-authhttpd
+%config(noreplace) %{FORGE_CONF_DIR}/config.ini.d/authhttpd.ini
+%{FORGE_DIR}/plugins/authhttpd
+%{FORGE_DIR}/www/plugins/authhttpd
+
+# %files plugin-authopenid
+# %config(noreplace) %{FORGE_CONF_DIR}/config.ini.d/authopenid.ini
+# %{FORGE_DIR}/plugins/authopenid
+
+%files plugin-ckeditor
+%{FORGE_DIR}/plugins/ckeditor
%files plugin-cvssyncmail
-%{GFORGE_DIR}/plugins/cvssyncmail
+%config(noreplace) %{FORGE_CONF_DIR}/config.ini.d/cvssyncmail.ini
+%{FORGE_DIR}/plugins/cvssyncmail
+
+%files plugin-cvstracker
+%config(noreplace) %{FORGE_CONF_DIR}/config.ini.d/cvstracker.ini
+%{FORGE_DIR}/plugins/cvstracker
+%{FORGE_DIR}/www/plugins/cvstracker
+%attr(-,%{httpduser},%{httpdgroup}) %{FORGE_CONF_DIR}/plugins/cvstracker
+
+%files plugin-compactpreview
+%config(noreplace) %{FORGE_CONF_DIR}/config.ini.d/compactpreview.ini
+%{FORGE_DIR}/plugins/compactpreview
%files plugin-cvstracker
-%{GFORGE_DIR}/plugins/cvstracker
-%{GFORGE_DIR}/www/plugins/cvstracker
-%attr(-,%{httpduser},%{httpdgroup}) %{GFORGE_CONF_DIR}/plugins/cvstracker
+%config(noreplace) %{FORGE_CONF_DIR}/config.ini.d/cvstracker.ini
+%{FORGE_DIR}/plugins/cvstracker
+%{FORGE_DIR}/www/plugins/cvstracker
+%attr(-,%{httpduser},%{httpdgroup}) %{FORGE_CONF_DIR}/plugins/cvstracker
+
+%files plugin-doaprdf
+%config(noreplace) %{FORGE_CONF_DIR}/config.ini.d/doaprdf.ini
+%{FORGE_DIR}/plugins/doaprdf
%files plugin-externalsearch
-%config(noreplace) %{GFORGE_CONF_DIR}/plugins/externalsearch/
-%config(noreplace) %{GFORGE_CONF_DIR}/config.ini.d/externalsearch.ini
-%{GFORGE_DIR}/plugins/externalsearch
+%config(noreplace) %{FORGE_CONF_DIR}/plugins/externalsearch/
+%config(noreplace) %{FORGE_CONF_DIR}/config.ini.d/externalsearch.ini
+%{FORGE_DIR}/plugins/externalsearch
+
+%files plugin-extsubproj
+%config(noreplace) %{FORGE_CONF_DIR}/config.ini.d/extsubproj.ini
+%{FORGE_DIR}/plugins/extsubproj
%files plugin-fckeditor
-%{GFORGE_DIR}/plugins/fckeditor
-%{GFORGE_DIR}/www/plugins/fckeditor
+%config(noreplace) %{FORGE_CONF_DIR}/config.ini.d/fckeditor.ini
+%{FORGE_DIR}/plugins/fckeditor
+%{FORGE_DIR}/www/plugins/fckeditor
+
+# %files plugin-forumml
+# %config(noreplace) %{FORGE_CONF_DIR}/config.ini.d/forumml.ini
+# %{FORGE_DIR}/plugins/forumml
+# %{FORGE_DIR}/www/plugins/forumml
%files plugin-gravatar
-%{GFORGE_DIR}/plugins/gravatar
+%config(noreplace) %{FORGE_CONF_DIR}/config.ini.d/gravatar.ini
+%{FORGE_DIR}/plugins/gravatar
-%files plugin-ldapextauth
-%config(noreplace) %{GFORGE_CONF_DIR}/plugins/ldapextauth/
-%{GFORGE_DIR}/plugins/ldapextauth
+%files plugin-hudson
+%config(noreplace) %{FORGE_CONF_DIR}/plugins/hudson/
+%config(noreplace) %{FORGE_CONF_DIR}/config.ini.d/hudson.ini
+%{FORGE_CONF_DIR}/httpd.d/62plugin-hudson
+%{FORGE_DIR}/plugins/hudson
+%{FORGE_DIR}/www/plugins/hudson
-%files plugin-mantis
-%config(noreplace) %{GFORGE_CONF_DIR}/plugins/mantis/
-%config(noreplace) %{GFORGE_CONF_DIR}/config.ini.d/mantis.ini
-%{GFORGE_DIR}/plugins/mantis
-%{GFORGE_DIR}/www/plugins/mantis
+%files plugin-authldap
+%config(noreplace) %{FORGE_CONF_DIR}/config.ini.d/authldap.ini
+%{FORGE_DIR}/plugins/authldap
%files plugin-mediawiki
-%config(noreplace) %{GFORGE_CONF_DIR}/config.ini.d/mediawiki.ini
-%config(noreplace) %{GFORGE_CONF_DIR}/httpd.d/03mediawiki.conf
-%{GFORGE_DIR}/plugins/mediawiki/
-%{GFORGE_DIR}/www/plugins/mediawiki
+%config(noreplace) %{FORGE_CONF_DIR}/config.ini.d/mediawiki.ini
+%config(noreplace) %{FORGE_CONF_DIR}/httpd.d/03mediawiki.conf
+%{FORGE_CONF_DIR}/httpd.d/61plugin-mediawiki
+%{FORGE_DIR}/plugins/mediawiki/
+%{FORGE_DIR}/www/plugins/mediawiki
/usr/share/mediawiki/skins/gforge
/usr/share/mediawiki/skins/GForge.deps.php
/usr/share/mediawiki/skins/GForge.php
-%files plugin-online_help
-%{GFORGE_DIR}/plugins/online_help
-%{GFORGE_DIR}/www/plugins/online_help
+%files plugin-moinmoin
+%config(noreplace) %{FORGE_CONF_DIR}/config.ini.d/moinmoin.ini
+%{FORGE_DIR}/plugins/moinmoin/
+%{FORGE_DIR}/www/plugins/moinmoin
-%files plugin-projects_hierarchy
-%{GFORGE_DIR}/plugins/projects_hierarchy
-%{GFORGE_DIR}/www/plugins/projects_hierarchy
+%files plugin-message
+%{FORGE_DIR}/plugins/message
+%{FORGE_DIR}/www/plugins/message
+
+%files plugin-online_help
+%config(noreplace) %{FORGE_CONF_DIR}/config.ini.d/online_help.ini
+%{FORGE_DIR}/plugins/online_help
+%{FORGE_DIR}/www/plugins/online_help
+
+%files plugin-oslc
+%config(noreplace) %{FORGE_CONF_DIR}/plugins/oslc/
+%config(noreplace) %{FORGE_CONF_DIR}/config.ini.d/oslc.ini
+%{FORGE_CONF_DIR}/httpd.d/plugin-oslc.inc
+%{FORGE_DIR}/plugins/oslc
+%{FORGE_DIR}/www/plugins/oslc
+
+%files plugin-projectimport
+%config(noreplace) %{FORGE_CONF_DIR}/plugins/projectimport/
+%config(noreplace) %{FORGE_CONF_DIR}/config.ini.d/projectimport.ini
+%{FORGE_DIR}/plugins/projectimport
+%{FORGE_DIR}/www/plugins/projectimport
+
+# %files plugin-projects-hierarchy
+# %config(noreplace) %{FORGE_CONF_DIR}/config.ini.d/projects-hierarchy.ini
+# %{FORGE_DIR}/plugins/projects-hierarchy
+# %{FORGE_DIR}/www/plugins/projects-hierarchy
%files plugin-quota_management
-%{GFORGE_DIR}/plugins/quota_management
-%{GFORGE_DIR}/www/plugins/quota_management
+%config(noreplace) %{FORGE_CONF_DIR}/config.ini.d/quota_management.ini
+%{FORGE_DIR}/plugins/quota_management
+%{FORGE_DIR}/www/plugins/quota_management
%files plugin-scmarch
-%config(noreplace) %{GFORGE_CONF_DIR}/plugins/scmarch/
-%config(noreplace) %{GFORGE_CONF_DIR}/config.ini.d/scmarch.ini
-%{GFORGE_DIR}/plugins/scmarch
+%config(noreplace) %{FORGE_CONF_DIR}/config.ini.d/scmarch.ini
+%{FORGE_DIR}/plugins/scmarch
%files plugin-scmbzr
-%config(noreplace) %{GFORGE_CONF_DIR}/plugins/scmbzr/
-%config(noreplace) %{GFORGE_CONF_DIR}/config.ini.d/scmbzr.ini
-%{GFORGE_DIR}/plugins/scmbzr
+%config(noreplace) %{FORGE_CONF_DIR}/plugins/scmbzr/
+%config(noreplace) %{FORGE_CONF_DIR}/config.ini.d/scmbzr.ini
+%{FORGE_DIR}/plugins/scmbzr
%files plugin-scmdarcs
-%config(noreplace) %{GFORGE_CONF_DIR}/plugins/scmdarcs/
-%config(noreplace) %{GFORGE_CONF_DIR}/config.ini.d/scmdarcs.ini
-%{GFORGE_DIR}/plugins/scmdarcs
+%config(noreplace) %{FORGE_CONF_DIR}/config.ini.d/scmdarcs.ini
+%{FORGE_DIR}/plugins/scmdarcs
%files plugin-scmgit
-%config(noreplace) %{GFORGE_CONF_DIR}/plugins/scmgit/
-%config(noreplace) %{GFORGE_CONF_DIR}/config.ini.d/scmgit.ini
-%{GFORGE_DIR}/plugins/scmgit
-%{GFORGE_DIR}/www/plugins/scmgit
+%config(noreplace) %{FORGE_CONF_DIR}/config.ini.d/scmgit.ini
+%{FORGE_DIR}/plugins/scmgit
+%{FORGE_DIR}/www/plugins/scmgit
%files plugin-scmhg
-%config(noreplace) %{GFORGE_CONF_DIR}/plugins/scmhg/
-%config(noreplace) %{GFORGE_CONF_DIR}/config.ini.d/scmhg.ini
-%{GFORGE_DIR}/plugins/scmhg
+%config(noreplace) %{FORGE_CONF_DIR}/config.ini.d/scmhg.ini
+%{FORGE_DIR}/plugins/scmhg
+
+%files plugin-scmhook
+%config(noreplace) %{FORGE_CONF_DIR}/config.ini.d/scmhook.ini
+%{FORGE_DIR}/plugins/scmhook
%files plugin-scmccase
-%config(noreplace) %{GFORGE_CONF_DIR}/plugins/scmccase/
-%config(noreplace) %{GFORGE_CONF_DIR}/config.ini.d/scmccase.ini
-%{GFORGE_DIR}/plugins/scmccase
+%config(noreplace) %{FORGE_CONF_DIR}/config.ini.d/scmccase.ini
+%{FORGE_DIR}/plugins/scmccase
%files plugin-scmcvs
-%config(noreplace) %{GFORGE_CONF_DIR}/plugins/scmcvs/
-%config(noreplace) %{GFORGE_CONF_DIR}/config.ini.d/scmcvs.ini
+%config(noreplace) %{FORGE_CONF_DIR}/plugins/scmcvs/
+%config(noreplace) %{FORGE_CONF_DIR}/config.ini.d/scmcvs.ini
%{_sysconfdir}/cron.d/%{name}-plugin-scmcvs
-%{GFORGE_DIR}/plugins/scmcvs
-%{GFORGE_DIR}/www/plugins/scmcvs
-%{GFORGE_VAR_LIB}/chroot/scmrepos/cvs
+%{FORGE_CONF_DIR}/httpd.d/30virtualcvs
+%{FORGE_CONF_DIR}/httpd.d/31virtualcvs.ssl
+%{FORGE_DIR}/plugins/scmcvs
+%{FORGE_DIR}/www/plugins/scmcvs
+%{FORGE_VAR_LIB}/chroot/scmrepos/cvs
%files plugin-scmsvn
-%config(noreplace) %{GFORGE_CONF_DIR}/plugins/scmsvn/
-%config(noreplace) %{GFORGE_CONF_DIR}/config.ini.d/scmsvn.ini
-%{GFORGE_DIR}/plugins/scmsvn
-%{GFORGE_DIR}/www/plugins/scmsvn
-%{GFORGE_VAR_LIB}/chroot/scmrepos/svn
+%config(noreplace) %{FORGE_CONF_DIR}/plugins/scmsvn/
+%config(noreplace) %{FORGE_CONF_DIR}/config.ini.d/scmsvn.ini
+%{FORGE_DIR}/plugins/scmsvn
+%{FORGE_DIR}/www/plugins/scmsvn
+%{FORGE_VAR_LIB}/chroot/scmrepos/svn
%files plugin-svncommitemail
-%{GFORGE_DIR}/plugins/svncommitemail
+%config(noreplace) %{FORGE_CONF_DIR}/config.ini.d/svncommitemail.ini
+%{FORGE_DIR}/plugins/svncommitemail
%files plugin-svntracker
-%config(noreplace) %{GFORGE_CONF_DIR}/plugins/svntracker/
+%config(noreplace) %{FORGE_CONF_DIR}/plugins/svntracker/
+%config(noreplace) %{FORGE_CONF_DIR}/config.ini.d/svntracker.ini
%{_sysconfdir}/cron.d/gforge-plugin-svntracker
-%{GFORGE_DIR}/plugins/svntracker
-%{GFORGE_DIR}/www/plugins/svntracker
+%{FORGE_DIR}/plugins/svntracker
+%{FORGE_DIR}/www/plugins/svntracker
%files plugin-blocks
-%config(noreplace) %{GFORGE_CONF_DIR}/plugins/blocks/
-%config(noreplace) %{GFORGE_CONF_DIR}/config.ini.d/blocks.ini
-%{GFORGE_DIR}/plugins/blocks
-%{GFORGE_DIR}/www/plugins/blocks
+%config(noreplace) %{FORGE_CONF_DIR}/plugins/blocks/
+%config(noreplace) %{FORGE_CONF_DIR}/config.ini.d/blocks.ini
+%{FORGE_DIR}/plugins/blocks
+%{FORGE_DIR}/www/plugins/blocks
%files plugin-extratabs
-%{GFORGE_DIR}/plugins/extratabs
-%{GFORGE_DIR}/www/plugins/extratabs
+%config(noreplace) %{FORGE_CONF_DIR}/config.ini.d/extratabs.ini
+%{FORGE_DIR}/plugins/extratabs
+%{FORGE_DIR}/www/plugins/extratabs
%files plugin-wiki
-%config(noreplace) %{GFORGE_CONF_DIR}/plugins/wiki/
+%config(noreplace) %{FORGE_CONF_DIR}/plugins/wiki/
%{_sysconfdir}/cron.d/cron.wiki
-%{GFORGE_DIR}/plugins/wiki
-%{GFORGE_DIR}/www/wiki
+%{FORGE_CONF_DIR}/httpd.d/03wiki.conf
+%{FORGE_DIR}/plugins/wiki
+%{FORGE_DIR}/www/wiki
%files plugin-projectlabels
-%{GFORGE_DIR}/plugins/projectlabels
-%{GFORGE_DIR}/www/plugins/projectlabels
+%config(noreplace) %{FORGE_CONF_DIR}/config.ini.d/projectlabels.ini
+%{FORGE_DIR}/plugins/projectlabels
+%{FORGE_DIR}/www/plugins/projectlabels
%files plugin-contribtracker
-%{GFORGE_DIR}/plugins/contribtracker
-%{GFORGE_DIR}/www/plugins/contribtracker
+%config(noreplace) %{FORGE_CONF_DIR}/config.ini.d/contribtracker.ini
+%{FORGE_DIR}/plugins/contribtracker
+%{FORGE_DIR}/www/plugins/contribtracker
%files plugin-globalsearch
-%{GFORGE_DIR}/plugins/globalsearch
-%{GFORGE_DIR}/www/plugins/globalsearch
-
-%files plugin-mantisbt
-%config(noreplace) %{GFORGE_CONF_DIR}/plugins/mantisbt/
-%{GFORGE_DIR}/plugins/mantisbt
-%{GFORGE_DIR}/www/plugins/mantisbt
+%config(noreplace) %{FORGE_CONF_DIR}/config.ini.d/globalsearch.ini
+%{FORGE_DIR}/plugins/globalsearch
+%{FORGE_DIR}/www/plugins/globalsearch
+
+# %files plugin-mailman
+# %config(noreplace) %{FORGE_CONF_DIR}/plugins/mailman/
+# %config(noreplace) %{FORGE_CONF_DIR}/config.ini.d/mailman.ini
+# %{FORGE_CONF_DIR}/httpd.d/plugin-oslc.inc
+# %{FORGE_CONF_DIR}/httpd.d/62plugin-list-mailman
+# %{FORGE_CONF_DIR}/httpd.d/200list.vhost
+# %{FORGE_CONF_DIR}/httpd.d/20list
+# %{FORGE_CONF_DIR}/httpd.d/20zlist.vhost
+# %{FORGE_CONF_DIR}/httpd.d/21list.vhost.ssl
+# %{FORGE_DIR}/plugins/mailman
+# %{FORGE_DIR}/www/plugins/mailman
+
+# %files plugin-mantisbt
+# %config(noreplace) %{FORGE_CONF_DIR}/plugins/mantisbt/
+# %config(noreplace) %{FORGE_CONF_DIR}/config.ini.d/mantisbt.ini
+# %{FORGE_DIR}/plugins/mantisbt
+# %{FORGE_DIR}/www/plugins/mantisbt
+
+# %files plugin-oauthprovider
+# %config(noreplace) %{FORGE_CONF_DIR}/config.ini.d/oauthprovider.ini
+# %config(noreplace) %{FORGE_CONF_DIR}/plugins/oauthprovider/
+# %{FORGE_CONF_DIR}/httpd.d/62plugin-oauthprovider
+# %{FORGE_DIR}/plugins/oauthprovider
%changelog
+* Tue May 17 2011 - Thorsten Glaser <t.glaser@tarent.de> - 5.0.50-2
+- Adapted for versioning of the forge via the packaging
+
* Fri May 28 2010 - Alain Peyrat <aljeux@free.fr> - 5.0.50-1
- Ported to 5.1 tree.
- Reworked logic with rights on configuration files.