blob: aa1ea78a7a2ffd69dc64ed9e0680dee908c7bf6f (
plain)
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
|
Summary: Python bindings generator for C++ class libraries.
Summary(pl): Generator powiązań Pythona z bibliotekami klas C++
Name: sip
Version: 2.5
Release: 1
Copyright: Phil Thompson <phil@river-bank.demon.co.uk>
Group: Development/Languages/Python
Group(de): Entwicklung/Sprachen/Python
Group(pl): Programowanie/Języki/Python
Source0: http://www.river-bank.demon.co.uk/software/%{name}-%{version}.tar.gz
URL: http://www.thekompany.com/projects/pykde/
BuildRoot: %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
Requires: python >= 1.5
%description
Generates Python bindings for C++ class libraries from a set of class
specification files. Also includes a runtime support library needed by
all generated bindings.
%description -l pl
Generuje powiązania Pythona z bibliotekami klas C++ ze zbioru plików
ze specyfikacjami klas. Zawiera też bibliotekę potrzebną do uruchomienia
wszystkich wygenerowanych powiązań.
%prep
%setup -q
%build
./configure --prefix=%{_prefix}
%{__make}
%install
rm -rf $RPM_BUILD_ROOT
%{__make} DESTDIR=$RPM_BUILD_ROOT install
%post -p /sbin/ldconfig
%postun -p /sbin/ldconfig
%clean
rm -rf $RPM_BUILD_ROOT
%files
%defattr(644,root,root,755)
%attr(755,root,root) %{_bindir}/sip
%dir %{_includedir}
%{_includedir}/sip/sip.h
%{_includedir}/sip/sipQt.h
%{_libdir}/libsip.a
%attr(755,root,root) %{_libdir}/libsip.la
%attr(755,root,root) %{_libdir}/libsip.so
%attr(755,root,root) %{_libdir}/libsip.so.6.0.0
|