Name: xmakemol Version: 5.16 Release: 14%{?dist} Summary: Program for visualizing atomic and molecular systems License: GPLv2+ URL: https://www.nongnu.org/xmakemol/ Source0: http://savannah.nongnu.org/download/xmakemol/xmakemol-%{version}.tar.gz # Fix FSF address Patch0: xmakemol-5.16-fsf.patch # Patches from debian Patch1: xmakemol-5.16-fix_vectors_on_atoms.patch Patch2: xmakemol-5.16-h-bond.patch Patch3: xmakemol-5.16-print_torsions.patch # Fix multiple definition of bbox Patch4: xmakemol-5.16-extern.patch # Fix BZ#1914657, crash about NULL widget class Patch5: xmakemol-5.16-widget.patch BuildRequires: make BuildRequires: gcc BuildRequires: freeglut-devel BuildRequires: mesa-libGLU-devel BuildRequires: mesa-libGLw-devel BuildRequires: libX11-devel BuildRequires: libXi-devel BuildRequires: libXpm-devel BuildRequires: libICE-devel BuildRequires: zlib-devel BuildRequires: motif-devel %description XMakemol is a mouse-based program, written using the LessTif widget set, for viewing and manipulating atomic and other chemical systems. It reads XYZ input and renders atoms, bonds and hydrogen bonds. Features include: - Animating multiple frame files - Interactive measurement of bond lengths, bond angles and torsion angles - Control over atom/bond sizes - Exporting to Xpm, Encapsulated PostScript and XYZ formats - Toggling the visibility of groups of atoms - Editing the positions of subsets of atoms %prep %autosetup -N %patch0 -p1 -b .fsf %patch1 -p0 -b .vecat %patch2 -p1 -b .hbond %patch3 -p1 -b .torsion %patch4 -p1 -b .extern %patch5 -p1 -b .widget %build %configure %make_build %install %make_install %files %license COPYING %doc AUTHORS NEWS PROBLEMS README %{_datadir}/xmakemol/ %{_bindir}/xmakemol %{_mandir}/man1/xmakemol.1.* %{_bindir}/xmake_anim.pl %changelog * Sat Jul 23 2022 Fedora Release Engineering - 5.16-14 - Rebuilt for https://fedoraproject.org/wiki/Fedora_37_Mass_Rebuild * Sat Jan 22 2022 Fedora Release Engineering - 5.16-13 - Rebuilt for https://fedoraproject.org/wiki/Fedora_36_Mass_Rebuild * Fri Jul 23 2021 Fedora Release Engineering - 5.16-12 - Rebuilt for https://fedoraproject.org/wiki/Fedora_35_Mass_Rebuild * Thu Jan 28 2021 Fedora Release Engineering - 5.16-11 - Rebuilt for https://fedoraproject.org/wiki/Fedora_34_Mass_Rebuild * Sun Jan 10 2021 Susi Lehtola - 5.16-10 - Fix crash for NULL widget class (BZ #1914657). * Wed Jul 29 2020 Fedora Release Engineering - 5.16-9 - Rebuilt for https://fedoraproject.org/wiki/Fedora_33_Mass_Rebuild * Sat Feb 01 2020 Susi Lehtola - 5.16-8 - Patch out multiple definition of bbox. * Fri Jan 31 2020 Fedora Release Engineering - 5.16-7 - Rebuilt for https://fedoraproject.org/wiki/Fedora_32_Mass_Rebuild * Tue Sep 17 2019 Gwyn Ciesla - 5.16-6 - Rebuilt for new freeglut * Sat Jul 27 2019 Fedora Release Engineering - 5.16-5 - Rebuilt for https://fedoraproject.org/wiki/Fedora_31_Mass_Rebuild * Sun Feb 03 2019 Fedora Release Engineering - 5.16-4 - Rebuilt for https://fedoraproject.org/wiki/Fedora_30_Mass_Rebuild * Fri Sep 7 2018 Susi Lehtola - 5.16-3 - Import patches from Debian. * Fri Sep 7 2018 Susi Lehtola - 5.16-2 - Review fixes. * Thu Sep 6 2018 Susi Lehtola - 5.16-1 - First release.