rpms/roundup/devel .cvsignore, 1.2, 1.3 README.Fedora, 1.1, 1.2 roundup.spec, 1.7, 1.8 sources, 1.2, 1.3

Paul P Komkoff Jr (stingray) fedora-extras-commits at redhat.com
Sun Jul 8 19:17:57 UTC 2007


Author: stingray

Update of /cvs/extras/rpms/roundup/devel
In directory cvs-int.fedora.redhat.com:/tmp/cvs-serv31465

Modified Files:
	.cvsignore README.Fedora roundup.spec sources 
Log Message:
- new upstream version 1.3.3
- convert russian locale to utf-8
- use sqlite database for default tracker instead of mysql



Index: .cvsignore
===================================================================
RCS file: /cvs/extras/rpms/roundup/devel/.cvsignore,v
retrieving revision 1.2
retrieving revision 1.3
diff -u -r1.2 -r1.3
--- .cvsignore	17 Sep 2005 23:21:32 -0000	1.2
+++ .cvsignore	8 Jul 2007 19:17:22 -0000	1.3
@@ -1 +1 @@
-roundup-0.8.4.tar.gz
+roundup-1.3.3.tar.gz


Index: README.Fedora
===================================================================
RCS file: /cvs/extras/rpms/roundup/devel/README.Fedora,v
retrieving revision 1.1
retrieving revision 1.2
diff -u -r1.1 -r1.2
--- README.Fedora	17 Sep 2005 23:21:32 -0000	1.1
+++ README.Fedora	8 Jul 2007 19:17:22 -0000	1.2
@@ -1,35 +1,32 @@
-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
+Starting from 1.3.3, sqlite driver is used for default tracker. Which
+means that you don't need to create mysql database. However, if you 
+want to do so, you can do it.
+
+In the meantime you will need to edit configuration of your tracker in
+/var/lib/roundup/trackers/default/config.ini:
+  [mail]
+  domain
+  host
+  username
+  password
+
+  [tracker]
+  web
+  email
 
-	[rdbms]
-	password
+You might also need to edit schema of your tracker here.
 
-2.  Create a mysql database:
-	
+After editing, initialize your default tracker by running:
+  roundup-admin -i /var/lib/roundup/trackers/default initialise PASSWORD
+
+
+For MySQL database, you'll need to set up [rdbms] section in config.ini 
+and create the 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
+before tracker initialization.
 
 To fully uninstall Roundup (and DESTROY any Roundup data), perform the
 following steps:


Index: roundup.spec
===================================================================
RCS file: /cvs/extras/rpms/roundup/devel/roundup.spec,v
retrieving revision 1.7
retrieving revision 1.8
diff -u -r1.7 -r1.8
--- roundup.spec	11 Dec 2006 16:36:48 -0000	1.7
+++ roundup.spec	8 Jul 2007 19:17:22 -0000	1.8
@@ -1,10 +1,9 @@
-%define pythonver 2.4
 %{!?python_sitelib: %define python_sitelib %(%{__python} -c "from distutils.sysconfig import get_python_lib; print get_python_lib()")}
 
 Summary: Simple and flexible issue-tracking system
 Name: roundup
-Version: 0.8.4
-Release: 10
+Version: 1.3.3
+Release: 1
 License: MIT
 Group: Applications/Engineering
 Source: http://dl.sourceforge.net/roundup/roundup-%{version}.tar.gz
@@ -14,8 +13,9 @@
 Patch0: roundup-setup.patch
 BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n)
 BuildArch: noarch
+BuildRequires: python-devel
 URL: http://roundup.sourceforge.net/
-Requires: python >= %{pythonver} httpd mysql-server MySQL-python sharutils
+Requires: python-sqlite2
 Requires(post): /sbin/chkconfig
 Requires(post): /sbin/service
 Requires(preun): /sbin/chkconfig
@@ -27,22 +27,21 @@
 Yee in the Software Carpentry "Track" design competition.
 
 %prep
-cat<<EOT
-
-Build disabled. Package is without maintainer.
+%setup -q
+%patch0 -p1
 
-EOT
-exit 1
+mv locale/ru.po locale/ru-koi8.po
+iconv -f koi8-r -t utf-8 locale/ru-koi8.po | sed -e 's|Content-Type: text/plain; charset=koi8-r|Content-Type: text/plain; charset=utf-8|' > locale/ru.po
+rm -f locale/ru-koi8.po
 
-%setup
-%patch0 -p1
 install -pm 644 %{SOURCE3} .
 
 %build
-CFLAGS="$RPM_OPT_FLAGS" python setup.py build
+CFLAGS="$RPM_OPT_FLAGS" %{__python} setup.py build
 
 %install
-python setup.py install --root=$RPM_BUILD_ROOT
+rm -rf $RPM_BUILD_ROOT
+%{__python} setup.py install -O1 --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}
@@ -54,7 +53,7 @@
 	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
+	roundup-admin -i /var/lib/roundup/trackers/default install classic sqlite > /dev/null 2>&1
 fi
 /sbin/chkconfig --add roundup >/dev/null 2>&1
 if [ "$1" -ge "1" ]; then
@@ -82,6 +81,11 @@
 %doc README.Fedora COPYING.txt
 
 %changelog
+* Sun Jul  8 2007 Paul P. Komkoff Jr <i at stingr.net> - 1.3.3-1
+   - new upstream version 1.3.3
+   - convert russian locale to utf-8
+   - use sqlite database for default tracker instead of mysql
+
 * Thu Sep 07 2006 W. Michael Petullo <mike[@]flyn.org> - 0.8.4-10
    - Rebuild for Fedora Extras 6.
    - Rebuild noarch.


Index: sources
===================================================================
RCS file: /cvs/extras/rpms/roundup/devel/sources,v
retrieving revision 1.2
retrieving revision 1.3
diff -u -r1.2 -r1.3
--- sources	17 Sep 2005 23:21:32 -0000	1.2
+++ sources	8 Jul 2007 19:17:22 -0000	1.3
@@ -1 +1 @@
-6b995d7d6c5b49666e5297929e70bbc7  roundup-0.8.4.tar.gz
+aefc6ae5684b3760643666f9e2e47e2f  roundup-1.3.3.tar.gz




More information about the fedora-extras-commits mailing list