ALT Linux repos
Group :: Communications
RPM: obexftp
Main Changelog Spec Patches Sources Download Gear Bugs and FR Repocop
# -*- rpm-spec -*-
# $Id: obexftp,v 1.12 2004/02/24 14:59:35 grigory Exp $
Summary: Access devices via ObexFTP e.g. Siemens Moblile Equipment
Name: obexftp
Version: 0.10.4
Release: alt3.rc3
Copyright: GPL
Group: Communications
URL: http://triq.net/gsm.html
Source: http://triq.net/obexftp/%name-%version-rc1.tar.gz
Requires: lib%name = %version
# Automatically added by buildreq on Fri May 30 2003
BuildRequires: gcc-c++ glibc-devel-static libopenobex-devel libgsm
%package -n lib%name
Summary: obexftp libraries
Group: System/Libraries
%package devel
Summary: Develop path of obexftp
Group: Development/C
Requires: lib%name = %version
%package devel-static
Summary: Static develop path of obexftp
Group: Development/C
Requires: %name-devel = %version
%description
This package contains some command line tools and the ObexFTP library.
Using OpenOBEX it enables you to transfer data via IrDA, BlueTooth
as well as some custom (Siemens, Ericsson) serial port protocols.
Authors: Christian W. Zuckschwerdt <zany at triq.net>
%description -n lib%name
Libraries for obexftp
%description devel
This package contains some command line tools and the ObexFTP library.
Using OpenOBEX it enables you to transfer data via IrDA, BlueTooth
as well as some custom (Siemens, Ericsson) serial port protocols.
%description devel-static
static development path
%prep
%setup
find . -type f -name "*.c" -or -name "*.h" | xargs %__subst 's|openobex/\(obex\.h\)|\1|g'
%__subst 's|\(SUBDIRS.*\) doc|\1|' Makefile*
%build
%configure
%__make
%install
%makeinstall man1dir=%buildroot%_man1dir noinstdir=`pwd`/docs
for i in obexls obexget obexput obexmv obexrm; do
%__ln_s obexftp %buildroot%_bindir/$i
done
%__install -m 0755 -D apps/discovery %buildroot%_bindir/obexftp-discovery
%__install -m 0644 -D doc/%name.1 %buildroot%_man1dir/%name.1
%files
%doc AUTHORS ChangeLog NEWS README* THANKS TODO
%_bindir/*
%_man1dir/*
%files -n lib%name
%_libdir/*.so.*
%files devel
%dir %_includedir/bfb
%dir %_includedir/cobexbfb
%dir %_includedir/cobexpe
%dir %_includedir/obexftp
%_includedir/*/*
%_libdir/*.so
# %_libdir/*.la
%files devel-static
%_libdir/*.a
%changelog
…
Full changelog you can see here
# $Id: obexftp,v 1.12 2004/02/24 14:59:35 grigory Exp $
Summary: Access devices via ObexFTP e.g. Siemens Moblile Equipment
Name: obexftp
Version: 0.10.4
Release: alt3.rc3
Copyright: GPL
Group: Communications
URL: http://triq.net/gsm.html
Source: http://triq.net/obexftp/%name-%version-rc1.tar.gz
Requires: lib%name = %version
# Automatically added by buildreq on Fri May 30 2003
BuildRequires: gcc-c++ glibc-devel-static libopenobex-devel libgsm
%package -n lib%name
Summary: obexftp libraries
Group: System/Libraries
%package devel
Summary: Develop path of obexftp
Group: Development/C
Requires: lib%name = %version
%package devel-static
Summary: Static develop path of obexftp
Group: Development/C
Requires: %name-devel = %version
%description
This package contains some command line tools and the ObexFTP library.
Using OpenOBEX it enables you to transfer data via IrDA, BlueTooth
as well as some custom (Siemens, Ericsson) serial port protocols.
Authors: Christian W. Zuckschwerdt <zany at triq.net>
%description -n lib%name
Libraries for obexftp
%description devel
This package contains some command line tools and the ObexFTP library.
Using OpenOBEX it enables you to transfer data via IrDA, BlueTooth
as well as some custom (Siemens, Ericsson) serial port protocols.
%description devel-static
static development path
%prep
%setup
find . -type f -name "*.c" -or -name "*.h" | xargs %__subst 's|openobex/\(obex\.h\)|\1|g'
%__subst 's|\(SUBDIRS.*\) doc|\1|' Makefile*
%build
%configure
%__make
%install
%makeinstall man1dir=%buildroot%_man1dir noinstdir=`pwd`/docs
for i in obexls obexget obexput obexmv obexrm; do
%__ln_s obexftp %buildroot%_bindir/$i
done
%__install -m 0755 -D apps/discovery %buildroot%_bindir/obexftp-discovery
%__install -m 0644 -D doc/%name.1 %buildroot%_man1dir/%name.1
%files
%doc AUTHORS ChangeLog NEWS README* THANKS TODO
%_bindir/*
%_man1dir/*
%files -n lib%name
%_libdir/*.so.*
%files devel
%dir %_includedir/bfb
%dir %_includedir/cobexbfb
%dir %_includedir/cobexpe
%dir %_includedir/obexftp
%_includedir/*/*
%_libdir/*.so
# %_libdir/*.la
%files devel-static
%_libdir/*.a
%changelog
…
Full changelog you can see here