Hello community,

here is the log from the commit of package gasnet for openSUSE:Factory checked 
in at 2017-02-14 00:41:46
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Comparing /work/SRC/openSUSE:Factory/gasnet (Old)
 and      /work/SRC/openSUSE:Factory/.gasnet.new (New)
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++

Package is "gasnet"

Changes:
--------
New Changes file:

--- /dev/null   2017-01-26 09:49:33.150892021 +0100
+++ /work/SRC/openSUSE:Factory/.gasnet.new/gasnet.changes       2017-02-14 
00:41:48.374098441 +0100
@@ -0,0 +1,49 @@
+-------------------------------------------------------------------
+Mon Feb  6 14:52:50 UTC 2017 - jeng...@inai.de
+
+- Declare bash as build shell
+
+-------------------------------------------------------------------
+Mon Oct 24 16:17:17 UTC 2016 - jungh...@votca.org
+
+- Version update to 1.28.0, lot of changes, see:
+  https://gasnet.lbl.gov/dist/ChangeLog
+
+-------------------------------------------------------------------
+Mon Oct 17 08:54:54 UTC 2016 - jeng...@inai.de
+
+- Implement shared library naming guideline
+- Trim description
+
+-------------------------------------------------------------------
+Tue Sep 20 02:39:45 UTC 2016 - jungh...@votca.org
+
+- added %check block and related patch from upstream:
+  https://bitbucket.org/berkeleylab/gasnet/pull-requests/37
+- link shared libs, so that deps are fulfilled
+
+-------------------------------------------------------------------
+Mon Sep 12 15:26:11 UTC 2016 - jungh...@votca.org
+
+- Added upstream patch to support overwriting of flags:
+  https://bitbucket.org/berkeleylab/gasnet/pull-requests/34
+- Build shared libs manually as upstream doesn't want to support them:
+  https://bitbucket.org/berkeleylab/gasnet/pull-requests/36
+  but we need them for legion package
+
+-------------------------------------------------------------------
+Sun Sep  4 23:26:38 UTC 2016 - jungh...@votca.org
+
+- Update to GASNet 1.26.4
+  Details: https://gasnet.lbl.gov/dist/ChangeLog
+
+-------------------------------------------------------------------
+Sun May 29 15:29:33 UTC 2016 - jungh...@votca.org
+
+- import into Science overlay
+
+-------------------------------------------------------------------
+Thu Mar 10 10:52:14 UTC 2016 - nirmoy....@suse.com
+
+- Initial package, version: 1.26.0(fate#319250) 
+

New:
----
  GASNet-1.28.0.tar.gz
  gasnet.changes
  gasnet.spec

++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++

Other differences:
------------------
++++++ gasnet.spec ++++++
#
# spec file for package gasnet
#
# 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
# upon. The license for this file, and modifications and additions to the
# file, is the same license as for the pristine package itself (unless the
# license for the pristine package is not an Open Source License, in which
# case the license is the MIT License). An "Open Source License" is a
# 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/
#


%define _buildshell /bin/bash
Name:           gasnet
Version:        1.28.0
%define libver  1_28_0
Release:        0
Summary:        A Communication Layer for GAS Languages
License:        PostgreSQL
Group:          Productivity/Networking/Other
Url:            https://bitbucket.org/berkeleylab/gasnet/
Source0:        
https://bitbucket.org/berkeleylab/gasnet/downloads/GASNet-%{version}.tar.gz
BuildRequires:  automake
BuildRequires:  fdupes
BuildRequires:  gcc-c++
BuildRequires:  libtool
BuildRequires:  openmpi
BuildRequires:  openmpi-devel

BuildRoot:      %{_tmppath}/%{name}-%{version}-build

%description
GASNet (Global Address Space Networking) is a language-independent,
low-level networking layer that provides network-independent
communication primitives tailored for implementing parallel global
address space SPMD languages such as UPC, Titanium, and Co-Array
Fortran.

%package devel
Summary:        Development files for GASNet
Group:          Development/Libraries/C and C++
Requires:       %{name} = %{version}
Requires:       lib%{name}-%{libver}

%description devel
GASNet is a language-independent, low-level networking layer that provides
network-independent communication primitives tailored for
implementing parallel global address space SPMD languages
such as UPC, Titanium, and Co-Array Fortran.

The interface is primarily intended as a compilation target and for
use by runtime library writers (as opposed to end users).

Development package for GASNet. Including header files and libraries.

%package -n libgasnet-%{libver}
Summary:        Runtime libraries for GASNet
Group:          System/Libraries

%description -n libgasnet-%{libver}
GASNet is a language-independent, low-level networking layer that provides
network-independent communication primitives tailored for
implementing parallel global address space SPMD languages
such as UPC, Titanium, and Co-Array Fortran.

This package contains the libraries for GASNet.

%package doc
Summary:        Documentation for GASNet
Group:          Documentation/Other
BuildArch:      noarch

%description doc
GASNet is a language-independent, low-level networking layer that provides
network-independent communication primitives tailored for
implementing parallel global address space SPMD languages
such as UPC, Titanium, and Co-Array Fortran.

This package contains the documentation for GASNet.

%prep
%setup -q -n GASNet-%{version}

# Avoid unnecessary rebuilds of the package
FAKE_BUILDDATE=$(LC_ALL=C date -u -r %{_sourcedir}/%{name}.changes '+%%b %%e 
%%Y')
FAKE_BUILDTIME=$(LC_ALL=C date -u -r %{_sourcedir}/%{name}.changes 
'+%%H:%%M:%%S')
sed -i -e "s/__DATE__/\"$FAKE_BUILDDATE\"/" -e 
"s/__TIME__/\"$FAKE_BUILDTIME\"/" gasnet_tools.c gasnet_trace.c tests/test.h

%build
%configure --enable-udp --enable-mpi --enable-par --disable-ibv 
--disable-aligned-segments  --enable-segment-fast --with-segment-mmap-max=4GB 
CC="gcc -fPIC" CXX="g++ -fPIC"
make %{?_smp_mflags} MANUAL_CFLAGS="%optflags -fPIC" 
MANUAL_MPICFLAGS="%optflags -fPIC" MANUAL_CXXFLAGS="%optflags -fPIC"

%check
make %{?_smp_mflags} check MANUAL_CFLAGS="%optflags -fPIC" 
MANUAL_MPICFLAGS="%optflags -fPIC" MANUAL_CXXFLAGS="%optflags -fPIC"

%install
make %{?_smp_mflags} DESTDIR=%{buildroot} install
%fdupes %{buildroot}/%{_prefix}
chmod +x %{buildroot}/%{_bindir}/*.pl

#Upstream doesn't want to support shared libs: 
https://bitbucket.org/berkeleylab/gasnet/pull-requests/36
#mind the order for link deps, libgasnet-smp-par first then libam* then the rest
for l in %{buildroot}/%{_libdir}/lib{gasnet-smp-par,am*,*}.a; do \
    [[ -f $l ]] || continue; \
    soname=`basename $l .a`; \
    libdir=`dirname $l`; \
    libs= ; \
    [[ ${soname} = libgasnet-*-par* ]] && libs+=" -lpthread"; \
    [[ ${soname} = libamudp ]] && libs+=" -L${libdir} -lgasnet-smp-par"; \
    [[ ${soname} = libammpi ]] && libs+=" $(mpicc --showme:link)"; \
    [[ ${soname} = libgasnet-udp-* ]] && libs+=" -L${libdir} -lamudp"; \
    [[ ${soname} = libgasnet-mpi-* ]] && libs+=" -L${libdir} -lammpi"; \
    [[ ${soname} = libgasnet-ibv-* ]] && libs+=" -L${libdir} -lammpi"; \
    [[ ${soname} = libgasnet-*-* ]] && libs+=" -lrt"; \
    g++ -shared -Wl,-soname=${soname}-%{version}.so \
        -Wl,--as-needed -Wl,-z,defs -Wl,--rpath-link=. \
        -Wl,--whole-archive ${l} -Wl,--no-whole-archive \
        ${libs} -o ${libdir}/${soname}-%{version}.so && \
    ln -s ${soname}-%{version}.so ${libdir}/${soname}.so && \
    rm ${l} ; \
done

%post -n libgasnet-%{libver} -p /sbin/ldconfig
%postun -n libgasnet-%{libver} -p /sbin/ldconfig

%files
%defattr(-,root,root)
%{_bindir}/*

%files -n libgasnet-%{libver}
%defattr(-,root,root)
%{_libdir}/lib*-%{version}.so

%files doc
%defattr(-,root,root)
%{_datadir}/doc/GASNet

%files devel
%defattr(-,root,root)
%{_includedir}/*
%{_libdir}/lib*[a-z].so
%{_libdir}/valgrind

%changelog

Reply via email to