File tardy.spec of Package tardy
#
# spec file for package tardy
#
# Copyright (c) 2017 SUSE LINUX GmbH, Nuernberg, Germany.
#
# 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 http://bugs.opensuse.org/
#
Name: tardy
Version: 1.28
Release: 0
Summary: Tar Archive Post-Processor
License: GPL-3.0 and LGPL-3.0
Group: Productivity/Archiving/Backup
Url: http://tardy.sourceforge.net/
Source0: http://sourceforge.net/projects/tardy/files/%{version}/%{name}-%{version}.D001.tar.gz
BuildRequires: bison
%if 0%{?suse_version} > 1325
BuildRequires: libboost_headers-devel
%else
BuildRequires: boost-devel
%endif
BuildRequires: cpio
BuildRequires: gcc-c++
BuildRequires: groff-full
BuildRequires: libbz2-devel
BuildRequires: libexplain-devel
BuildRequires: xz-devel
BuildRequires: zlib-devel
BuildRoot: %{_tmppath}/%{name}-%{version}-build
%description
The tardy program is a tar(1) post-processor. It may be used to manipulate the
file headers in tar(5) archive files in various ways.
%prep
%setup -q
%build
%configure
# parallel builds fail
make --jobs 1
%install
make DESTDIR=%{buildroot} install %{?_smp_mflags}
%files
%defattr(-,root,root)
%doc LICENSE AUTHORS README
%{_bindir}/tardy
%{_datadir}/doc/%{name}
%{_mandir}/man1/tardy.1%{ext_man}
%{_mandir}/man1/tardy_license.1%{ext_man}
%changelog