rpms/gnue-common/devel gnue-common.spec, NONE, 1.1 gnue-common_INSTALL.diff, NONE, 1.1 gnue-common_setup.py.diff, NONE, 1.1 gnue-diag.sh.diff, NONE, 1.1 hints.postgresql.txt.diff, NONE, 1.1 .cvsignore, 1.1, 1.2 sources, 1.1, 1.2

Aaron S. Hawley (ashawley) fedora-extras-commits at redhat.com
Tue Apr 8 22:00:07 UTC 2008


Author: ashawley

Update of /cvs/pkgs/rpms/gnue-common/devel
In directory cvs-int.fedora.redhat.com:/tmp/cvs-serv7665/devel

Modified Files:
	.cvsignore sources 
Added Files:
	gnue-common.spec gnue-common_INSTALL.diff 
	gnue-common_setup.py.diff gnue-diag.sh.diff 
	hints.postgresql.txt.diff 
Log Message:
Initial import of gnue-common 0.6.9 RPM release 3 for devel branch.



--- NEW FILE gnue-common.spec ---
### gnue-common.spec --- RPM spec file for GNU Enterprise Common

## Copyright (C) 2008  Aaron S. Hawley

## Author: Aaron S. Hawley <aaronh at garden dot org>

## This file is not part of GNU Enterprise

## This file is free software; you can redistribute it and/or modify
## it under the terms of the GNU General Public License as published
## by the Free Software Foundation; either version 2, or (at your
## option) any later version.

## This file is distributed in the hope that it will be useful, but
## WITHOUT ANY WARRANTY; without even the implied warranty of
## MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the GNU
## General Public License for more details.

## You should have received a copy of the GNU General Public License
## Along with GNU Enterprise; see the file COPYING.  If not, write to
## the Free Software Foundation, Inc., 51 Franklin Street, Fifth
## Floor, Boston, MA 02110-1301, USA.

### Commentary:

## ChangeLog is at the end of this file.

## The following variable will be set automatically after Fedora 8.
## see: http://fedoraproject.org/wiki/Packaging/Python

%{!?python_sitelib: %define python_sitelib %(%{__python} -c "from distutils.sysconfig import get_python_lib; print get_python_lib()")}

## Avoid suspected find-debuginfo.sh bug in mock for Fedora 9?:
%define debug_package %{nil}

### Code:

Name: gnue-common
Version: 0.6.9
Release: 3
Summary: GNU Enterprise Common Base

Group: Applications/Productivity
License: GPLv2+
URL: http://www.gnuenterprise.org/
Source0: http://www.gnuenterprise.org/downloads/current/%{name}-%{version}.tar.gz
Patch0: gnue-diag.sh.diff
Patch1: gnue-common_INSTALL.diff
Patch2: hints.postgresql.txt.diff
Patch3: gnue-common_setup.py.diff
BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root

BuildArch: noarch
BuildRequires: python-devel
## rpmbuild automatically adds "Requires: python-abi = <version>"
#Requires: python >= 2.3
Requires: MySQL-python python-psycopg2 mx

%description
GNU Enterprise Common Library for use with the GNUe tools provides
a set of images and classes that GNUe Forms, GNUe Reports, GNUe
Appserver and GNUe Designer and others depend upon.  It implements
a database-abstraction layer that provides support for most major
databases. A builtin XML-to-Object parser and Object-to-XML
marshaller are used by Forms, Reports, and Designer to save and
read Forms/Report definitions to and from an XML file. It also
defines and implements an RPC abstraction layer that will allow
server processes to define their public methods once and have them
available to CORBA, XML-RPC, SOAP, and DCOM clients.

%prep
%setup -q
%patch0
%patch1
%patch2
%patch3
## Fix rpmlint error "zero-length"
rm -f src/formatting/masks/FormatMask.py
## Fix rpmlint error "non-executable-script"
mv src/printing/pdftable/sample.py scripts/pdftable-example.py
## Quiet rpmlint warning "doc-file-dependency"
rm -f scripts/pdftable-example.py

%build

%install
rm -rf %{buildroot}
%{__python} ./setup.py install -O1 --prefix=%{_prefix} --root=%{buildroot}
%find_lang %{name}
cp -pr %{buildroot}%{_docdir}/%{name}-%{version} doc


%clean
rm -rf %{buildroot}


%files -f %{name}.lang
%defattr(-,root,root,-)
%{_bindir}/gnue-schema
%{_mandir}/man1/gnue-schema.1.gz
%{python_sitelib}/gnue
%if 0%{?fedora} >= 9
  %{python_sitelib}/gnue_common-%{version}*.egg-info
