rpms/librapi/devel .cvsignore, 1.2, 1.3 librapi.spec, 1.1, 1.2 sources, 1.2, 1.3

Aurelien Bompard (abompard) fedora-extras-commits at redhat.com
Thu May 17 21:08:16 UTC 2007


Author: abompard

Update of /cvs/extras/rpms/librapi/devel
In directory cvs-int.fedora.redhat.com:/tmp/cvs-serv31689/librapi/devel

Modified Files:
	.cvsignore librapi.spec sources 
Log Message:
version 0.10.0


Index: .cvsignore
===================================================================
RCS file: /cvs/extras/rpms/librapi/devel/.cvsignore,v
retrieving revision 1.2
retrieving revision 1.3
diff -u -r1.2 -r1.3
--- .cvsignore	1 May 2007 08:08:32 -0000	1.2
+++ .cvsignore	17 May 2007 21:07:41 -0000	1.3
@@ -1 +1 @@
-synce-librapi-0.9.3.tar.gz
+synce-librapi2-0.10.0.tar.gz


Index: librapi.spec
===================================================================
RCS file: /cvs/extras/rpms/librapi/devel/librapi.spec,v
retrieving revision 1.1
retrieving revision 1.2
diff -u -r1.1 -r1.2
--- librapi.spec	1 May 2007 08:08:32 -0000	1.1
+++ librapi.spec	17 May 2007 21:07:41 -0000	1.2
@@ -1,16 +1,18 @@
+%{!?python_sitearch: %define python_sitearch %(%{__python} -c "from distutils.sysconfig import get_python_lib; print get_python_lib(1)")}
+
 Name:           librapi
-Version:        0.9.3
+Version:        0.10.0
 Release:        1%{?dist}
 Summary:        Library to connect to Pocket PC devices
 
 Group:          System Environment/Libraries
 License:        MIT
 URL:            http://www.synce.org
-Source0:        http://download.sf.net/synce/synce-librapi-%{version}.tar.gz
+Source0:        http://download.sf.net/synce/synce-librapi2-%{version}.tar.gz
 BuildRoot:      %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n)
 
 BuildRequires:  libsynce-devel
-BuildRequires:  libtool
+BuildRequires:  libtool, Pyrex
 
 # Provide an upgrade path from the monilithic synce package
 Provides:       synce = %{version}-%{release}
@@ -33,9 +35,19 @@
 %description devel
 This package contains the header files and link libraries for librapi
 
+%package -n python-rapi
+Summary: Python bindings to librapi (part of SynCE)
+Group: Development/Libraries
+Requires: %{name} = %{version}-%{release}
+
+%description -n python-rapi
+This package contains the python bindings to librapi, a componenent
+of the SynCE PocketPC connection framework.
+The python module to import is named "pyrapi2"
+
 
 %prep
-%setup -q
+%setup -q -n librapi2-%{version}
 
 
 %build
@@ -48,6 +60,7 @@
 make install DESTDIR=$RPM_BUILD_ROOT
 
 rm -f $RPM_BUILD_ROOT%{_libdir}/*.{la,a}
+rm -f $RPM_BUILD_ROOT%{python_sitearch}/pyrapi2.{la,a}
 
 
 %clean
@@ -62,35 +75,9 @@
 %files
 %defattr(-,root,root,-)
 %doc README TODO
-%{_bindir}/pcp
-%{_bindir}/pls
-%{_bindir}/pmkdir
-%{_bindir}/pmv
-%{_bindir}/prm
-%{_bindir}/prmdir
-%{_bindir}/prun
-%{_bindir}/pstatus
-%{_bindir}/pkillall
-%{_bindir}/psettime
-%{_bindir}/pshortcut
-%{_bindir}/rapiconfig
-%{_bindir}/synce-install-cab
-%{_bindir}/synce-list-programs
-%{_bindir}/synce-registry
-%{_bindir}/synce-remove-program
+%{_bindir}/*
 %{_libdir}/librapi.so.2*
-%{_mandir}/man1/pcp.*
-%{_mandir}/man1/pls.*
-%{_mandir}/man1/pmkdir.*
-%{_mandir}/man1/pmv.*
-%{_mandir}/man1/prm.*
-%{_mandir}/man1/prmdir.*
-%{_mandir}/man1/prun.*
-%{_mandir}/man1/pstatus.*
-%{_mandir}/man1/synce-install-cab.*
-%{_mandir}/man1/rapiconfig.*
-%{_mandir}/man1/synce-list-programs.*
-%{_mandir}/man1/synce-remove-program.*
+%{_mandir}/man1/*
 
 %files devel
 %defattr(-,root,root,-)
@@ -98,7 +85,15 @@
 %{_libdir}/lib*.so
 %{_libdir}/pkgconfig/*.pc
 
+%files -n python-rapi
+%defattr(-,root,root,-)
+%{python_sitearch}/pyrapi2.so
+
 
 %changelog
+* Wed May 09 2007 Aurelien Bompard <abompard at fedoraproject.org> 0.10.0-1
+- version 0.10.0
+- new python bindings in a subpackage
+
 * Sat Mar 03 2007 Aurelien Bompard <abompard at fedoraproject.org> 0.9.3-1
 - split off the synce package


Index: sources
===================================================================
RCS file: /cvs/extras/rpms/librapi/devel/sources,v
retrieving revision 1.2
retrieving revision 1.3
diff -u -r1.2 -r1.3
--- sources	1 May 2007 08:08:32 -0000	1.2
+++ sources	17 May 2007 21:07:41 -0000	1.3
@@ -1 +1 @@
-1dcb43bbbb43688839c3b19de77b7b4e  synce-librapi-0.9.3.tar.gz
+321632a4319690f1bffc9d1a5f7e4f00  synce-librapi2-0.10.0.tar.gz




More information about the fedora-extras-commits mailing list