Name: HepPDT Version: 3.04.01 Release: 2%{?dist} Summary: Helpers for HEP Monte Carlo Generators License: GPLv2+ URL: http://hepmc.web.cern.ch/hepmc/ Source0: http://hepmc.web.cern.ch/hepmc/releases/%{name}-%{version}.tar.gz BuildRequires: gcc-c++ %description The HepPDT package %package devel Summary: Helpers for HEP Monte Carlo Generators Requires: %{name}%{?_isa} = %{version}-%{release} %description devel This package provides development files of HepPDT. %package doc Summary: Helpers for HEP Monte Carlo Generators - documentation BuildArch: noarch %description doc This package provides HepPDT manuals and examples. %prep %setup -q %build %configure --disable-static make %{?_smp_mflags} %install make install DESTDIR=%{buildroot} mkdir -p %{buildroot}%{_pkgdocdir} mv %{buildroot}/usr/examples %{buildroot}%{_pkgdocdir} mv %{buildroot}/usr/doc %{buildroot}%{_pkgdocdir} mv %{buildroot}/usr/data %{buildroot}%{_datadir}/%{name}/ #install -p -m 644 AUTHORS %{buildroot}%{_pkgdocdir} #install -p -m 644 ChangeLog %{buildroot}%{_pkgdocdir} #install -p -m 644 README %{buildroot}%{_pkgdocdir} #%{!?_licensedir: install -p -m 644 COPYING %{buildroot}%{_pkgdocdir}} %check #make check %ldconfig_scriptlets %files %{_libdir}/lib*.so* #%dir %{_pkgdocdir} #%doc %{_pkgdocdir}/AUTHORS #%doc %{_pkgdocdir}/ChangeLog #%doc %{_pkgdocdir}/README #%{!?_licensedir: %doc %{_pkgdocdir}/COPYING} #%{?_licensedir: %license COPYING} %files devel %{_libdir}/lib*.so %{_includedir}/%{name} %{_includedir}/HepPID %files doc %dir %{_pkgdocdir} #%doc %{_pkgdocdir}/examples %dir %{_datadir}/%{name}/ %{_datadir}/%{name}/* %doc %{_pkgdocdir}/ #%doc %{_pkgdocdir}/*.pdf #%{!?_licensedir: %doc %{_pkgdocdir}/COPYING} #%{?_licensedir: %license COPYING} %changelog * Tue Jan 28 2020 AV - 3.04.01-1 - Initial