File: orbit-python.spec.in

package info (click to toggle)
python-orbit 0.3.1-12
  • links: PTS
  • area: main
  • in suites: sarge
  • size: 1,492 kB
  • ctags: 801
  • sloc: sh: 9,444; ansic: 5,642; python: 1,141; makefile: 126
file content (78 lines) | stat: -rw-r--r-- 2,770 bytes parent folder | download | duplicates (2)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
%define prefix @prefix@
%define pydir @prefix@/lib/python@PYTHON_VERSION@/site-packages

Name: orbit-python
Version: @VERSION@
Release: 1
Summary: This package contains a Python binding for ORBit
Summary(pt_BR): Este pacote contm o conector entre programas em python e o ORBit.
Group: Libraries
Group(pt_BR): Bibliotecas
Group(es): Bibliotecas
License: LGPL
Source: http://orbit-python.sault.org/orbit-python-%{version}.tar.gz
URL: http://orbit-python.sault.org/
Requires: python >= 1.5, ORBit
BuildRequires: python-devel, ORBit-devel, glib-devel
BuildRoot: %{_tmppath}/%{name}-%{version}-root
Summary: This package contains a Python binding for ORBit

%description
Python is an object-oriented and dynamically typed language. These two features make it quite ideal for seamless CORBA bindings. Following the approach used in CORBA::ORBit (the Perl bindings), ORBit-Python does away with the need for an IDL compiler. Throw away your stubs and skeletons! ORBit-Python also takes the dynamic approach one step further by automatically discovering available IDL modules and transparently loading them when the corresponding modules get imported. When the IDL files are loaded, the appropriate objects and classes are created dynamically. This makes rapid prototyping with CORBA a reality. 

%description -l pt_BR
Este pacote contm o conector entre programas em python e o ORBit.

%package devel
Requires: orbit-python
Summary: Development files for the ORBit Python module
Summary(pt_BR): Arquivos de desenvolvimento para o mdulo ORBit Python
Group: Development
Group(es): Desarrollo
Group(pt_BR): Desenvolvimento

%description devel
This package contains development files needed to develop ORBit Python based
extensions.

%description -l pt_BR devel
Este pacote contm arquivos de desenvolvimento necessrios  criao de
extenses baseadas no ORBit Python.

%prep
%setup -q -n orbit-python-%{version}

%build
sh configure --prefix=%{_prefix}
make

%install
make install DESTDIR=%{buildroot}

%clean
rm -rf %{buildroot}

%files
%defattr(0644,root,root,0755)
%{pydir}/CORBAmodule.so
%{pydir}/PortableServermodule.so
%doc AUTHORS README COPYING examples/

%files devel
%defattr(0644,root,root,0755)
%dir %{_includedir}/orbit-python
%{_includedir}/orbit-python/*
%doc ChangeLog 
%defattr(0755, root, root)
%{prefix}/bin/orbit-python-config

%changelog
* Thu Oct 10 2001 Christian Reis <kiko@async.com.br
+ orbit-python-0.3.1
* Tue Aug 21 2001 Jason Tackaberry <tack@linux.com>
- Added orbit-python-config and examples/ and fixed pydir
* Wed May 23 2001 Jason Tackaberry <tack@linux.com>
+ orbit-python-0.3.0
- initial spec file taken from Conectiva Linux, with thanks to
  Fbio Oliv Leite <olive@conectiva.com.br>
- Added pydir and dropped Python restriction to 1.5.2