]> git.pld-linux.org Git - SPECS.git/blob - gnue-common.spec
SPECS updated Wed 28 Jul 14:48:01 CEST 2021
[SPECS.git] / gnue-common.spec
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
3 Name:           gnue-common
4 Version:        0.5.14
5 Release:        0.1
6 License:        GPL
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/
12 BuildRequires:  python
13 BuildRequires:  python-devel
14 Requires:       python
15 Obsoletes:      GNUe-Common
16 BuildRoot:      %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
17
18 %description
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.
28
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.
39
40 %prep
41 %setup -q
42 %patch0 -p1
43
44 %install
45 rm -rf $RPM_BUILD_ROOT
46 install -d $RPM_BUILD_ROOT%{_datadir}/gnue/grpc
47
48 python setup.py install \
49         --install-lib=%{py_sitedir} \
50         --prefix=/usr \
51         --root=$RPM_BUILD_ROOT \
52         --optimize=2
53
54 find $RPM_BUILD_ROOT%{py_sitedir} -name \*.py -a \! -name paths.py -exec rm {} \;
55
56 mv $RPM_BUILD_ROOT/etc/gnue/{sample.,}connections.conf
57 mv $RPM_BUILD_ROOT/etc/gnue/{sample.,}gnue.conf
58
59 %find_lang %{name}
60
61 %clean
62 rm -rf $RPM_BUILD_ROOT
63
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}/*
68 %{py_sitedir}/gnue
69 %{_datadir}/gnue
70 %dir /etc/gnue
71 %config(noreplace) %verify(not md5 mtime size) /etc/gnue/*.conf
72 %{_mandir}/man?/*
This page took 0.139249 seconds and 3 git commands to generate.