rpms/tinyerp/FC-4 README.Fedora,NONE,1.1 tinyerp.spec,1.16,1.17

Dan Horak (sharkcz) fedora-extras-commits at redhat.com
Wed Sep 13 14:02:47 UTC 2006


Author: sharkcz

Update of /cvs/extras/rpms/tinyerp/FC-4
In directory cvs-int.fedora.redhat.com:/tmp/cvs-serv2492

Modified Files:
	tinyerp.spec 
Added Files:
	README.Fedora 
Log Message:
 - added README with post-install steps


--- NEW FILE README.Fedora ---
Post-install steps for Fedora
=============================

You must create one database user and one database owner by the user. This
can be done in the following steps and no other configuration is required.

1. login as root and run:
    su -c "psql template1" postgres

you get the postgresql superuser prompt "template1=#"


2. in psql enter:
create user tinyerp;

    it will create the database user

create database terp with owner "tinyerp";

    it will create the database with tinyerp as the onwer

\q

    exists the psql client

3. start the service again as root:
    service tinyerp-server start


Index: tinyerp.spec
===================================================================
RCS file: /cvs/extras/rpms/tinyerp/FC-4/tinyerp.spec,v
retrieving revision 1.16
retrieving revision 1.17
diff -u -r1.16 -r1.17
--- tinyerp.spec	26 Jul 2006 17:51:19 -0000	1.16
+++ tinyerp.spec	13 Sep 2006 14:02:47 -0000	1.17
@@ -21,7 +21,7 @@
 
 Name:		tinyerp
 Version:	3.3.0
-Release:	2%{?dist}
+Release:	3%{?dist}
 License:	GPL
 Group:		Applications/Productivity
 Summary:	Open Source ERP Client
@@ -32,6 +32,7 @@
 Source3:	tinyerp-server.conf
 Source4:	tinyerp-server
 Source5:	tinyerp-server.logrotate
+Source6:	README.Fedora
 BuildRoot:	%{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n)
 BuildArch:	noarch
 BuildRequires:	python, pygtk2-devel, pygtk2-libglade
@@ -107,6 +108,8 @@
 install -m 644 -D %{SOURCE3} $RPM_BUILD_ROOT%{_sysconfdir}/tinyerp-server.conf
 install -m 755 -D %{SOURCE4} $RPM_BUILD_ROOT%{_sysconfdir}/rc.d/init.d/tinyerp-server
 install -m 644 -D %{SOURCE5} $RPM_BUILD_ROOT%{_sysconfdir}/logrotate.d/tinyerp-server
+install -m 644 -D %{SOURCE6} $RPM_BUILD_ROOT%{_defaultdocdir}/%{name}-server-%{version}/README.Fedora
+
 mkdir -p $RPM_BUILD_ROOT/var/log/tinyerp
 mkdir -p $RPM_BUILD_ROOT/var/spool/tinyerp
 
@@ -160,6 +163,10 @@
 
 
 %changelog
+* Mon Sep  4 2006 Dan Horak <dan[at]danny.cz> 3.3.0-3
+- rebuild for FC-6
+- added README with post-install steps
+
 * Mon Jul 24 2006 Dan Horak <dan[at]danny.cz> 3.3.0-2
 - use better Category in the desktop file (#199895)
 




More information about the scm-commits mailing list