commit mopac7 for openSUSE:Factory

2020-06-11 Thread root
Hello community,

here is the log from the commit of package mopac7 for openSUSE:Factory checked 
in at 2020-06-11 10:05:17

Comparing /work/SRC/openSUSE:Factory/mopac7 (Old)
 and  /work/SRC/openSUSE:Factory/.mopac7.new.3606 (New)


Package is "mopac7"

Thu Jun 11 10:05:17 2020 rev:7 rq:813105 version:1.15

Changes:

--- /work/SRC/openSUSE:Factory/mopac7/mopac7.changes2019-09-23 
12:39:07.549593097 +0200
+++ /work/SRC/openSUSE:Factory/.mopac7.new.3606/mopac7.changes  2020-06-11 
10:06:18.811472740 +0200
@@ -1,0 +2,5 @@
+Tue Jun  9 14:51:14 UTC 2020 - Guillaume GARDET 
+
+- Fix build on aarch64 %arm by adding '-fPIC' flag
+
+---



Other differences:
--
++ mopac7.spec ++
--- /var/tmp/diff_new_pack.U3cdgh/_old  2020-06-11 10:06:26.499497502 +0200
+++ /var/tmp/diff_new_pack.U3cdgh/_new  2020-06-11 10:06:26.503497515 +0200
@@ -73,6 +73,9 @@
 autoreconf -fiv
 # 
http://www.bioinformatics.org/pipermail/ghemical-devel/2008-August/000763.html
 export FFLAGS="%{optflags} -std=legacy -fno-automatic"
+%ifarch aarch64 %arm
+export FFLAGS="%{optflags} -fPIC"
+%endif
 %configure \
   --disable-static
 %make_build




commit mopac7 for openSUSE:Factory

2019-09-23 Thread root
Hello community,

here is the log from the commit of package mopac7 for openSUSE:Factory checked 
in at 2019-09-23 12:38:22

Comparing /work/SRC/openSUSE:Factory/mopac7 (Old)
 and  /work/SRC/openSUSE:Factory/.mopac7.new.7948 (New)


Package is "mopac7"

Mon Sep 23 12:38:22 2019 rev:6 rq:732206 version:1.15

Changes:

--- /work/SRC/openSUSE:Factory/mopac7/mopac7.changes2019-06-01 
09:48:49.199338211 +0200
+++ /work/SRC/openSUSE:Factory/.mopac7.new.7948/mopac7.changes  2019-09-23 
12:39:07.549593097 +0200
@@ -1,0 +2,5 @@
+Fri Sep 20 14:30:54 UTC 2019 - Martin Pluskal 
+
+- Modernise spec file by using latest macros
+
+---



Other differences:
--
++ mopac7.spec ++
--- /var/tmp/diff_new_pack.z4sAIH/_old  2019-09-23 12:39:07.989593025 +0200
+++ /var/tmp/diff_new_pack.z4sAIH/_new  2019-09-23 12:39:07.989593025 +0200
@@ -23,7 +23,7 @@
 Summary:Semi-empirical quantum mechanics suite
 License:SUSE-Public-Domain
 Group:  Productivity/Scientific/Chemistry
-Url:http://sourceforge.net/projects/mopac7/
+URL:https://sourceforge.net/projects/mopac7/
 Source0:
http://www.bioinformatics.org/ghemical/download/current/%{name}-%{version}.tar.gz
 Patch1: mopac7-1.14-random_data.patch
 Patch2: mopac7-1.14-libdir.patch
@@ -67,10 +67,7 @@
 This package contains development files.
 
 %prep
-%setup -q
-%patch1 -p1
-%patch2 -p1
-%patch3 -p1
+%autosetup -p1
 
 %build
 autoreconf -fiv
@@ -78,7 +75,7 @@
 export FFLAGS="%{optflags} -std=legacy -fno-automatic"
 %configure \
   --disable-static
-make %{?_smp_mflags}
+%make_build
 
 %install
 %make_install
