]> git.pld-linux.org Git - packages/wxmacmolplt.git/commitdiff
- up to 7.7.2 master auto/th/wxmacmolplt-7.7.2-1
authorJan Rękorajski <baggins@pld-linux.org>
Fri, 29 Sep 2023 10:34:01 +0000 (12:34 +0200)
committerJan Rękorajski <baggins@pld-linux.org>
Fri, 29 Sep 2023 10:34:01 +0000 (12:34 +0200)
wxmacmolplt.spec

index 19ba095b7c79b299c75bee04d994a4e3f36145ca..9f092e3402fe732f9140eb72a31037c2e360a947 100644 (file)
@@ -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
This page took 0.090815 seconds and 4 git commands to generate.