File: sip.spec

package info (click to toggle)
sip 2.5-2.2
  • links: PTS
  • area: main
  • in suites: woody
  • size: 1,340 kB
  • ctags: 1,472
  • sloc: ansic: 11,902; sh: 6,482; yacc: 1,987; cpp: 540; lex: 423; makefile: 104
file content (46 lines) | stat: -rw-r--r-- 1,153 bytes parent folder | download
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
Summary: Python bindings generator for C++ class libraries.
Name: sip
Version: 2.5
Release: 1
Copyright: Phil Thompson <phil@river-bank.demon.co.uk>
Packager: Phil Thompson <phil@river-bank.demon.co.uk>
Group: Development/Languages/Python
Source: http://www.river-bank.demon.co.uk/software/%{name}-%{version}.tar.gz
URL: http://www.thekompany.com/projects/pykde/
BuildRoot: /tmp/%{name}-%{version}-root
Requires: python >= 1.5
Prefix: /usr

%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.

%prep
%setup

%build
./configure --prefix=%{prefix}
make

%install
make DESTDIR=$RPM_BUILD_ROOT install

%post
ldconfig

%postun
ldconfig

%clean
rm -rf $RPM_BUILD_ROOT

%files
%attr(-,root,root) %{prefix}/bin/sip
%attr(-,root,root) %{prefix}/include/sip/sip.h
%attr(-,root,root) %{prefix}/include/sip/sipQt.h
%attr(-,root,root) %{prefix}/lib/libsip.a
%attr(-,root,root) %{prefix}/lib/libsip.la
%attr(-,root,root) %{prefix}/lib/libsip.so
%attr(-,root,root) %{prefix}/lib/libsip.so.6
%attr(-,root,root) %{prefix}/lib/libsip.so.6.0.0