@@ -92,22 +89,15 @@
 %postun -n %{libname} -p /sbin/ldconfig
 
 %files
-%defattr(-,root,root)
 %doc AUTHORS ChangeLog NEWS README tests
-%if 0%{?suse_version} >= 01500
-%license COPYING
-%else
-%doc COPYING
-%endif
 %attr(755,root,root) %{_bindir}/run_mopac7
 %{_bindir}/%{name}
 
 %files -n %{libname}
-%defattr(-,root,root)
+%license COPYING
 %{_libdir}/libmopac7.so.*
 
 %files -n %{libname}-devel
-%defattr(-,root,root)
 %{_includedir}/%{name}
 %{_libdir}/libmopac7.so
 %{_libdir}/pkgconfig/libmopac7.pc




commit mopac7 for openSUSE:Factory

2019-06-01 Thread root
Hello community,

here is the log from the commit of package mopac7 for openSUSE:Factory checked 
in at 2019-06-01 09:48:46

Comparing /work/SRC/openSUSE:Factory/mopac7 (Old)
 and  /work/SRC/openSUSE:Factory/.mopac7.new.5148 (New)


Package is "mopac7"

Sat Jun  1 09:48:46 2019 rev:5 rq:705926 version:1.15

Changes:

--- /work/SRC/openSUSE:Factory/mopac7/mopac7.changes2017-06-12 
15:30:15.542746356 +0200
+++ /work/SRC/openSUSE:Factory/.mopac7.new.5148/mopac7.changes  2019-06-01 
09:48:49.199338211 +0200
@@ -1,0 +2,6 @@
+Mon Mar 18 14:41:04 UTC 2019 - l...@linux-schulserver.de - 1.15
+
+- weaken the dependency of the devel package (no exact release needed)
+- use new %%license macro
+
+---



Other differences:
--
++ mopac7.spec ++
--- /var/tmp/diff_new_pack.tScue0/_old  2019-06-01 09:48:50.039337924 +0200
+++ /var/tmp/diff_new_pack.tScue0/_new  2019-06-01 09:48:50.047337921 +0200
@@ -1,7 +1,7 @@
 #
 # spec file for package mopac7
 #
-# Copyright (c) 2017 SUSE LINUX GmbH, Nuernberg, Germany.
+# Copyright (c) 2019 SUSE LINUX GmbH, Nuernberg, Germany.
 #
 # All modifications and additions to the file contributed by third parties
 # remain the property of their copyright owners, unless otherwise agreed
@@ -12,7 +12,7 @@
 # license that conforms to the Open Source Definition (Version 1.9)
 # published by the Open Source Initiative.
 
-# Please submit bugfixes or comments via http://bugs.opensuse.org/
+# Please submit bugfixes or comments via https://bugs.opensuse.org/
 #
 
 
@@ -56,7 +56,7 @@
 %package-n %{libname}-devel
 Summary:Header files and static libraries from %{name}
 Group:  Development/Languages/C and C++
-Requires:   %{libname} = %{version}-%{release}
+Requires:   %{libname} = %{version}
 
 %description -n %{libname}-devel
 MOPAC7 is a semi-empirical quantum-mechanics code written by James J. P.
@@ -93,7 +93,12 @@
 
 %files
 %defattr(-,root,root)
-%doc AUTHORS COPYING ChangeLog NEWS README tests
+%doc AUTHORS ChangeLog NEWS README tests
+%if 0%{?suse_version} >= 01500
+%license COPYING
+%else
+%doc COPYING
+%endif
 %attr(755,root,root) %{_bindir}/run_mopac7
 %{_bindir}/%{name}
 




commit mopac7 for openSUSE:Factory

2017-06-12 Thread root
Hello community,

here is the log from the commit of package mopac7 for openSUSE:Factory checked 
in at 2017-06-12 15:29:54

Comparing /work/SRC/openSUSE:Factory/mopac7 (Old)
 and  /work/SRC/openSUSE:Factory/.mopac7.new (New)


Package is "mopac7"

