Hello community,
here is the log from the commit of package fastjet-contrib for openSUSE:Factory
checked in at 2020-01-17 16:04:06
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Comparing /work/SRC/openSUSE:Factory/fastjet-contrib (Old)
and /work/SRC/openSUSE:Factory/.fastjet-contrib.new.26092 (New)
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Package is "fastjet-contrib"
Fri Jan 17 16:04:06 2020 rev:1 rq:764142 version:1.042
Changes:
--------
New Changes file:
--- /dev/null 2019-12-19 10:12:34.003146842 +0100
+++
/work/SRC/openSUSE:Factory/.fastjet-contrib.new.26092/fastjet-contrib.changes
2020-01-17 16:04:09.704405263 +0100
@@ -0,0 +1,4 @@
+-------------------------------------------------------------------
+Tue Aug 20 12:53:31 UTC 2019 - Atri Bhattacharya <[email protected]>
+
+- Initial package.
New:
----
fastjet-contrib.changes
fastjet-contrib.spec
fjcontrib-1.042.tar.gz
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Other differences:
------------------
++++++ fastjet-contrib.spec ++++++
#
# spec file for package fastjet-contrib
#
# Copyright (c) 2020 SUSE LLC
#
# 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 https://bugs.opensuse.org/
#
%define shlib libfastjetcontribfragile
Name: fastjet-contrib
Version: 1.042
Release: 0
Summary: A library of 3rd-party add-ons to FastJet
License: GPL-2.0-only
URL: https://fastjet.hepforge.org/contrib/
Source:
http://fastjet.hepforge.org/contrib/downloads/fjcontrib-%{version}.tar.gz
BuildRequires: fastjet-devel
BuildRequires: gcc-c++
%description
%{name} provides a library of 3rd-party add-ons to FastJet.
%package -n %{shlib}
Summary: Shared library for fastjet-contrib
%description -n %{shlib}
This package provides the shared library for fastjet-contrib.
%package devel
Summary: Headers for fastjet-contrib
Requires: %{shlib} = %{version}
%description devel
This package provides the headers for writing code using fastjet-contrib.
%package devel-static
Summary: Static libraries and headers for fastjet-contrib
Requires: %{name}-devel = %{version}
%description devel-static
This package provides the static libraries for fastjet-contrib to link against.
%prep
%setup -q -n fjcontrib-%{version}
%build
# %%configure does not work as a few of the args passed to it isn't recognised
by the configure script
./configure --fastjet-config=%{_bindir}/fastjet-config
--prefix=%{buildroot}%{_prefix}
make %{?_smp_mflags} fragile-shared
%install
%make_install
make fragile-shared-install
# Thanks to definciencies in configure script, need to move the libraries to
the correct loc manually
mkdir -p %{buildroot}%{_libdir}
%if "%{_lib}" != "lib"
mv %{buildroot}%{_prefix}/lib/* %{buildroot}%{_libdir}/
%endif
%files -n %{shlib}
%{_libdir}/*.so
%files devel-static
%doc AUTHORS ChangeLog README NEWS
%license COPYING
%{_libdir}/*.a
%files devel
%license COPYING
%{_includedir}/fastjet/contrib/
%changelog