]> git.pld-linux.org Git - packages/sip.git/blob - sip.spec
perl -pi -e "s/^automake -a -c -f --foreing/\%\{__automake\}/; \
[packages/sip.git] / sip.spec
1 %include        /usr/lib/rpm/macros.python
2 Summary:        Python bindings generator for C++ class libraries
3 Summary(pl):    Generator powi±zañ Pythona z bibliotekami klas C++
4 Name:           sip
5 Version:        3.1
6 Release:        1
7 License:        BSD-like
8 Group:          Development/Languages/Python
9 Source0:        http://www.riverbankcomputing.co.uk/download/sip/%{name}-%{version}.tar.gz
10 URL:            http://www.riverbankcomputing.co.uk/sip/index.php
11 Requires:       python >= 2.2
12 BuildRequires:  autoconf
13 BuildRequires:  automake
14 BuildRequires:  bison
15 BuildRequires:  flex
16 BuildRequires:  libtool
17 BuildRequires:  qt-devel
18 BuildRequires:  rpm-pythonprov
19 BuildRoot:      %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
20
21 %description
22 Generates Python bindings for C++ class libraries from a set of class
23 specification files. Also includes a runtime support library needed by
24 all generated bindings.
25
26 %description -l pl
27 Generuje powi±zania Pythona z bibliotekami klas C++ ze zbioru plików
28 ze specyfikacjami klas. Zawiera te¿ bibliotekê potrzebn± do
29 uruchomienia wszystkich wygenerowanych powi±zañ.
30
31 %prep
32 %setup -q
33
34 %build
35 rm -f missing
36 libtoolize --copy --force
37 aclocal
38 %{__autoconf}
39 %{__automake}
40 %configure \
41         --with-qt-includes=%{_prefix}/X11R6/include/qt \
42         --with-qt-libraries=%{_prefix}/X11R6/lib
43 %{__make}
44
45 %install
46 rm -rf $RPM_BUILD_ROOT
47
48 %{__make} DESTDIR=$RPM_BUILD_ROOT install
49
50 gzip -9nf AUTHORS NEWS README THANKS TODO
51
52 %clean
53 rm -rf $RPM_BUILD_ROOT
54
55 %files
56 %defattr(644,root,root,755)
57 %doc *.gz
58 %attr(755,root,root) %{_bindir}/*
59 %{_includedir}/*/*.h
60 %attr(755,root,root) %{py_sitedir}/lib*.*
This page took 0.054016 seconds and 4 git commands to generate.