-
Notifications
You must be signed in to change notification settings - Fork 2
/
Copy pathpymatecorba.spec.in
57 lines (46 loc) · 1.42 KB
/
pymatecorba.spec.in
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
# -*- mode: rpm-spec -*-
%define python python2
Summary: Python bindings for MateCORBA2.
Name: pymatecorba
Version: @VERSION@
Release: 1
Copyright: LGPL
Group: Development/Languages
Source: pymatecorba-%{version}.tar.gz
BuildRoot: /var/tmp/pymatecorba-root
Requires: MateCORBA2 >= @MATECORBA2_REQUIRED_VERSION@
Requires: %{python} >= 2.2
Obsoletes: matecorba-python = 1.99.0
Buildrequires: %{python}-devel >= 2.2
Buildrequires: MateCORBA2-devel >= @MATECORBA2_REQUIRED_VERSION@
%description
pymatecorba is an extension module for python that provides a Python
language mapping for the MateCORBA2 CORBA ORB.
%package devel
Summary: Files needed to build wrappers for pymatecorba addon libraries.
Group: Development/Languages
Requires: MateCORBA2-devel >= @MATECORBA2_REQUIRED_VERSION@
%description devel
This package contains files required to build extensions that
interoperate with pymatecorba.
%changelog
* Tue Nov 12 2002 James Henstridge <[email protected]>
- initial spec file based on matecorba-python's one.
%prep
%setup -q
./configure --prefix=%{_prefix}
%build
make
%install
rm -rf $RPM_BUILD_ROOT
make DESTDIR=$RPM_BUILD_ROOT install
%files
%defattr(755, root, root, 755)
%{_prefix}/lib/python?.?/site-packages/*.so
%{_prefix}/lib/python?.?/site-packages/*.py*
%doc AUTHORS NEWS README TODO ChangeLog
#%doc tests
%files devel
%defattr(755, root, root, 755)
%{_includedir}/pymatecorba-2/*.h
%{_prefix}/lib/pkgconfig/pymatecorba-2.pc