Prepare for RPM 4.20 OBS-URL: https://build.opensuse.org/request/show/1150725 OBS-URL: https://build.opensuse.org/package/show/filesystems/fusesmb?expand=0&rev=13
63 lines
1.9 KiB
RPMSpec
63 lines
1.9 KiB
RPMSpec
#
|
|
# spec file for package fusesmb
|
|
#
|
|
# Copyright (c) 2023 SUSE LLC
|
|
#
|
|
# 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 https://bugs.opensuse.org/
|
|
#
|
|
|
|
|
|
Name: fusesmb
|
|
BuildRequires: automake
|
|
BuildRequires: fuse-devel
|
|
BuildRequires: glib2-devel
|
|
BuildRequires: libsmbclient-devel
|
|
BuildRequires: samba-client
|
|
Requires: fuse
|
|
Summary: SMB for FUSE
|
|
License: GPL-2.0-or-later
|
|
Group: System/Filesystems
|
|
Version: 0.8.7
|
|
Release: 0
|
|
Source: %{name}-%{version}.tar.bz2
|
|
Patch0: search_path_fix.patch
|
|
Patch1: single_thread.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.
|
|
|
|
%prep
|
|
%autosetup -p1
|
|
|
|
%build
|
|
autoreconf -fi
|
|
CFLAGS="%{optflags} `pkg-config --cflags smbclient`"
|
|
%configure
|
|
make %{?_smp_mflags}
|
|
|
|
%install
|
|
make DESTDIR="$RPM_BUILD_ROOT" install
|
|
|
|
%files
|
|
%defattr(-,root,root)
|
|
%doc AUTHORS COPYING* ChangeLog README* TODO
|
|
%{_bindir}/*
|
|
%{_mandir}/*/fusesmb*
|
|
|
|
%changelog
|