97e6105
Name:           xmakemol
97e6105
Version:        5.16
21ad27c
Release:        19%{?dist}
97e6105
Summary:        Program for visualizing atomic and molecular systems
97e6105
License:        GPLv2+
97e6105
URL:            https://www.nongnu.org/xmakemol/
97e6105
Source0:        http://savannah.nongnu.org/download/xmakemol/xmakemol-%{version}.tar.gz
97e6105
97e6105
# Fix FSF address
97e6105
Patch0:         xmakemol-5.16-fsf.patch
97e6105
# Patches from debian
97e6105
Patch1:         xmakemol-5.16-fix_vectors_on_atoms.patch
97e6105
Patch2:         xmakemol-5.16-h-bond.patch
97e6105
Patch3:         xmakemol-5.16-print_torsions.patch
f6d7feb
# Fix multiple definition of bbox
f6d7feb
Patch4:         xmakemol-5.16-extern.patch
59f27c4
# Fix BZ#1914657, crash about NULL widget class
59f27c4
Patch5:         xmakemol-5.16-widget.patch
21ad27c
# Fix BZ#2261809, initialization of XmString from incompatible pointer type
21ad27c
Patch6:         xmakemol-5.16-pointertype.patch
97e6105
59f27c4
BuildRequires:  make
97e6105
BuildRequires:  gcc
97e6105
BuildRequires:  mesa-libGLU-devel
97e6105
BuildRequires:  mesa-libGLw-devel
97e6105
BuildRequires:  libX11-devel
97e6105
BuildRequires:  libXi-devel
97e6105
BuildRequires:  libXpm-devel
97e6105
BuildRequires:  libICE-devel
97e6105
BuildRequires:  zlib-devel
d3888c9
BuildRequires:  motif-devel
502ff82
BuildRequires:  freeglut-devel
d3888c9
97e6105
%description
97e6105
XMakemol is a mouse-based program, written using the LessTif widget
97e6105
set, for viewing and manipulating atomic and other chemical
97e6105
systems. It reads XYZ input and renders atoms, bonds and hydrogen
97e6105
bonds.  Features include:
97e6105
- Animating multiple frame files
97e6105
- Interactive measurement of bond lengths, bond angles and torsion angles
97e6105
- Control over atom/bond sizes
97e6105
- Exporting to Xpm, Encapsulated PostScript and XYZ formats
97e6105
- Toggling the visibility of groups of atoms
97e6105
- Editing the positions of subsets of atoms
97e6105
97e6105
%prep
97e6105
%autosetup -N
Software Management Team 7c67c6f
%patch -P0 -p1 -b .fsf
Software Management Team 7c67c6f
%patch -P1 -p0 -b .vecat
Software Management Team 7c67c6f
%patch -P2 -p1 -b .hbond
Software Management Team 7c67c6f
%patch -P3 -p1 -b .torsion
Software Management Team 7c67c6f
%patch -P4 -p1 -b .extern
Software Management Team 7c67c6f
%patch -P5 -p1 -b .widget
Software Management Team 7c67c6f
%patch -P6 -p1 -b .pointertype
97e6105
97e6105
%build
97e6105
%configure
97e6105
%make_build
97e6105
97e6105
%install
97e6105
%make_install
97e6105
97e6105
%files
97e6105
%license COPYING
97e6105
%doc AUTHORS NEWS PROBLEMS README
97e6105
%{_datadir}/xmakemol/
97e6105
%{_bindir}/xmakemol
97e6105
%{_mandir}/man1/xmakemol.1.*
97e6105
%{_bindir}/xmake_anim.pl
97e6105
97e6105
%changelog
21ad27c
* Tue Jan 30 2024 Susi Lehtola <jussilehtola@fedoraproject.org> - 5.16-19
21ad27c
- Fix FTBFS on Fedora 40.
21ad27c
d3469ce
* Sat Jan 27 2024 Fedora Release Engineering <releng@fedoraproject.org> - 5.16-18
d3469ce
- Rebuilt for https://fedoraproject.org/wiki/Fedora_40_Mass_Rebuild
d3469ce
a104f50
* Sat Jul 22 2023 Fedora Release Engineering <releng@fedoraproject.org> - 5.16-17
a104f50
- Rebuilt for https://fedoraproject.org/wiki/Fedora_39_Mass_Rebuild
a104f50
24cc4a3
* Sat Jan 21 2023 Fedora Release Engineering <releng@fedoraproject.org> - 5.16-16
24cc4a3
- Rebuilt for https://fedoraproject.org/wiki/Fedora_38_Mass_Rebuild
24cc4a3
9263cfe
* Mon Dec 05 2022 Susi Lehtola <jussilehtola@fedoraproject.org> - 5.16-15
9263cfe
- Freeglut is now available in RHEL9.
9263cfe
077ff67
* Sat Jul 23 2022 Fedora Release Engineering <releng@fedoraproject.org> - 5.16-14
077ff67
- Rebuilt for https://fedoraproject.org/wiki/Fedora_37_Mass_Rebuild
077ff67
b927c79
* Sat Jan 22 2022 Fedora Release Engineering <releng@fedoraproject.org> - 5.16-13
b927c79
- Rebuilt for https://fedoraproject.org/wiki/Fedora_36_Mass_Rebuild
b927c79
d28375c
* Fri Jul 23 2021 Fedora Release Engineering <releng@fedoraproject.org> - 5.16-12
d28375c
- Rebuilt for https://fedoraproject.org/wiki/Fedora_35_Mass_Rebuild
d28375c
edf1d44
* Thu Jan 28 2021 Fedora Release Engineering <releng@fedoraproject.org> - 5.16-11
edf1d44
- Rebuilt for https://fedoraproject.org/wiki/Fedora_34_Mass_Rebuild
edf1d44
59f27c4
* Sun Jan 10 2021 Susi Lehtola <jussilehtola@fedoraproject.org> - 5.16-10
59f27c4
- Fix crash for NULL widget class (BZ #1914657).
59f27c4
0e0ab1f
* Wed Jul 29 2020 Fedora Release Engineering <releng@fedoraproject.org> - 5.16-9
0e0ab1f
- Rebuilt for https://fedoraproject.org/wiki/Fedora_33_Mass_Rebuild
0e0ab1f
59f27c4
* Sat Feb 01 2020 Susi Lehtola <jussilehtola@fedoraproject.org> - 5.16-8
f6d7feb
- Patch out multiple definition of bbox.
f6d7feb
b567738
* Fri Jan 31 2020 Fedora Release Engineering <releng@fedoraproject.org> - 5.16-7
b567738
- Rebuilt for https://fedoraproject.org/wiki/Fedora_32_Mass_Rebuild
b567738
84734c1
* Tue Sep 17 2019 Gwyn Ciesla <gwync@protonmail.com> - 5.16-6
84734c1
- Rebuilt for new freeglut
84734c1
39dde78
* Sat Jul 27 2019 Fedora Release Engineering <releng@fedoraproject.org> - 5.16-5
39dde78
- Rebuilt for https://fedoraproject.org/wiki/Fedora_31_Mass_Rebuild
39dde78
46b34df
* Sun Feb 03 2019 Fedora Release Engineering <releng@fedoraproject.org> - 5.16-4
46b34df
- Rebuilt for https://fedoraproject.org/wiki/Fedora_30_Mass_Rebuild
46b34df
59f27c4
* Fri Sep  7 2018 Susi Lehtola <jussilehtola@fedoraproject.org> - 5.16-3
97e6105
- Import patches from Debian.
97e6105
59f27c4
* Fri Sep  7 2018 Susi Lehtola <jussilehtola@fedoraproject.org> - 5.16-2
97e6105
- Review fixes.
97e6105
59f27c4
* Thu Sep  6 2018 Susi Lehtola <jussilehtola@fedoraproject.org> - 5.16-1
97e6105
- First release.
97e6105