SPECS: obexftp.spec - updated to 0.22 - updated perl, nostress patches, remo...

qboosh qboosh at pld-linux.org
Mon Sep 1 20:10:00 CEST 2008


Author: qboosh                       Date: Mon Sep  1 18:10:00 2008 GMT
Module: SPECS                         Tag: HEAD
---- Log message:
- updated to 0.22
- updated perl,nostress patches, removed obsolete link,py-m4 patches
- package new ruby and tcl bindings
- libs license is LGPL (v2+)

---- Files affected:
SPECS:
   obexftp.spec (1.23 -> 1.24) 

---- Diffs:

================================================================
Index: SPECS/obexftp.spec
diff -u SPECS/obexftp.spec:1.23 SPECS/obexftp.spec:1.24
--- SPECS/obexftp.spec:1.23	Sun Aug 31 19:01:39 2008
+++ SPECS/obexftp.spec	Mon Sep  1 20:09:55 2008
@@ -3,17 +3,15 @@
 Summary:	File copying over the Object Exchange (OBEX) protocol
 Summary(pl.UTF-8):	Kopiowanie plików z wykorzystaniem protokołu Object Exchange (OBEX)
 Name:		obexftp
-Version:	0.20
-Release:	5
-License:	GPL v2
+Version:	0.22
+Release:	1
+License:	GPL v2+ (server, bindings), LGPL v2+ (libraries)
 Group:		Applications/Communications
 Source0:	http://dl.sourceforge.net/openobex/%{name}-%{version}.tar.bz2
-# Source0-md5:	86224a7a1880c25e9ba0b8997a97d299
+# Source0-md5:	d167cfdea244e3a5f973a7b16864419c
 Patch0:		%{name}-no_server.patch
-Patch1:		%{name}-link.patch
-Patch2:		%{name}-perl.patch
-Patch3:		%{name}-py-m4.patch
-Patch4:		%{name}-nostress.patch
+Patch1:		%{name}-perl.patch
+Patch2:		%{name}-nostress.patch
 URL:		http://triq.net/obex/
 BuildRequires:	autoconf
 BuildRequires:	automake
@@ -22,9 +20,12 @@
 BuildRequires:	openobex-devel
 BuildRequires:	perl-devel >= 1:5.8.0
 BuildRequires:	pkgconfig
-BuildRequires:	python-devel
+BuildRequires:	python-devel >= 1:2.5
 BuildRequires:	rpm-perlprov
 BuildRequires:	rpm-pythonprov
+BuildRequires:	rpmbuild(macros) >= 1.277
+BuildRequires:	ruby-devel
+BuildRequires:	tcl-devel
 Requires:	%{name}-libs = %{version}-%{release}
 BuildRoot:	%{tmpdir}/%{name}-%{version}-root-%(id -u -n)
 
@@ -39,6 +40,7 @@
 %package libs
 Summary:	ObexFTP libraries
 Summary(pl.UTF-8):	Biblioteki ObexFTP
+License:	LGPL v2+
 Group:		Libraries
 
 %description libs
@@ -51,6 +53,7 @@
 Summary:	Header files for ObexFTP
 Summary(es.UTF-8):	Ficheros de cabecera para ObexFTP
 Summary(pl.UTF-8):	Pliki nagłówkowe ObexFTP
+License:	LGPL v2+
 Group:		Development/Libraries
 Requires:	%{name}-libs = %{version}-%{release}
 Requires:	bluez-libs-devel
@@ -68,6 +71,7 @@
 Summary:	Static ObexFTP library
 Summary(es.UTF-8):	Biblioteca estática de ObexFTP
 Summary(pl.UTF-8):	Biblioteka statyczna ObexFTP
+License:	LGPL v2+
 Group:		Development/Libraries
 Requires:	%{name}-devel = %{version}-%{release}
 
@@ -80,6 +84,7 @@
 %package -n perl-obexftp
 Summary:	Perl binding for ObexFTP library
 Summary(pl.UTF-8):	Wiązanie Perla dla biblioteki ObexFTP
+License:	GPL v2+
 Group:		Development/Languages/Perl
 Requires:	%{name}-libs = %{version}-%{release}
 
@@ -92,6 +97,7 @@
 %package -n python-obexftp
 Summary:	Python binding for ObexFTP library
 Summary(pl.UTF-8):	Wiązanie Pythona dla biblioteki ObexFTP
+License:	GPL v2+
 Group:		Libraries/Python
 Requires:	%{name}-libs = %{version}-%{release}
 %pyrequires_eq	python-libs
@@ -102,13 +108,42 @@
 %description -n python-obexftp -l pl.UTF-8
 Wiązanie Pythona dla biblioteki ObexFTP.
 
