File fstransform.spec of Package fstransform

#
# spec file for package fstransform
#
# 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:           fstransform
Version:        0.9.4
Release:        0
Summary:        In-place conversion between file system types
License:        GPL-3.0-or-later
Group:          System/utilities
URL:            https://github.com/cosmos72/fstransform
Source:         %{name}-%{version}.tar.gz
Patch1:         %name-0.9.4-reiser4.patch
BuildRequires:  autoconf
BuildRequires:  automake
BuildRequires:  gcc-c++
BuildRequires:  zlib-devel

%description
fstransform is a tool to change a file-system from one format to another, for
example from jfs/xfs/reiser to ext2/ext3/ext4, in-place.

%prep
%setup -q
%patch1 -p1
ln -sf README.md README

%build
autoreconf -fisv
%configure
make %{?_smp_mflags}

%install
%make_install

%files
%defattr(-,root,root)
%doc ChangeLog README.* AUTHORS TODO doc/README.* doc/*.txt
%_sbindir/*

%changelog
openSUSE Build Service is sponsored by