File fusesmb.spec of Package fusesmb

#
# spec file for package fusesmb (Version 0.8.7)
#
# Copyright (c) 2007 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:           fusesmb
BuildRequires:  fuse-devel glib2-devel libsmbclient-devel licenses samba-client
Requires:       fuse licenses
Summary:        SMB for FUSE
Version:        0.8.7
Release:        1
License:        GPL v2 or later
Group:          System/Filesystems
Source:         %{name}-%{version}.tar.bz2
Patch:          search_path_fix.patch
Url:            http://www.ricardis.tudelft.nl/~vincent/fusesmb/
BuildRoot:      %{_tmppath}/%{name}-%{version}-build

%description
SMB for fuse (FUSE) is a filesystem which allows to mount a full
Network Neighborhood with samba (Samba) and other SMB shares. It works
like smbfs, but instead of accessing one share at a time, all computers
and workgroups are accessible at once from a single filesystem mount,
making network browsing just as easy as it is on Windows.



Authors:
--------
    Vincent Wagelaar <vincent@ricardis.tudelft.nl>

%prep
%setup
%patch -p1

%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 README* TODO
%{_bindir}/*
%{_mandir}/*/fusesmb*

%changelog
* Fri Nov 23 2007 - mszeredi@suse.de
- update to version 0.8.7 (fixes #338527)
- fix searching for fusesmb.cache in path
* Fri Aug 10 2007 - bk@suse.de
- Add "Requires: fuse" to ensure that fuse is present (285101#c29)
- Remove empty NEWS file and symlink COPYING file from licenses
* Tue May 09 2006 - cthiel@suse.de
- update to version 0.8.5 (fixes licensing)
* Sun Apr 23 2006 - cthiel@suse.de
- initial package (version 0.8.4)
openSUSE Build Service is sponsored by