File obexftp.spec of Package obexftp
#
# spec file for package obexftp (Version 0.22)
#
# Copyright (c) 2008 SUSE LINUX Products GmbH, Nuernberg, Germany.
#
# All modifications and additions to the file contributed by third parties
# remain the property of their copyright owners, unless otherwise agreed
# upon. The license for this file, and modifications and additions to the
# file, is the same license as for the pristine package itself (unless the
# license for the pristine package is not an Open Source License, in which
# case the license is the MIT License). An "Open Source License" is a
# license that conforms to the Open Source Definition (Version 1.9)
# published by the Open Source Initiative.
# Please submit bugfixes or comments via http://bugs.opensuse.org/
#
# norootforbuild
Name: obexftp
BuildRequires: bluez-devel openobex-devel pkgconfig python-devel
License: GPL v2 or later
Group: Productivity/Networking/Other
AutoReqProv: on
Version: 0.22
Release: 37
Summary: ObexFTP Implements the Object Exchange (OBEX) Protocol's File Transfer Feature
Url: http://triq.net/obexftp
Source: %name-%version.tar.bz2
Patch0: gcc43.diff
BuildRoot: %{_tmppath}/%{name}-%{version}-build
%description
ObexFTP works with all protocols supported by openobex (OpenOBEX).
Currently, these are: - irda (IrDA),
- bluez-utils (BlueTooth)
- setserial (Serial)
Authors:
--------
Christian W. Zuckschwerdt <zany@triq.net>
%package devel
License: GPL v2 or later
Summary: Development package for obexftp
Group: Productivity/Networking/Other
Requires: %name = %version
Requires: bluez-devel openobex-devel
%description devel
Files needed for software development using obexftp.
Authors:
--------
Christian W. Zuckschwerdt <zany@triq.net>
%prep
%setup -q
%patch0
%build
cp /usr/share/gettext/config.rpath .
libtoolize --force
autoreconf -fi
export CFLAGS="$RPM_OPT_FLAGS"
%configure --disable-perl
make
cd swig/perl
perl Makefile.PL
make -f Makefile.perl
%install
make "DESTDIR=$RPM_BUILD_ROOT" install
cd swig/perl
make -f Makefile.perl DESTDIR=$RPM_BUILD_ROOT install_vendor
%perl_process_packlist
%post -p /sbin/ldconfig
%postun -p /sbin/ldconfig
%clean
rm -rf %{buildroot}
%files
%defattr(-,root,root)
%doc AUTHORS ChangeLog NEWS README THANKS TODO
%{_bindir}/*
%{_libdir}/lib*.so.*
%{_mandir}/*/*
%files devel
%defattr(-,root,root)
%_libdir/lib*.la
%_libdir/lib*.a
%_libdir/lib*.so
%_includedir/bfb
%_includedir/obexftp
%_includedir/multicobex
%_libdir/pkgconfig/obexftp.pc
%package -n python-obexftp
License: GPL v2 or later
Summary: ObexFTP Implements the Object Exchange (OBEX) - Python bindings
Group: Productivity/Networking/Other
Requires: %name = %version
%description -n python-obexftp
ObexFTP works out-of-the-box with all protocols supported by OpenOBEX.
Currently IrDA, BlueTooth, and Serial.
This package contains the python bindings.
Authors:
--------
Christian W. Zuckschwerdt <zany@triq.net>
%files -n python-obexftp
%defattr(-,root,root)
%{py_sitedir}/*
%package -n perl-obexftp
License: GPL v2 or later
Summary: ObexFTP Implements the Object Exchange (OBEX) - Perl bindings
Group: Productivity/Networking/Other
Requires: %name = %version
Requires: perl-base = %{perl_version}
%description -n perl-obexftp
ObexFTP works out-of-the-box with all protocols supported by OpenOBEX.
Currently IrDA, BlueTooth, and Serial.
This package contains the Perl bindings.
Authors:
--------
Christian W. Zuckschwerdt <zany@triq.net>
%files -n perl-obexftp
%defattr(-,root,root)
/var/adm/perl-modules/obexftp
%{perl_vendorarch}/OBEXFTP.pm
%{perl_vendorarch}/auto/OBEXFTP
%changelog
* Tue Sep 16 2008 ro@suse.de
- fix requires for devel package
* Mon Sep 15 2008 dmueller@suse.de
- adjust buildrequires
* Wed Jun 25 2008 dmueller@suse.de
- update to 0.22:
* for changelog, see included ChangeLog
* Fri Jun 22 2007 dmueller@suse.de
- split off perl- and python- bindings to remove
python depenceny from main package
* Fri May 18 2007 olh@suse.de
- remove unneeded libusb from -devel Requires
* Mon May 07 2007 sbrabec@suse.cz
- Fixed LDFLAGS to include needed libraries explicitly.
* Sun Apr 22 2007 dgollub@suse.de
- Make use of LIBADD instead of LDADD.
* Mon Oct 16 2006 schwab@suse.de
- Make sure config.rpath is present.
* Wed Jun 28 2006 cthiel@suse.de
- update to version 0.21
* Fixes to obexftpd
* Added ruby binding
* Added preliminary discovery function
* Tue Jun 27 2006 cthiel@suse.de
- update to version 0.20
* Change __S_IFDIR to S_IFDIR with fallback sug.
* Added old CLI switches and documentation sug.
* Fixed the -g CLI switch
* Added obexfsd
* Fixed iconv
* device/channel code cleanup
* Mon Apr 24 2006 cthiel@suse.de
- update to version 0.19
* Updated for OpenOBEX 1.1 (pkg-config)
* Added --output switch
* Simplified the swig/perl/Makefile.am.
* Fixed a pointer typo and a free() typo.
* Added perl, python and tcl binding with swig.
* Rewrote folder-listing parser to enhance compatibility
* Connection headers
* Nokia hack (suppressing FBS)
* Capabilty retrieving
* USB support
* Added implicit setpath support in every function.
* Added simple caching
* Removed recursive put. Apps should implement it themselves.
* New configure flag to enable building docs
* Documentation updated
- dropped obexftp-irda.patch
- dropped obexftp-noxml.patch
* Wed Jan 25 2006 mls@suse.de
- converted neededforbuild to BuildRequires
* Tue Aug 23 2005 hvogel@suse.de
- update to version 0.10.7
* Mon Sep 06 2004 hvogel@suse.de
- make irda work again [Bug #43363]
* Thu Feb 12 2004 hvogel@suse.de
- update to version 0.10.4rc3
- split into main package and -devel
- spec file clean up
- include more documentation
* Thu Jan 29 2004 hvogel@suse.de
- mark man pages as documentation
* Tue Jan 27 2004 ro@suse.de
- added openobex-devel to neededforbuild
* Fri Jan 16 2004 meissner@suse.de
- Initial version 0.10.3.