File obexfs.spec of Package obexfs

#
# spec file for package obexfs (Version 0.11)
#
# Copyright (c) 2008 SUSE LINUX Products GmbH, Nuernberg, Germany.
# This file and all modifications and additions to the pristine
# package are under the same license as the package itself.
#
# Please submit bugfixes or comments via http://bugs.opensuse.org/
#

# norootforbuild


Name:           obexfs
BuildRequires:  fuse-devel glib2-devel libusb-devel licenses obexftp-devel openobex-devel
Requires:       fuse licenses
Summary:        FUSE based filesystem using ObexFTP
Version:        0.11
Release:        1
License:        GPL v2 or later
Group:          System/Filesystems
Source:         %{name}-%{version}.tar.bz2
Url:            http://openobex.triq.net/obexfs
BuildRoot:      %{_tmppath}/%{name}-%{version}-build

%description
ObexFS is a fuse (FUSE-based filesystem) using obexftp (ObexFTP) to
access files on mobile phones.



Authors:
--------
    Christian W. Zuckschwerdt <zany@triq.net>

%prep
%setup -q

%build
autoreconf -fi
CFLAGS="$RPM_OPT_FLAGS" \
./configure --prefix=%{_prefix} --libdir=%{_libdir} --mandir=%{_mandir}
make

%install
make DESTDIR="$RPM_BUILD_ROOT" install
ln -sf ../../licenses/md5/$(md5sum COPYING | sed 's/ .*//') COPYING

%clean
rm -rf $RPM_BUILD_ROOT

%files
%defattr(-,root,root)
%doc AUTHORS COPYING* ChangeLog NEWS README*
%{_bindir}/*

%changelog
* Fri Jul 25 2008 mszeredi@suse.de
- updated to version 0.11
  * Added automatic bt channel selection
  * Added USB discovery
* Fri Aug 10 2007 bk@suse.de
- Add "Requires: fuse" to ensure that fuse is present (285101#c29)
- Remove nicely empty TODO :-) and symlink COPYING from licenses
* Tue May 22 2007 mszeredi@suse.de
- added libusb-devel build dependency
* Sun Oct 29 2006 meissner@suse.de
- use RPM_OPT_FLAGS
* Fri Aug 04 2006 cthiel@suse.de
- update to version 0.10
  * Removed statfs (caused problems on all but Siemens)
  * 64-bit safe printf format
  * added usb support
  * device/channel code cleanup
* Mon Apr 24 2006 cthiel@suse.de
- initial package (version 0.8)
openSUSE Build Service is sponsored by