[packages/wxmacmolplt] - up to 7.7.2

baggins baggins at pld-linux.org
Fri Sep 29 13:30:51 CEST 2023


commit 130ac3ae4df64f011b233290898e5c1525fd04a4
Author: Jan Rękorajski <baggins at pld-linux.org>
Date:   Fri Sep 29 12:34:01 2023 +0200

    - 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
================================================================

---- gitweb:

http://git.pld-linux.org/gitweb.cgi/packages/wxmacmolplt.git/commitdiff/130ac3ae4df64f011b233290898e5c1525fd04a4



More information about the pld-cvs-commit mailing list