SPECS: synce-librapi2.spec - separated python module

qboosh qboosh at pld-linux.org
Sun Sep 2 18:25:38 CEST 2007


Author: qboosh                       Date: Sun Sep  2 16:25:38 2007 GMT
Module: SPECS                         Tag: HEAD
---- Log message:
- separated python module

---- Files affected:
SPECS:
   synce-librapi2.spec (1.14 -> 1.15) 

---- Diffs:

================================================================
Index: SPECS/synce-librapi2.spec
diff -u SPECS/synce-librapi2.spec:1.14 SPECS/synce-librapi2.spec:1.15
--- SPECS/synce-librapi2.spec:1.14	Sun Sep  2 18:22:07 2007
+++ SPECS/synce-librapi2.spec	Sun Sep  2 18:25:32 2007
@@ -15,6 +15,7 @@
 BuildRequires:	automake >= 1.4
 BuildRequires:	libtool
 BuildRequires:	python-Pyrex
+BuildRequires:	python-devel
 BuildRequires:	rpmbuild(macros) >= 1.213
 BuildRequires:	synce-libsynce-devel >= %{version}
 %requires_eq_to synce-libsynce synce-libsynce-devel
@@ -55,6 +56,19 @@
 %description static -l pl.UTF-8
 Statyczna biblioteka RAPI.
 
+%package -n python-pyrapi2
+Summary:	Python bindinding for RAPI library
+Summary(pl.UTF-8):	Wiązanie Pythona do biblioteki RAPI
+Group:		Libraries/Python
+Requires:	%{name} = %{version}-%{release}
+%pyrequires_eq	python-libs
+
+%description -n python-pyrapi2
+Python bindinding for RAPI library.
+
+%description -n python-pyrapi2 -l pl.UTF-8
+Wiązanie Pythona do biblioteki RAPI.
+
 %prep
 %setup -q -n librapi2-%{version}
 #%patch0 -p1
@@ -87,7 +101,6 @@
 %doc README* TODO
 %attr(755,root,root) %{_bindir}/*
 %attr(755,root,root) %{_libdir}/librapi.so.*.*.*
-%{py_sitedir}/pyrapi2.so
 %{_mandir}/man1/*.1*
 
 %files devel
@@ -101,12 +114,19 @@
 %defattr(644,root,root,755)
 %{_libdir}/librapi.a
 
+%files -n python-pyrapi2
+%defattr(644,root,root,755)
+%{py_sitedir}/pyrapi2.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.15  2007/09/02 16:25:32  qboosh
+- separated python module
+
 Revision 1.14  2007/09/02 16:22:07  qboosh
 - no static python module
 
================================================================

---- CVS-web:
    http://cvs.pld-linux.org/cgi-bin/cvsweb.cgi/SPECS/synce-librapi2.spec?r1=1.14&r2=1.15&f=u



More information about the pld-cvs-commit mailing list