Name: creduce Version: 2.6.0 Release: 1%{?dist} Summary: A C program reducer Group: Development/Tools License: NCSA URL: http://embed.cs.utah.edu/creduce/ Source0: http://embed.cs.utah.edu/creduce/creduce-%{version}.tar.gz # Each C-Reduce version is specific to a particular LLVM version. %global llvm_version 3.9.0 BuildRequires: llvm-devel = %{llvm_version} BuildRequires: clang-devel = %{llvm_version} BuildRequires: zlib-devel BuildRequires: ncurses-devel BuildRequires: perl Requires: clang = %{llvm_version} Requires: perl(Exporter::Lite) Requires: perl(File::Which) Requires: perl(Getopt::Tabular) Requires: perl(Regexp::Common) Requires: perl(Sys::CPU) Requires: perl(Term::ReadKey) %description C-Reduce is a tool that takes a large C, C++, or OpenCL file that has a property of interest (such as triggering a compiler bug) and automatically produces a much smaller C/C++ file that has the same property. It is intended for use by people who discover and report bugs in compilers and other tools that process source code. %prep %setup -q %build %configure make %{?_smp_mflags} %install %make_install %files %{_bindir}/creduce %{_prefix}/libexec/clang_delta %{_prefix}/libexec/clex %{_prefix}/libexec/strlex %{_prefix}/libexec/topformflat %{_prefix}/libexec/unifdef %{_prefix}/share/creduce/perl %license COPYING %changelog * Tue Feb 07 2017 Jonathan Wakely - 2.6.0-1 - Initial version.