disorderfs/disorderfs.spec

55 lines
1.7 KiB
RPMSpec
Raw Normal View History

#
# spec file for package disorderfs
#
# 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: disorderfs
Summary: FUSE filesystem that introduces non-determinism
License: GPL-3.0+
Group: Development/Tools/Building
BuildRequires: asciidoc
BuildRequires: gcc-c++
BuildRequires: libattr-devel
BuildRequires: pkgconfig(fuse)
Version: 0.5.1
Release: 0
Url: https://packages.debian.org/sid/disorderfs
Source0: http://http.debian.net/debian/pool/main/d/disorderfs/%{name}_%{version}.orig.tar.gz
BuildRoot: %{_tmppath}/%{name}-%{version}-build
%description
disorderfs is an overlay FUSE filesystem that introduces non-determinism into
filesystem metadata. For example, it can randomize the order in which
directory entries are read. This is useful for detecting non-determinism
in the build process.
%prep
%setup -q -c
%build
make
%install
make install DESTDIR=$RPM_BUILD_ROOT PREFIX=/usr ENABLE_MAN=yes
%files
%defattr(-, root, root)
%doc COPYING README NEWS
%{_bindir}/%{name}
%{_mandir}/man1/disorderfs.1.gz
%changelog