SPECS: sip.spec - new packages -devel and python-sip - rel. 2
charles
charles at pld-linux.org
Wed Feb 15 06:50:34 CET 2006
Author: charles Date: Wed Feb 15 05:50:34 2006 GMT
Module: SPECS Tag: HEAD
---- Log message:
- new packages -devel and python-sip
- rel. 2
---- Files affected:
SPECS:
sip.spec (1.49 -> 1.50)
---- Diffs:
================================================================
Index: SPECS/sip.spec
diff -u SPECS/sip.spec:1.49 SPECS/sip.spec:1.50
--- SPECS/sip.spec:1.49 Mon Feb 13 13:07:30 2006
+++ SPECS/sip.spec Wed Feb 15 06:50:28 2006
@@ -14,31 +14,57 @@
BuildRequires: qt-devel >= 3.1.2
BuildRequires: rpm-pythonprov
BuildRequires: tmake
-Requires: python-devel >= 2.3
-%pyrequires_eq python-libs
BuildRoot: %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
%define _sipfilesdir %{_datadir}/sip
%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.
+specification files.
%description -l pl
Generuje powiązania Pythona z bibliotekami klas C++ ze zbioru plików
-ze specyfikacjami klas. Zawiera też bibliotekę potrzebną do
+ze specyfikacjami klas.
+
+%package devel
+Summary: sip - development files needed to build bindings
+Summary(pl): sip - pliki programistyczne potrzebne do budowania powiązań
+Group: Development/Libraries
+Requires: %{name} = %{epoch}:%{version}-%{release}
+Requires: python-devel >= 2.3
+%pyrequires_eq python-libs
+
+%description devel
+Development files needed to build bindings for C++ classes.
+
+%description devel -l pl
+Pliki programistyczne potrzebne do budowania powiązań z klasami C++.
+
+%package -n python-sip
+Summary: Python module needed by generated bindings
+Summary(pl): Moduł Pythona wymagany przez wygenerowane powiązania
+Group: Libraries/Python
+%pyrequires_eq python-libs
+
+%description -n python-sip
+Generates Python bindings for C++ class libraries from a set of class
+specification files. This package includes runtime library needed by
+all generated bindings.
+
+%description -n python-sip -l pl
+Generuje powiązania Pythona z bibliotekami klas C++ ze zbioru plików
+ze specyfikacjami klas. Ten pakiet zawiera bibliotekę potrzebną do
uruchomienia wszystkich wygenerowanych powiązań.
%prep
-%setup -q
+%setup -q
%build
# configure.py notes:
# - macros overrides must be last
# - cannot pass CXXFLAGS+="%{rpmcflags}" or so - builtin -O2 overrides rpmcflags
QTDIR=%{_prefix} \
-TMAKEPATH=/usr/share/tmake \
+TMAKEPATH=%{_datadir}/tmake \
python configure.py \
-b %{_bindir} \
-d %{py_sitedir} \
@@ -46,7 +72,7 @@
-l qt-mt \
-v %{_sipfilesdir} \
LIBDIR_QT="%{_libdir}" \
- LIBDIR_X11="/usr/X11R6/%{_lib}" \
+ LIBDIR_X11="%{_prefix}/X11R6/%{_lib}" \
CC="%{__cc}" \
CXX="%{__cxx}" \
CFLAGS="%{rpmcflags}" \
@@ -70,17 +96,27 @@
%defattr(644,root,root,755)
%doc ChangeLog LICENSE NEWS THANKS doc/*
%attr(755,root,root) %{_bindir}/*
-%attr(755,root,root) %{py_sitedir}/sip.so
+
+%files devel
+%defattr(644,root,root,755)
%{py_sitedir}/sip*.py
%{py_incdir}/*.h
%dir %{_sipfilesdir}
+%files -n python-sip
+%defattr(644,root,root,755)
+%attr(755,root,root) %{py_sitedir}/sip.so
+
%define date %(echo `LC_ALL="C" date +"%a %b %d %Y"`)
%changelog
* %{date} PLD Team <feedback at pld-linux.org>
All persons listed below can be reached at <cvs_login>@pld-linux.org
$Log$
+Revision 1.50 2006/02/15 05:50:28 charles
+- new packages -devel and python-sip
+- rel. 2
+
Revision 1.49 2006/02/13 12:07:30 charles
- moved optflags to configure (important, since are saved in sipconfig.py)
- simplified %build
================================================================
---- CVS-web:
http://cvs.pld-linux.org/SPECS/sip.spec?r1=1.49&r2=1.50&f=u
More information about the pld-cvs-commit
mailing list