%define plugin scmcvs
%{!?release:%define release 1}
-Summary: CVS Plugin for GForge CDE
+Summary: CVS Plugin for FusionForge
Name: fusionforge-plugin-%{plugin}
-Version: 4.8
+Version: 4.8.2
Release: %{release}
BuildArch: noarch
License: GPL
%description
-GForge CDE is a web-based Collaborative Development Environment offering
+FusionForge is a web-based Collaborative Development Environment offering
easy access to CVS, mailing lists, bug tracking, message
boards/forums, task management, permanent file archival, and total
web-based administration.
-This RPM installs SCM CVS plugin for GForge CDE which was previously bundled
-with GForge CDE and provides CVS support to GForge CDE.
+This RPM installs SCM CVS plugin for FusionForge and provides CVS support
+to FusionForge.
-It also provides a specific version of CVSWeb wrapped in GForge CDE.
+It also provides a specific version of CVSWeb wrapped in FusionForge.
%prep
%setup
# copying all needed stuff to %{PLUGIN_LIB}
install -m 755 -d $RPM_BUILD_ROOT/%{PLUGIN_LIB}
-for dir in bin common sbin www cronjobs; do
+for dir in bin common www cronjobs; do
cp -rp $dir $RPM_BUILD_ROOT/%{PLUGIN_LIB}/
done;
chmod 755 $RPM_BUILD_ROOT/%{PLUGIN_LIB}/bin/*
-chmod 755 $RPM_BUILD_ROOT/%{PLUGIN_LIB}/sbin/*
chmod 755 $RPM_BUILD_ROOT/%{PLUGIN_LIB}/cronjobs/cvscreate.sh
+# installing executable for pserver
+install -m 755 -d $RPM_BUILD_ROOT/%{GFORGE_BIN_DIR}/
+cp -rp sbin/cvs-pserver $RPM_BUILD_ROOT/%{GFORGE_BIN_DIR}/
+chmod 755 $RPM_BUILD_ROOT/%{GFORGE_BIN_DIR}/cvs-pserver
+
# installing configuration file
install -m 755 -d $RPM_BUILD_ROOT/%{GFORGE_CONF_DIR}/
cp -rp etc/* $RPM_BUILD_ROOT/%{GFORGE_CONF_DIR}/
%{PLUGIN_CONF}/config.pl
%{PLUGIN_LIB}/bin
%{PLUGIN_LIB}/common
-%{PLUGIN_LIB}/sbin
%{PLUGIN_LIB}/www
%{PLUGIN_LIB}/cronjobs
%{CROND_DIR}/%{name}
+%{GFORGE_BIN_DIR}/cvs-pserver
%changelog
* Mon Jan 09 2006 Nicolas Quienot <nquienot@linagora.com>