Mon Jun 12 15:29:54 2017 rev:4 rq:501329 version:1.15

Changes:

--- /work/SRC/openSUSE:Factory/mopac7/mopac7.changes2017-02-03 
17:50:41.550491261 +0100
+++ /work/SRC/openSUSE:Factory/.mopac7.new/mopac7.changes   2017-06-12 
15:30:15.542746356 +0200
@@ -1,0 +2,5 @@
+Tue Jun  6 08:50:59 UTC 2017 - mplus...@suse.com
+
+- Add mopac7-fortify.patch to fix building on latest Factory
+
+---

New:

  mopac7-fortify.patch



Other differences:
--
++ mopac7.spec ++
--- /var/tmp/diff_new_pack.WxBNmN/_old  2017-06-12 15:30:23.133675777 +0200
+++ /var/tmp/diff_new_pack.WxBNmN/_new  2017-06-12 15:30:23.137675213 +0200
@@ -27,6 +27,8 @@
 Source0:
http://www.bioinformatics.org/ghemical/download/current/%{name}-%{version}.tar.gz
 Patch1: mopac7-1.14-random_data.patch
 Patch2: mopac7-1.14-libdir.patch
+# PATCH-FEATURE-OPENSUSE mopac7-fortify.patch -- fix for building with gcc7
+Patch3: mopac7-fortify.patch
 BuildRequires:  autoconf
 BuildRequires:  automake
 BuildRequires:  gcc-fortran
@@ -66,8 +68,9 @@
 
 %prep
 %setup -q
-%patch1
-%patch2
+%patch1 -p1
+%patch2 -p1
+%patch3 -p1
 
 %build
 autoreconf -fiv

++ mopac7-1.14-libdir.patch ++
--- /var/tmp/diff_new_pack.WxBNmN/_old  2017-06-12 15:30:23.157672393 +0200
+++ /var/tmp/diff_new_pack.WxBNmN/_new  2017-06-12 15:30:23.161671829 +0200
@@ -1,7 +1,7 @@
-Index: libmopac7.pc.in
+Index: mopac7-1.15/libmopac7.pc.in
 ===
 libmopac7.pc.in.orig
-+++ libmopac7.pc.in
+--- mopac7-1.15.orig/libmopac7.pc.in
 mopac7-1.15/libmopac7.pc.in
 @@ -1,5 +1,5 @@
  prefix=@prefix@
 -libdir=${prefix}/lib

++ mopac7-1.14-random_data.patch ++
--- /var/tmp/diff_new_pack.WxBNmN/_old  2017-06-12 15:30:23.173670137 +0200
+++ /var/tmp/diff_new_pack.WxBNmN/_new  2017-06-12 15:30:23.173670137 +0200
@@ -1,8 +1,8 @@
-Index: fortran/etime.c
+Index: mopac7-1.15/fortran/etime.c
 ===
 fortran/etime.c.orig
-+++ fortran/etime.c
-@@ -28,4 +28,5 @@
+--- mopac7-1.15.orig/fortran/etime.c
 mopac7-1.15/fortran/etime.c
+@@ -28,4 +28,5 @@ float etime_(float *a)
 a[0] = a[0] + (double)(t.ru_utime.tv_usec) / CLOCKS_PER_SEC;
 a[1] = (double)(t.ru_stime.tv_sec);
 a[1] = a[1] + (double)(t.ru_stime.tv_usec) / CLOCKS_PER_SEC;

++ mopac7-fortify.patch ++
Index: mopac7-1.15/fortran/fdate.c
===
--- mopac7-1.15.orig/fortran/fdate.c
+++ mopac7-1.15/fortran/fdate.c
@@ -17,6 +17,7 @@ LAST MODIFIACTION
 */
 
 #include "mopac7f2c.h"
+#include "s_copy.h"
 
 #include 
 #include 
Index: mopac7-1.15/fortran/s_copy.c
===
--- mopac7-1.15.orig/fortran/s_copy.c
+++ mopac7-1.15/fortran/s_copy.c
@@ -5,6 +5,7 @@
  */
 
 #include "mopac7f2c.h"
