1 Summary: GNUe Common Library - the basis for the GNUe tools
2 Summary(pl.UTF-8): GNUe Common Library - wspólna biblioetka będąca podstawą dla narzędzi GNUe
7 Group: Libraries/Python
8 Source0: http://www.gnuenterprise.org/downloads/current/%{name}-%{version}.tar.gz
9 # Source0-md5: cb92026b01dc32bdc3b8ea80d3bcbd8f
10 Patch0: %{name}-pyc_pyo.patch
11 URL: http://www.gnuenterprise.org/
13 BuildRequires: python-devel
15 Obsoletes: GNUe-Common
16 BuildRoot: %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
19 GNUe Common Library is the basis for the GNUe tools, such as
20 Forms, Reports, Application Server, and Designer. It implements a
21 database-abstraction layer that provides support for most major
22 databases. A builtin XML-to-Object parser and Object-to-XML
23 marshaller are used by Forms, Reports, and Designer to save and
24 read Forms/Report definitions to and from an XML file. It also
25 defines and implements an RPC abstraction layer that will allow
26 server processes to define their public methods once and have them
27 available to CORBA, XML-RPC, SOAP, and DCOM clients.
29 %description -l pl.UTF-8
30 GNUe Common Library to podstawa dla narzędzi GNUe tools, takich jak
31 Forms, Reports, Application Server czy Designer. Implementuje warstwę
32 abstrakcji dla baz danych dostarczającą obsługę większości popularnych
33 baz. Wbudowany parser XML do obiektów oraz przekształcanie obiektów
34 do XML są używane przez Forms, Reports i Designera w celu zapisu i
35 odczytu definicji Forms/Report do/z pliku XML. Biblioteka definiuje i
36 implementuje także warstwę abstrakcji RPC pozwalającą procesom serwera
37 na definiowanie własnych metod publicznych udostępnianych klientom
38 interfejsów CORBA, XML-RPC, SOAP i DCOM.
45 rm -rf $RPM_BUILD_ROOT
46 install -d $RPM_BUILD_ROOT%{_datadir}/gnue/grpc
48 python setup.py install \
49 --install-lib=%{py_sitedir} \
51 --root=$RPM_BUILD_ROOT \
54 find $RPM_BUILD_ROOT%{py_sitedir} -name \*.py -a \! -name paths.py -exec rm {} \;
56 mv $RPM_BUILD_ROOT/etc/gnue/{sample.,}connections.conf
57 mv $RPM_BUILD_ROOT/etc/gnue/{sample.,}gnue.conf
62 rm -rf $RPM_BUILD_ROOT
64 %files -f %{name}.lang
65 %defattr(644,root,root,755)
66 %doc AUTHORS BUGS ChangeLog NEWS README* TODO doc/*.* doc/technotes
67 %attr(755,root,root) %{_bindir}/*
71 %config(noreplace) %verify(not md5 mtime size) /etc/gnue/*.conf