File httpfs.spec of Package httpfs
#
# spec file for package httpfs
#
# 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: httpfs
Version: 0.1.5
Release: 0
Summary: FUSE filesystem for accessing HTTP resources
License: GPL-2.0-or-later
URL: https://httpfs.sourceforge.net/
Source: https://sourceforge.net/projects/httpfs/files/%{name}2/%{name}2-0.1.5.tar.gz
Patch1: httpfs-EAGAIN
# Patch2: httpfs-URL
Patch3: httpfs-errno
BuildRequires: asciidoc
BuildRequires: dpkg
BuildRequires: pkgconfig
BuildRequires: pkgconfig(fuse)
BuildRequires: pkgconfig(gnutls)
%description
Tool to mount a HTTP published resource as a file in the filesystem.
Tends to be usful for installation media.
%prep
%autosetup -p1 -n %{name}2-%{version}
%build
%make_build
%install
install -m 755 -D httpfs2-ssl-mt %{buildroot}/%{_bindir}/httpfs
install -m 644 -D httpfs2-ssl.1 %{buildroot}/%{_mandir}/man1/httpfs.1
%files
%license debian/copyright
%doc httpfs2.1.txt
%{_bindir}/httpfs
%{_mandir}/man1/httpfs.1.gz
%changelog