Author: qboosh Date: Sun Sep 10 11:15:06 2006 GMT Module: SPECS Tag: HEAD ---- Log message: - added link,perl patches, killed as-needed filterout - build perl and python bindings
---- Files affected: SPECS: obexftp.spec (1.14 -> 1.15) ---- Diffs: ================================================================ Index: SPECS/obexftp.spec diff -u SPECS/obexftp.spec:1.14 SPECS/obexftp.spec:1.15 --- SPECS/obexftp.spec:1.14 Sun Sep 10 09:54:40 2006 +++ SPECS/obexftp.spec Sun Sep 10 13:15:00 2006 @@ -1,4 +1,5 @@ # $Revision$, $Date$ +%include /usr/lib/rpm/macros.perl Summary: File copying over the Object Exchange (OBEX) protocol Summary(pl): Kopiowanie plików z wykorzystaniem protokołu Object Exchange (OBEX) Name: obexftp @@ -9,17 +10,21 @@ Source0: http://dl.sourceforge.net/openobex/%{name}-%{version}.tar.bz2 # Source0-md5: 86224a7a1880c25e9ba0b8997a97d299 Patch0: %{name}-no_server.patch +Patch1: %{name}-link.patch +Patch2: %{name}-perl.patch URL: http://triq.net/obex/ BuildRequires: autoconf BuildRequires: automake BuildRequires: bluez-libs-devel BuildRequires: libtool BuildRequires: openobex-devel +BuildRequires: perl-devel >= 1:5.8.0 +BuildRequires: python-devel +BuildRequires: rpm-perlprov +BuildRequires: rpm-pythonprov Requires: %{name}-libs = %{version}-%{release} BuildRoot: %{tmpdir}/%{name}-%{version}-root-%(id -u -n) -%define filterout_ld (-Wl,)?--as-needed - %description Free open source application for file copying over the Object Exchange (OBEX) protocol. @@ -67,9 +72,36 @@ %description static -l pl Biblioteka statyczna ObexFTP. +%package -n perl-obexftp +Summary: Perl binding for ObexFTP library +Summary(pl): Wiązanie Perla dla biblioteki ObexFTP +Group: Development/Languages/Perl +Requires: %{name}-libs = %{version}-%{release} + +%description -n perl-obexftp +Perl binding for ObexFTP library. + +%description -n perl-obexftp -l pl +Wiązanie Perla dla biblioteki ObexFTP. + +%package -n python-obexftp +Summary: Python binding for ObexFTP library +Summary(pl): Wiązanie Pythona dla biblioteki ObexFTP +Group: Libraries/Python +Requires: %{name}-libs = %{version}-%{release} +%pyrequires_eq python-libs + +%description -n python-obexftp +Python binding for ObexFTP library. + +%description -n python-obexftp -l pl +Wiązanie Pythona dla biblioteki ObexFTP. + %prep %setup -q %patch0 -p1 +%patch1 -p1 +%patch2 -p1 %build %{__libtoolize} @@ -86,6 +118,10 @@ %{__make} install \ DESTDIR=$RPM_BUILD_ROOT +rm -f $RPM_BUILD_ROOT%{perl_vendorarch}/auto/OBEXFTP/.packlist +rm -f $RPM_BUILD_ROOT%{py_sitedir}/obexftp/_obexftp.{la,a} +rm -f $RPM_BUILD_ROOT%{py_sitescriptdir}/obexftp/*.py + %clean rm -rf $RPM_BUILD_ROOT @@ -94,7 +130,7 @@ %files %defattr(644,root,root,755) -%doc doc/obexftp* README* NEWS THANKS TODO AUTHORS ChangeLog +%doc doc/obexftp*.html README* NEWS THANKS TODO AUTHORS ChangeLog %attr(755,root,root) %{_bindir}/* %{_mandir}/man1/* @@ -112,12 +148,30 @@ %defattr(644,root,root,755) %{_libdir}/lib*.a +%files -n perl-obexftp +%defattr(644,root,root,755) +%{perl_vendorarch}/OBEXFTP.pm +%dir %{perl_vendorarch}/auto/OBEXFTP +%attr(755,root,root) %{perl_vendorarch}/auto/OBEXFTP/OBEXFTP.so +%{perl_vendorarch}/auto/OBEXFTP/OBEXFTP.bs + +%files -n python-obexftp +%defattr(644,root,root,755) +%dir %{py_sitedir}/obexftp +%attr(755,root,root) %{py_sitedir}/obexftp/_obexftp.so +%dir %{py_sitescriptdir}/obexftp +%{py_sitescriptdir}/obexftp/__init__.py[co] + %define date %(echo `LC_ALL="C" date +"%a %b %d %Y"`) %changelog * %{date} PLD Team <[EMAIL PROTECTED]> All persons listed below can be reached at <cvs_login>@pld-linux.org $Log$ +Revision 1.15 2006/09/10 11:15:00 qboosh +- added link,perl patches, killed as-needed filterout +- build perl and python bindings + Revision 1.14 2006/09/10 07:54:40 qboosh - unified sf URL ================================================================ ---- CVS-web: http://cvs.pld-linux.org/SPECS/obexftp.spec?r1=1.14&r2=1.15&f=u _______________________________________________ pld-cvs-commit mailing list [email protected] http://lists.pld-linux.org/mailman/listinfo/pld-cvs-commit
