Summary: Program for plotting 3-D molecular structures
Summary(pl.UTF-8): Program do wykreślania trójwymiarowych struktur molekularnych
Name: wxmacmolplt
-Version: 7.4.4
-Release: 7
+Version: 7.7.2
+Release: 1
License: GPL v2+
Group: Applications
-Source0: http://www.scl.ameslab.gov/~brett/MacMolPlt/download/%{name}-%{version}.tar.gz
-# Source0-md5: efe722c0964689f94795dfad96116ea9
+Source0: https://github.com/brettbode/wxmacmolplt/archive/v%{version}/%{name}-%{version}.tar.gz
+# Source0-md5: 9689e9ba8a3ec50ab5e65fd1e0e9fb25
Patch0: %{name}-desktop.patch
-URL: http://www.scl.ameslab.gov/~brett/MacMolPlt/
+URL: https://brettbode.github.io/wxmacmolplt/
BuildRequires: OpenGL-GLU-devel
BuildRequires: OpenGL-devel
BuildRequires: autoconf
BuildRequires: automake
BuildRequires: glew-devel
BuildRequires: ming-devel
-BuildRequires: wxGTK2-unicode-gl-devel
+BuildRequires: wxGTK3-unicode-gl-devel
BuildRoot: %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
%description
%{__aclocal}
%{__autoconf}
%{__automake}
+export CXXFLAGS="%{rpmcxxflags} -std=c++11"
%configure \
- --with-wx-config=wx-gtk2-unicode-config
+ --with-wx-config=wx-gtk3-unicode-config
%{__make}
%install
%files
%defattr(644,root,root,755)
-%doc AUTHORS README LICENSE
+%doc README.md LICENSE
%attr(755,root,root) %{_bindir}/wxmacmolplt
%{_datadir}/wxmacmolplt
%{_desktopdir}/wxmacmolplt.desktop