%endif
%{_datadir}/gnue
%config %dir %{_sysconfdir}/gnue
## These files are only samples, and could be updated by upstream authors.
%config /etc/gnue/sample.connections.conf
%config /etc/gnue/sample.gnue.conf
%doc AUTHORS BUGS ChangeLog COPYING INSTALL NEWS README THANKS 
%doc doc/technotes scripts/gnue-diag.sh doc/%{name}-%{version}/*

%changelog
* Thu Apr  3 2008 Aaron Hawley <aaronh at garden.org> - 0.6.9-3
- Another revision for package review.
- Change license from GPLv2 to GPLv2+.
- Put all docs in single directory.
- Fix rpmlint warning for having macro in changelog.

* Tue Apr  1 2008 Aaron Hawley <aaronh at garden.org> - 0.6.9-2
- Revision for package review request bug #439310.
- Quiet rpmlint warnings "doc-file-dependency" and
  "spurious-executable-perm" by deleting
  src/printing/pdftable/sample.py
- Explicitly list sample configuration files sample.connections.conf,
  sample.gnue.conf and explain missing "noreplace" for %%config.
- Include Python egg-info in package generated by Fedora 9 and later.

* Sun Mar 30 2008 Aaron S. Hawley <aaronh at garden.org> - 0.6.9-1
- Initial RPM release.

### gnue-common.spec ends here

gnue-common_INSTALL.diff:

--- NEW FILE gnue-common_INSTALL.diff ---
--- INSTALL	2007/05/09 17:23:38
+++ INSTALL	2008/03/31 01:41:52
@@ -61,4 +61,4 @@
   You should also rename sample.connections.conf to connections.conf and edit
   it to reflect the databases you wish to access frequently.
 
-  See doc/Connections.txt for more information
+  See /usr/share/doc/gnue-common-*/configuration.txt for more information

gnue-common_setup.py.diff:

--- NEW FILE gnue-common_setup.py.diff ---
--- setup.py	2007/06/06 11:45:22
+++ setup.py	2008/04/02 20:17:45
@@ -77,7 +77,7 @@
                  template = ['recursive-include doc/man *.1'],
                  preserve_path = 0),
      Data_Files (base_dir = 'install_data',
-                 copy_to = 'share/doc/gnue-common',
+                 copy_to = 'share/doc/gnue-common-' + VERSION,
                  template = ['recursive-include doc *',
                              'prune doc/.svn',
                              'prune doc/man',

gnue-diag.sh.diff:

--- NEW FILE gnue-diag.sh.diff ---
--- scripts/gnue-diag.sh	2004/01/02 13:39:53
+++ scripts/gnue-diag.sh	2008/03/21 17:57:26
@@ -217,21 +217,21 @@
   echo "--------------------------------------------------------------------"
   echo "GNUe Configuration Information: "
   echo
-  echo "Contents of /usr/local/gnue/etc:"
-  if [ ! -e "/usr/local/gnue/etc" ]
+  echo "Contents of /etc/gnue:"
+  if [ ! -e "/etc/gnue" ]
   then
     echo "  Directory does not exist! Checking aborted"
   else
-    ls /usr/local/gnue/etc
+    ls /etc/gnue
     echo
     echo "Contents of gnue.conf:"
-    cat /usr/local/gnue/etc/gnue.conf
+    cat /etc/gnue/gnue.conf
     echo
     echo "Contents of connections.conf"
-    cat /usr/local/gnue/etc/connections.conf
+    cat /etc/gnue/connections.conf
     echo
-    echo "Shebang line for /usr/local/bin/gnue-forms:"
-    head -n1 /usr/local/bin/gnue-forms
+    echo "Shebang line for /usr/bin/gnue-forms:"
+    head -n1 /usr/bin/gnue-forms
   fi
 
 fi

hints.postgresql.txt.diff:

--- NEW FILE hints.postgresql.txt.diff ---
--- doc/hints.postgresql.txt	2005/02/10 11:31:06
+++ doc/hints.postgresql.txt	2008/03/26 20:37:49
@@ -11,7 +11,7 @@
 access permissions properly.
 
 For the quick and dirty "full access" configuration, edit the file
-/etc/postgresql/pg_hba.conf and set host, db or user to 'trust'.
+/etc/sysconfig/pgsql/pg_hba.conf and set host, db or user to 'trust'.
 
 To grant 'trusted' (full) access from the local host add a line like:
 


Index: .cvsignore
===================================================================
RCS file: /cvs/pkgs/rpms/gnue-common/devel/.cvsignore,v
retrieving revision 1.1
retrieving revision 1.2
diff -u -r1.1 -r1.2
--- .cvsignore	8 Apr 2008 18:07:08 -0000	1.1
+++ .cvsignore	8 Apr 2008 21:59:20 -0000	1.2
@@ -0,0 +1 @@
+gnue-common-0.6.9.tar.gz


Index: sources
===================================================================
RCS file: /cvs/pkgs/rpms/gnue-common/devel/sources,v
retrieving revision 1.1
retrieving revision 1.2
diff -u -r1.1 -r1.2
--- sources	8 Apr 2008 18:07:08 -0000	1.1
+++ sources	8 Apr 2008 21:59:20 -0000	1.2
@@ -0,0 +1 @@
+8632bf01a73a2e33ad83f6d62a45e4f7  gnue-common-0.6.9.tar.gz




More information about the fedora-extras-commits mailing list