rpms/roundup/devel README.Fedora, NONE, 1.1 roundup, NONE, 1.1 roundup-setup.patch, NONE, 1.1 roundup.conf, NONE, 1.1 roundup.spec, NONE, 1.1 .cvsignore, 1.1, 1.2 sources, 1.1, 1.2
W. Michael Petullo (mikep)
fedora-extras-commits at redhat.com
Sat Sep 17 23:21:34 UTC 2005
Author: mikep
Update of /cvs/extras/rpms/roundup/devel
In directory cvs-int.fedora.redhat.com:/tmp/cvs-serv25213/devel
Modified Files:
.cvsignore sources
Added Files:
README.Fedora roundup roundup-setup.patch roundup.conf
roundup.spec
Log Message:
auto-import roundup-0.8.4-5 on branch devel from roundup-0.8.4-5.src.rpm
--- NEW FILE README.Fedora ---
Some steps in the installation of Roundup are difficult to automate.
Because of this, the roundup installation must be completed manually
after installing the Roundup package. The following steps will complete
the installation of Roundup:
1. Set the following items in
/var/lib/roundup/trackers/default/config.ini as appropriate for your
network:
[mail]
domain
host
username
password
[tracker]
web
email
[rdbms]
password
2. Create a mysql database:
mysql -e "CREATE DATABASE roundup;"
mysql -e "GRANT ALL PRIVILEGES ON roundup.* TO roundup at localhost
IDENTIFIED BY 'PASSWORD';"
3. Initialize the system.
roundup-admin -i /var/lib/roundup/trackers/default initialise
PASSWORD
To fully uninstall Roundup (and DESTROY any Roundup data), perform the
following steps:
1. mysql -e "DROP DATABASE roundup;"
2. rm -rf /var/lib/roundup
--- NEW FILE roundup ---
#!/bin/bash
#
# /etc/rc.d/init.d/roundup
#
# Starts the roundup daemon
#
# chkconfig: - 95 5
# description: Bug tracking system.
# processname: roundup
# Source function library.
. /etc/init.d/functions
test -x /usr/bin/roundup-server || exit 0
RETVAL=0
#
# See how we were called.
#
prog="roundup-server"
start() {
# Check if roundup is already running
if [ ! -f /var/lock/subsys/roundup ]; then
echo -n $"Starting $prog: "
daemon /usr/bin/roundup-server -d /var/run/roundup-server.pid -u roundup -g roundup -p 8080 issues=/var/lib/roundup/trackers/default
RETVAL=$?
[ $RETVAL -eq 0 ] && touch /var/lock/subsys/roundup
echo
fi
return $RETVAL
}
stop() {
echo -n $"Stopping $prog: "
killproc /usr/bin/roundup-server
RETVAL=$?
[ $RETVAL -eq 0 ] && rm -f /var/lock/subsys/roundup
echo
return $RETVAL
}
restart() {
stop
start
}
reload() {
restart
}
status_roundup() {
status /usr/bin/roundup-server
}
case "$1" in
start)
start
;;
stop)
stop
;;
reload|restart)
restart
;;
condrestart)
if [ -f /var/lock/subsys/roundup ]; then
restart
fi
;;
status)
status_roundup
;;
*)
echo $"Usage: $0 {start|stop|restart|condrestart|status}"
exit 1
esac
exit $?
exit $RETVAL
roundup-setup.patch:
--- NEW FILE roundup-setup.patch ---
diff -u --recursive roundup-0.8.4-vanilla/setup.py roundup-0.8.4/setup.py
--- roundup-0.8.4-vanilla/setup.py 2005-07-17 23:09:47.000000000 -0400
+++ roundup-0.8.4/setup.py 2005-09-04 14:11:18.000000000 -0400
@@ -306,7 +306,7 @@
# install man pages on POSIX platforms
if os.name == 'posix':
- installdatafiles.append(('man/man1', ['doc/roundup-admin.1',
+ installdatafiles.append(('share/man/man1', ['doc/roundup-admin.1',
'doc/roundup-mailgw.1', 'doc/roundup-server.1',
'doc/roundup-demo.1']))
--- NEW FILE roundup.conf ---
#
# Roundup is an issue-tracking system.
#
ProxyPass /roundup/ http://localhost:8080/
--- NEW FILE roundup.spec ---
%define pythonver 2.4
%define pythonsitedir %{_libdir}/python%{pythonver}/site-packages
Summary: Simple and flexible issue-tracking system
Name: roundup
Version: 0.8.4
Release: 5
License: MIT
Group: Applications/Engineering
Source: http://dl.sourceforge.net/roundup/roundup-%{version}.tar.gz
Source1: roundup.conf
Source2: roundup
Source3: README.Fedora
Patch0: roundup-setup.patch
BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n)
URL: http://roundup.sourceforge.net/
Requires: python >= %{pythonver} httpd mysql-server MySQL-python sharutils
Requires(post): /sbin/chkconfig
Requires(post): /sbin/service
Requires(preun): /sbin/chkconfig
Requires(preun): /sbin/service
%description
Roundup is a simple and flexible issue-tracking system with command line,
web and email interfaces. It is based on the winning design from Ka-Ping
Yee in the Software Carpentry "Track" design competition.
%prep
%setup
%patch0 -p1
cp -p %{SOURCE3} .
%build
CFLAGS="$RPM_OPT_FLAGS" python setup.py build
%install
python setup.py install --root=$RPM_BUILD_ROOT
install -p -D -m 644 %{SOURCE1} $RPM_BUILD_ROOT%{_sysconfdir}/httpd/conf.d/roundup.conf
install -p -D -m 755 %{SOURCE2} $RPM_BUILD_ROOT%{_initrddir}/roundup
%find_lang %{name}
%post
useradd -M -r -d /var/lib/roundup -s /sbin/nologin -c "Roundup Issue Tracker" roundup > /dev/null 2>&1 || :
if [ ! -d /var/lib/roundup ]; then
install -d /var/lib/roundup/trackers/default/db > /dev/null 2>&1
install -d /var/lib/roundup/trackers/default/db/files -m 2770 -o root -g roundup > /dev/null 2>&1
# Create Roundup configuration.
roundup-admin -i /var/lib/roundup/trackers/default install classic mysql > /dev/null 2>&1
fi
/sbin/chkconfig --add roundup >/dev/null 2>&1
if [ "$1" -ge "1" ]; then
/sbin/service roundup condrestart >/dev/null 2>&1
fi
%preun
if [ $1 = 0 ]; then
/sbin/service roundup stop > /dev/null 2>&1
/sbin/chkconfig --del roundup >/dev/null 2>&1
fi
%clean
rm -rf $RPM_BUILD_ROOT
%files -f %{name}.lang
%{_bindir}/*
%{pythonsitedir}/*
%{_datadir}/roundup/*
%{_mandir}/man1/*
%defattr(-,root,root)
%config(noreplace) %{_initrddir}/roundup
%config(noreplace) %{_sysconfdir}/httpd/conf.d/*.conf
%doc README.Fedora COPYING.txt
%changelog
* Sun Sep 05 2005 W. Michael Petullo <mike[@]flyn.org> - 0.8.4-5
- No longer use setup.py's --record feature.
- Really fix init script.
- %{_mandir}/man1/* instead of %{_mandir}/*.
* Sun Sep 05 2005 W. Michael Petullo <mike[@]flyn.org> - 0.8.4-4
- Put man pages in /usr/share/man.
- Use a shorter summary.
- Do not enable service by default.
- Include license in installed files.
- Restart service if needed after upgrade.
- Use %{find_lang}.
- Tag %{_initrddir}/roundup as %config(noreplace).
* Sun Aug 14 2005 W. Michael Petullo <mike[@]flyn.org> - 0.8.4-3
- Do not use useradd's -o option.
* Thu Aug 11 2005 W. Michael Petullo <mike[@]flyn.org> - 0.8.4-2
- Set GID roundup will use from startup script.
- Set proper permissions on db/files.
- Change Source URL.
- Use %{SOURCE1}, %{SOURCE2}, ...
- Use install's -p switch.
- Don't hardcode useradd UID.
- Scriptlets no longer output anything.
- Don't delete user in postun.
- Use %{_initrddir}.
- Only stop service if uninstalling.
* Sun Aug 07 2005 W. Michael Petullo <mike[@]flyn.org> - 0.8.4-1
- Stop roundup service after uninstalling.
- New upstream version.
* Tue Jul 26 2005 W. Michael Petullo <mike[@]flyn.org> - 0.8.3-2
- Use proxy feature to increase performance.
- Print better instructions after installing.
* Tue Jun 28 2005 W. Michael Petullo <mike[@]flyn.org> - 0.8.3-1
- Initial package for Fedora Extras.
Index: .cvsignore
===================================================================
RCS file: /cvs/extras/rpms/roundup/devel/.cvsignore,v
retrieving revision 1.1
retrieving revision 1.2
diff -u -r1.1 -r1.2
--- .cvsignore 17 Sep 2005 23:20:46 -0000 1.1
+++ .cvsignore 17 Sep 2005 23:21:32 -0000 1.2
@@ -0,0 +1 @@
+roundup-0.8.4.tar.gz
Index: sources
===================================================================
RCS file: /cvs/extras/rpms/roundup/devel/sources,v
retrieving revision 1.1
retrieving revision 1.2
diff -u -r1.1 -r1.2
--- sources 17 Sep 2005 23:20:46 -0000 1.1
+++ sources 17 Sep 2005 23:21:32 -0000 1.2
@@ -0,0 +1 @@
+6b995d7d6c5b49666e5297929e70bbc7 roundup-0.8.4.tar.gz
More information about the fedora-extras-commits
mailing list