From 130ac3ae4df64f011b233290898e5c1525fd04a4 Mon Sep 17 00:00:00 2001 From: =?utf8?q?Jan=20R=C4=99korajski?= Date: Fri, 29 Sep 2023 12:34:01 +0200 Subject: [PATCH] - up to 7.7.2 --- wxmacmolplt.spec | 17 +++++++++-------- 1 file changed, 9 insertions(+), 8 deletions(-) diff --git a/wxmacmolplt.spec b/wxmacmolplt.spec index 19ba095..9f092e3 100644 --- a/wxmacmolplt.spec +++ b/wxmacmolplt.spec @@ -1,21 +1,21 @@ 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 @@ -34,8 +34,9 @@ molekularnych oraz drgań swobodnych (wibracji). %{__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 @@ -54,7 +55,7 @@ rm -rf $RPM_BUILD_ROOT %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 -- 2.44.0