+#include "s_copy.h"
 #ifdef __cplusplus
 extern "C" {
 #endif
Index: mopac7-1.15/fortran/s_copy.h
===
--- /dev/null
+++ mopac7-1.15/fortran/s_copy.h
@@ -0,0 +1,5 @@
+#ifndef _S_COPY_H
+
+# define _S_COPY_H   1
+void s_copy(register char *, register char *, ftnlen, ftnlen);
+#endif



commit mopac7 for openSUSE:Factory

2017-02-03 Thread root
Hello community,

here is the log from the commit of package mopac7 for openSUSE:Factory checked 
in at 2017-01-31 12:43:04

Comparing /work/SRC/openSUSE:Factory/mopac7 (Old)
 and  /work/SRC/openSUSE:Factory/.mopac7.new (New)


Package is "mopac7"

Changes:

--- /work/SRC/openSUSE:Factory/mopac7/mopac7.changes2016-01-28 
17:22:38.0 +0100
+++ /work/SRC/openSUSE:Factory/.mopac7.new/mopac7.changes   2017-02-03 
17:50:41.550491261 +0100
@@ -1,0 +2,5 @@
+Sun Jan 29 11:46:04 UTC 2017 - mplus...@suse.com
+
+- Update compiler flags
+
+---



Other differences:
--
++ mopac7.spec ++
--- /var/tmp/diff_new_pack.WWL0jo/_old  2017-02-03 17:50:41.902441640 +0100
+++ /var/tmp/diff_new_pack.WWL0jo/_new  2017-02-03 17:50:41.906441075 +0100
@@ -1,7 +1,7 @@
 #
 # spec file for package mopac7
 #
-# Copyright (c) 2016 SUSE LINUX GmbH, Nuernberg, Germany.
+# Copyright (c) 2017 SUSE LINUX GmbH, Nuernberg, Germany.
 #
 # All modifications and additions to the file contributed by third parties
 # remain the property of their copyright owners, unless otherwise agreed
@@ -29,11 +29,9 @@
 Patch2: mopac7-1.14-libdir.patch
 BuildRequires:  autoconf
 BuildRequires:  automake
-BuildRequires:  f2c
 BuildRequires:  gcc-fortran
 BuildRequires:  libtool
-BuildRequires:  pkg-config
-BuildRoot:  %{_tmppath}/%{name}-%{version}-build
+BuildRequires:  pkgconfig
 
 %description
 MOPAC7 is a semi-empirical quantum-mechanics code written by James J. P.
@@ -70,16 +68,17 @@
 %setup -q
 %patch1
 %patch2
-find . -name ".cvsignore" -exec rm -f {} \;
 
 %build
 autoreconf -fiv
+# 
http://www.bioinformatics.org/pipermail/ghemical-devel/2008-August/000763.html
+export FFLAGS="%{optflags} -std=legacy -fno-automatic"
 %configure \
   --disable-static
 make %{?_smp_mflags}
 
 %install
-make DESTDIR=%{buildroot} install %{?_smp_mflags} 
+%make_install
 mkdir -p %{buildroot}%{_bindir}
 libtool --mode=install install -m 755 fortran/%{name} 
%{buildroot}%{_bindir}/%{name}
 sed -e "s|\./src|%{_bindir}|g" run_mopac7 > %{buildroot}%{_bindir}/run_mopac7
@@ -87,7 +86,6 @@
 find %{buildroot} -type f -name "*.la" -delete -print
 
 %post -n %{libname} -p /sbin/ldconfig
-
 %postun -n %{libname} -p /sbin/ldconfig
 
 %files




commit mopac7 for openSUSE:Factory

2016-01-29 Thread h_root
Hello community,

here is the log from the commit of package mopac7 for openSUSE:Factory checked 
in at 2016-01-28 17:22:37

Comparing /work/SRC/openSUSE:Factory/mopac7 (Old)
 and  /work/SRC/openSUSE:Factory/.mopac7.new (New)


Package is "mopac7"

Changes:

--- /work/SRC/openSUSE:Factory/mopac7/mopac7.changes2015-03-03 
11:14:21.0 +0100
+++ /work/SRC/openSUSE:Factory/.mopac7.new/mopac7.changes   2016-01-28 
17:22:38.0 +0100
@@ -1,0 +2,6 @@
+Fri Jan 22 19:42:00 UTC 2016 - mplus...@suse.com
+
+- Cleanup spec file
+- Do not ship .la file
+
+---



Other differences:
--
++ mopac7.spec ++
--- /var/tmp/diff_new_pack.jh0sge/_old  2016-01-28 17:22:39.0 +0100
+++ /var/tmp/diff_new_pack.jh0sge/_new  2016-01-28 17:22:39.0 +0100
@@ -1,7 +1,7 @@
 #
 # spec file for package mopac7
 #
-# Copyright (c) 2015 SUSE LINUX GmbH, Nuernberg, Germany.
+# Copyright (c) 2016 SUSE LINUX GmbH, Nuernberg, Germany.
 #
 # All modifications and additions to the file contributed by third parties
 # remain the property of their copyright owners, unless otherwise agreed
@@ -27,12 +27,12 @@
 Source0:
http://www.bioinformatics.org/ghemical/download/current/%{name}-%{version}.tar.gz
 Patch1: mopac7-1.14-random_data.patch
 Patch2: mopac7-1.14-libdir.patch
-BuildRequires:  automake
 BuildRequires:  autoconf
-BuildRequires:  pkg-config
+BuildRequires:  automake
+BuildRequires:  f2c
 BuildRequires:  gcc-fortran
 BuildRequires:  libtool
-Requires:   %{libname} = %{version}
+BuildRequires:  pkg-config
 BuildRoot:  %{_tmppath}/%{name}-%{version}-build
 
 %description
@@ -56,7 +56,7 @@
 %package-n %{libname}-devel
 Summary:Header files and static libraries from %{name}
 Group:  Development/Languages/C and C++
-Requires:   %{libname} >= %{version}
+Requires:   %{libname} = %{version}-%{release}
 
 %description -n %{libname}-devel
 MOPAC7 is a semi-empirical quantum-mechanics code written by James J. P.
@@ -73,8 +73,9 @@
 find . -name ".cvsignore" -exec rm -f {} \;
 
 %build
-./autogen.sh
-%configure --disable-static
+autoreconf -fiv
+%configure \
+  --disable-static
 make %{?_smp_mflags}
 
 %install
@@ -82,8 +83,8 @@
 mkdir -p %{buildroot}%{_bindir}
 libtool --mode=install install -m 755 fortran/%{name} 
%{buildroot}%{_bindir}/%{name}
 sed -e "s|\./src|%{_bindir}|g" run_mopac7 > %{buildroot}%{_bindir}/run_mopac7
-chmod 755 %{buildroot}%{_bindir}/*
 rm tests/Makefile*
+find %{buildroot} -type f -name "*.la" -delete -print
 
 %post -n %{libname} -p /sbin/ldconfig
 
@@ -91,20 +92,18 @@
 
 %files
 %defattr(-,root,root)
-%doc AUTHORS COPYING ChangeLog NEWS README
-%doc tests
+%doc AUTHORS COPYING ChangeLog NEWS README tests
+%attr(755,root,root) %{_bindir}/run_mopac7
 %{_bindir}/%{name}
-%{_bindir}/run_mopac7
 
 %files -n %{libname}
 %defattr(-,root,root)
-%{_libdir}/*.so.*
+%{_libdir}/libmopac7.so.*
 
 %files -n %{libname}-devel
 %defattr(-,root,root)
 %{_includedir}/%{name}
-%{_libdir}/*.so
-%{_libdir}/libmopac7.la
-%{_libdir}/pkgconfig/*.pc
+%{_libdir}/libmopac7.so
+%{_libdir}/pkgconfig/libmopac7.pc
 
 %changelog