%define major 0 %define libname qgraf %define libnamedev qgraf-devel %define develnamestatic qgraf-static-devel Name: qgraf Version: 3.4.2 Release: 1%{?dist} License: Unknown Url: http://cfif.ist.utl.pt/~paulo/qgraf.html Source0: %{name}-%{version}.tgz Source1: qgraf-patch.tar Summary: A piece of software that can generate Feynman diagrams BuildRequires: gcc-gfortran gcc gcc-c++ BuildRequires: autoconf automake libtool Prefix: %{_prefix} %description QGRAF is a piece of software that can generate Feynman diagrams and represent them by symbolic expressions; no graphical output is generated, though. It was written to assist in large perturbative calculations, in the context of Quantum Field Theory. %define __arch_install_post %(/bin/true) %prep %setup -q -D -n . tar -xf %SOURCE1 touch ./NEWS touch ./README touch ./AUTHORS touch ./ChangeLog %build autoreconf -fisv %configure make %{?_smp_mflags} %install %make_install %files -n %{libname} %_bindir/* %doc AUTHORS README COPYING %changelog * Thu May 26 2016 Andrii Verbytskyi 3.1.4 + Initial spec file