From 231a68223bc221a5b5328045b91dbc9a6e8ab23671f5e33f0f144adf6472734c Mon Sep 17 00:00:00 2001 From: Dirk Stoecker Date: Fri, 21 Feb 2020 10:39:38 +0000 Subject: [PATCH] Accepting request 774438 from home:andythe_great Fix the dependencies. Change -DCMAKE_BUILD_TYPE:STRING=Release to -DCMAKE_BUILD_TYPE:STRING=RelwithDebInfo Not sure if that the right way to do it. Also about the RPMLINT warning about -fPIE and -pie flags, would that be acceptable to factory repo? OBS-URL: https://build.opensuse.org/request/show/774438 OBS-URL: https://build.opensuse.org/package/show/science/molequeue?expand=0&rev=1 --- .gitattributes | 23 +++++++ molequeue-0.9.0.tar.gz | 3 + molequeue.changes | 67 ++++++++++++++++++ molequeue.spec | 149 +++++++++++++++++++++++++++++++++++++++++ 4 files changed, 242 insertions(+) create mode 100644 .gitattributes create mode 100644 molequeue-0.9.0.tar.gz create mode 100644 molequeue.changes create mode 100644 molequeue.spec diff --git a/.gitattributes b/.gitattributes new file mode 100644 index 0000000..9b03811 --- /dev/null +++ b/.gitattributes @@ -0,0 +1,23 @@ +## Default LFS +*.7z filter=lfs diff=lfs merge=lfs -text +*.bsp filter=lfs diff=lfs merge=lfs -text +*.bz2 filter=lfs diff=lfs merge=lfs -text +*.gem filter=lfs diff=lfs merge=lfs -text +*.gz filter=lfs diff=lfs merge=lfs -text +*.jar filter=lfs diff=lfs merge=lfs -text +*.lz filter=lfs diff=lfs merge=lfs -text +*.lzma filter=lfs diff=lfs merge=lfs -text +*.obscpio filter=lfs diff=lfs merge=lfs -text +*.oxt filter=lfs diff=lfs merge=lfs -text +*.pdf filter=lfs diff=lfs merge=lfs -text +*.png filter=lfs diff=lfs merge=lfs -text +*.rpm filter=lfs diff=lfs merge=lfs -text +*.tbz filter=lfs diff=lfs merge=lfs -text +*.tbz2 filter=lfs diff=lfs merge=lfs -text +*.tgz filter=lfs diff=lfs merge=lfs -text +*.ttf filter=lfs diff=lfs merge=lfs -text +*.txz filter=lfs diff=lfs merge=lfs -text +*.whl filter=lfs diff=lfs merge=lfs -text +*.xz filter=lfs diff=lfs merge=lfs -text +*.zip filter=lfs diff=lfs merge=lfs -text +*.zst filter=lfs diff=lfs merge=lfs -text diff --git a/molequeue-0.9.0.tar.gz b/molequeue-0.9.0.tar.gz new file mode 100644 index 0000000..8d8a270 --- /dev/null +++ b/molequeue-0.9.0.tar.gz @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:df036dbca090db4348443cf3d09be35fdf877a37075b4cb427b1130f005ef6e5 +size 620286 diff --git a/molequeue.changes b/molequeue.changes new file mode 100644 index 0000000..f9fdb12 --- /dev/null +++ b/molequeue.changes @@ -0,0 +1,67 @@ +------------------------------------------------------------------- +Fri Feb 14 17:26:23 UTC 2020 - andy great + +- Fix dependencies. + +------------------------------------------------------------------- +Fri Feb 14 14:53:39 UTC 2020 - andy great + +- Update to version 0.9.0 +- Clean spec file. + +------------------------------------------------------------------- +Sat Feb 17 00:00:00 UTC 2018 - Antonio Trande + +- Use %%ldconfig_scriptlets + + +------------------------------------------------------------------- +Thu Feb 8 00:00:00 UTC 2018 - Fedora Release Engineering + +- Rebuilt for https://fedoraproject.org/wiki/Fedora_28_Mass_Rebuild + + +------------------------------------------------------------------- +Wed Jan 31 00:00:00 UTC 2018 - Antonio Trande + +- Update to version 0.9.0 +- Run icon-cache scriptlets on rhel only +- Remove patch for GCC-7 +- Rebuild for GCC-8 + + +------------------------------------------------------------------- +Thu Aug 3 00:00:00 UTC 2017 - Fedora Release Engineering + +- Rebuilt for https://fedoraproject.org/wiki/Fedora_27_Binutils_Mass_Rebuild + + +------------------------------------------------------------------- +Wed Jul 26 00:00:00 UTC 2017 - Fedora Release Engineering + +- Rebuilt for https://fedoraproject.org/wiki/Fedora_27_Mass_Rebuild + + +------------------------------------------------------------------- +Sun Jul 2 00:00:00 UTC 2017 - Antonio Trande + +- Unbundle qjson-libqt5 on fedora only + + +------------------------------------------------------------------- +Thu Jun 22 00:00:00 UTC 2017 - Antonio Trande + +- Modified for epel builds + + +------------------------------------------------------------------- +Fri Mar 17 00:00:00 UTC 2017 - Antonio Trande + +- Add a .desktop file + + +------------------------------------------------------------------- +Sat Mar 11 00:00:00 UTC 2017 - Antonio Trande + +- First package + diff --git a/molequeue.spec b/molequeue.spec new file mode 100644 index 0000000..983104a --- /dev/null +++ b/molequeue.spec @@ -0,0 +1,149 @@ +# +# spec file for package molequeue +# +# 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/ +# + + +Name: molequeue +Version: 0.9.0 +Release: 1 +Summary: Desktop integration of high performance computing resources +License: BSD-3-Clause +URL: https://github.com/OpenChemistry/molequeue +Source0: https://github.com/openchemistry/molequeue/releases/download/0.9.0/%{name}-%{version}.tar.gz +BuildRequires: cmake +BuildRequires: desktop-file-utils +BuildRequires: doxygen +BuildRequires: gcc-c++ +BuildRequires: pkgconfig +BuildRequires: python-devel +BuildRequires: zeromq-devel +BuildRequires: pkgconfig(Qt5Core) +BuildRequires: pkgconfig(Qt5Network) +BuildRequires: pkgconfig(Qt5Widgets) +BuildRequires: python3-devel +Requires: %{name}-libs0%{?_isa} = %{version}-%{release} + +%description +System-tray resident desktop application for abstracting, managing, +and coordinating the execution of tasks both locally and on remote +computational resources. + +Features: + + * Open source distributed under the liberal 3-clause BSD license + * Cross platform with nightly builds on Linux, Mac OS X and Windows + * Intuitive interface designed to be useful to whole community + * Support for local executation and remote schedulers (SGE, PBS, SLURM) + * System tray resident application managing queue of queues and job lifetime + * Simple, lightweight JSON-RPC 2.0 based communication over local sockets + * Qt 5 client library for simple integration in Qt applications + +%package libs0 + +Summary: Shared and private libraries of %{name} +Group: System/Libraries + +%description libs0 +Shared and private libraries of %{name}. + +%package devel +Summary: Development files of %{name} +Group: Development/Libraries/C and C++ +Requires: %{name}-libs0%{?_isa} = %{version}-%{release} +Requires: libqt5-qtbase-devel + +%description devel +This package contains libraries and header files for developing +applications that use %{name}. + +%package doc +Summary: HTML documentation of %{name} +Group: Documentation/Man +BuildArch: noarch + +%description doc +HTML documentation of %{name}. + +%prep +%setup -q + +%build + +%cmake -Wno-dev \ + -DCMAKE_C_FLAGS:STRING="%optflags -fPIC" \ + -DCMAKE_CXX_FLAGS:STRING="%optflags -fPIC" \ + -DCMAKE_LD_FLAGS:STRING="%optflags -pie" \ + -DENABLE_RPATH:BOOL=OFF \ + -DCMAKE_SKIP_INSTALL_RPATH:BOOL=YES \ + -DCMAKE_SKIP_RPATH:BOOL=YES \ + -DENABLE_TESTING:BOOL=OFF \ + -DBUILD_DOCUMENTATION:BOOL=ON \ + -DCMAKE_VERBOSE_MAKEFILE:BOOL=TRUE \ + -DPYTHON_EXECUTABLE:FILEPATH=python3 \ + -DCMAKE_BUILD_TYPE:STRING=RelwithDebInfo .. + +%make_build + +pushd docs +doxygen +popd + +%install +%make_install -C build + +rm -rf %{buildroot}%{_datadir}/doc + +cat >%{name}.desktop <