+%package -n ruby-obexftp
+Summary:	Ruby binding for ObexFTP library
+Summary(pl.UTF-8):	Wiązanie języka Ruby dla biblioteki ObexFTP
+License:	GPL v2+
+Group:		Development/Languages
+Requires:	%{name}-libs = %{version}-%{release}
+%{?ruby_mod_ver_requires_eq}
+
+%description -n ruby-obexftp
+Ruby binding for ObexFTP library.
+
+%description -n ruby-obexftp -l pl.UTF-8
+Wiązanie języka Ruby dla biblioteki ObexFTP.
+
+%package -n tcl-obexftp
+Summary:	Tcl binding for ObexFTP library
+Summary(pl.UTF-8):	Wiązanie Tcl-a dla biblioteki ObexFTP
+License:	GPL v2+
+Group:		Development/Languages
+Requires:	%{name}-libs = %{version}-%{release}
+Requires:	tcl
+
+%description -n tcl-obexftp
+Tcl binding for ObexFTP library.
+
+%description -n tcl-obexftp -l pl.UTF-8
+Wiązanie Tcl-a dla biblioteki ObexFTP.
+
 %prep
 %setup -q
 %patch0 -p1
 %patch1 -p1
 %patch2 -p1
-%patch3 -p1
-%patch4 -p0
+
+# hack for -L/usr/%{_lib} before -L../../obexftp/.libs
+ln -sf ../../obexftp/.libs/libobexftp.so swig/ruby
 
 %build
 %{__libtoolize}
@@ -125,9 +160,9 @@
 %{__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
+%{__rm} $RPM_BUILD_ROOT%{_libdir}/obexftp.{la,a}
+%{__rm} $RPM_BUILD_ROOT%{perl_vendorarch}/auto/OBEXFTP/.packlist
+%py_postclean
 
 %clean
 rm -rf $RPM_BUILD_ROOT
@@ -135,25 +170,44 @@
 %post	libs -p /sbin/ldconfig
 %postun	libs -p /sbin/ldconfig
 
+%post	-n tcl-obexftp -p /sbin/ldconfig
+%postun	-n tcl-obexftp -p /sbin/ldconfig
+
 %files
 %defattr(644,root,root,755)
 %doc doc/obexftp*.html README* NEWS THANKS TODO AUTHORS ChangeLog
-%attr(755,root,root) %{_bindir}/*
-%{_mandir}/man1/*
+%attr(755,root,root) %{_bindir}/obexftp
+%attr(755,root,root) %{_bindir}/obexftpd
+%{_mandir}/man1/obexftp.1*
+%{_mandir}/man1/obexftpd.1*
 
 %files libs
 %defattr(644,root,root,755)
-%attr(755,root,root) %{_libdir}/lib*.so.*.*
+%attr(755,root,root) %{_libdir}/libbfb.so.*.*.*
+%attr(755,root,root) %ghost %{_libdir}/libbfb.so.0
+%attr(755,root,root) %{_libdir}/libmulticobex.so.*.*.*
+%attr(755,root,root) %ghost %{_libdir}/libmulticobex.so.1
+%attr(755,root,root) %{_libdir}/libobexftp.so.*.*.*
+%attr(755,root,root) %ghost %{_libdir}/libobexftp.so.0
 
 %files devel
 %defattr(644,root,root,755)
-%attr(755,root,root) %{_libdir}/lib*.so
-%{_libdir}/lib*.la
-%{_includedir}/*
+%attr(755,root,root) %{_libdir}/libbfb.so
+%attr(755,root,root) %{_libdir}/libmulticobex.so
+%attr(755,root,root) %{_libdir}/libobexftp.so
+%{_libdir}/libbfb.la
+%{_libdir}/libmulticobex.la
+%{_libdir}/libobexftp.la
+%{_includedir}/bfb
+%{_includedir}/multicobex
+%{_includedir}/obexftp
+%{_pkgconfigdir}/obexftp.pc
 
 %files static
 %defattr(644,root,root,755)
-%{_libdir}/lib*.a
+%{_libdir}/libbfb.a
+%{_libdir}/libmulticobex.a
+%{_libdir}/libobexftp.a
 
 %files -n perl-obexftp
 %defattr(644,root,root,755)
@@ -166,8 +220,19 @@
 %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]
+%{py_sitedir}/obexftp/__init__.py[co]
+%{py_sitedir}/obexftp-*.egg-info
+
+%files -n ruby-obexftp
+%defattr(644,root,root,755)
+%attr(755,root,root) %{ruby_sitearchdir}/obexftp.so
+
+%files -n tcl-obexftp
+%defattr(644,root,root,755)
+# -avoid-version missing
+%attr(755,root,root) %{_libdir}/obexftp.so.*.*.*
+%attr(755,root,root) %ghost %{_libdir}/obexftp.so.0
+%attr(755,root,root) %{_libdir}/obexftp.so
 
 %define date	%(echo `LC_ALL="C" date +"%a %b %d %Y"`)
 %changelog
@@ -175,6 +240,12 @@
 All persons listed below can be reached at <cvs_login>@pld-linux.org
 
 $Log$
+Revision 1.24  2008/09/01 18:09:55  qboosh
+- updated to 0.22
+- updated perl,nostress patches, removed obsolete link,py-m4 patches
+- package new ruby and tcl bindings
+- libs license is LGPL (v2+)
+
 Revision 1.23  2008/08/31 17:01:39  arekm
 - release 5
 
================================================================

---- CVS-web:
    http://cvs.pld-linux.org/cgi-bin/cvsweb.cgi/SPECS/obexftp.spec?r1=1.23&r2=1.24&f=u



More information about the pld-cvs-commit mailing list