SPECS: synce-rra.spec - added python-pyrra

qboosh qboosh at pld-linux.org
Sun Sep 2 18:48:27 CEST 2007


Author: qboosh                       Date: Sun Sep  2 16:48:27 2007 GMT
Module: SPECS                         Tag: HEAD
---- Log message:
- added python-pyrra

---- Files affected:
SPECS:
   synce-rra.spec (1.11 -> 1.12) 

---- Diffs:

================================================================
Index: SPECS/synce-rra.spec
diff -u SPECS/synce-rra.spec:1.11 SPECS/synce-rra.spec:1.12
--- SPECS/synce-rra.spec:1.11	Wed Aug 29 23:13:02 2007
+++ SPECS/synce-rra.spec	Sun Sep  2 18:48:22 2007
@@ -1,6 +1,4 @@
 # $Revision$, $Date$
-# TODO
-# - python bindings
 Summary:	RRA - SynCE synchronization application
 Summary(pl.UTF-8):	RRA - aplikacja SynCE do synchronizacji
 Name:		synce-rra
@@ -16,6 +14,8 @@
 BuildRequires:	automake >= 1.4
 BuildRequires:	libmimedir-vlm-devel
 BuildRequires:	libtool
+BuildRequires:	python-Pyrex
+BuildRequires:	python-devel >= 2.2
 BuildRequires:	rpmbuild(macros) >= 1.213
 BuildRequires:	synce-librapi2-devel >= 0.10.0
 BuildRequires:	synce-libsynce-devel >= 0.10.0
@@ -56,7 +56,7 @@
 Summary:	Static RRA library
 Summary(pl.UTF-8):	Statyczna biblioteka RRA
 Group:		Development/Libraries
-Requires:	%{name} = %{version}-%{release}
+Requires:	%{name}-devel = %{version}-%{release}
 
 %description static
 Static RRA library.
@@ -64,6 +64,18 @@
 %description static -l pl.UTF-8
 Statyczna biblioteka RRA.
 
+%package -n python-pyrra
+Summary:	Python binding for RRA library
+Summary(pl.UTF-8):	Wiązanie Pythona do biblioteki RRA
+Group:		Libraries/Python
+Requires:	%{name} = %{version}-%{release}
+
+%description -n python-pyrra
+Python binding for RRA library.
+
+%description -n python-pyrra -l pl.UTF-8
+Wiązanie Pythona do biblioteki RRA.
+
 %prep
 %setup -q
 %patch0 -p1
@@ -84,6 +96,8 @@
 %{__make} install \
 	DESTDIR=$RPM_BUILD_ROOT
 
+rm -f $RPM_BUILD_ROOT%{py_sitedir}/pyrra.{la,a}
+
 %clean
 rm -rf $RPM_BUILD_ROOT
 
@@ -104,20 +118,24 @@
 %{_libdir}/librra.la
 %{_includedir}/rra
 %{_pkgconfigdir}/librra.pc
-#%{py_sitedir}/pyrra.a
-#%{py_sitedir}/pyrra.la
-#%{py_sitedir}/pyrra.so
 
 %files static
 %defattr(644,root,root,755)
 %{_libdir}/librra.a
 
+%files -n python-pyrra
+%defattr(644,root,root,755)
+%attr(755,root,root) %{py_sitedir}/pyrra.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.12  2007/09/02 16:48:22  qboosh
+- added python-pyrra
+
 Revision 1.11  2007/08/29 21:13:02  glen
 - update to 0.10.0
 
================================================================

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



More information about the pld-cvs-commit mailing list