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
This commit is contained in:
commit
231a68223b
23
.gitattributes
vendored
Normal file
23
.gitattributes
vendored
Normal file
@ -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
|
3
molequeue-0.9.0.tar.gz
Normal file
3
molequeue-0.9.0.tar.gz
Normal file
@ -0,0 +1,3 @@
|
||||
version https://git-lfs.github.com/spec/v1
|
||||
oid sha256:df036dbca090db4348443cf3d09be35fdf877a37075b4cb427b1130f005ef6e5
|
||||
size 620286
|
67
molequeue.changes
Normal file
67
molequeue.changes
Normal file
@ -0,0 +1,67 @@
|
||||
-------------------------------------------------------------------
|
||||
Fri Feb 14 17:26:23 UTC 2020 - andy great <andythe_great@pm.me>
|
||||
|
||||
- Fix dependencies.
|
||||
|
||||
-------------------------------------------------------------------
|
||||
Fri Feb 14 14:53:39 UTC 2020 - andy great <andythe_great@pm.me>
|
||||
|
||||
- Update to version 0.9.0
|
||||
- Clean spec file.
|
||||
|
||||
-------------------------------------------------------------------
|
||||
Sat Feb 17 00:00:00 UTC 2018 - Antonio Trande <sagitter@fedoraproject.org>
|
||||
|
||||
- Use %%ldconfig_scriptlets
|
||||
|
||||
|
||||
-------------------------------------------------------------------
|
||||
Thu Feb 8 00:00:00 UTC 2018 - Fedora Release Engineering <releng@fedoraproject.org>
|
||||
|
||||
- Rebuilt for https://fedoraproject.org/wiki/Fedora_28_Mass_Rebuild
|
||||
|
||||
|
||||
-------------------------------------------------------------------
|
||||
Wed Jan 31 00:00:00 UTC 2018 - Antonio Trande <sagitter@fedoraproject.org>
|
||||
|
||||
- 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 <releng@fedoraproject.org>
|
||||
|
||||
- Rebuilt for https://fedoraproject.org/wiki/Fedora_27_Binutils_Mass_Rebuild
|
||||
|
||||
|
||||
-------------------------------------------------------------------
|
||||
Wed Jul 26 00:00:00 UTC 2017 - Fedora Release Engineering <releng@fedoraproject.org>
|
||||
|
||||
- Rebuilt for https://fedoraproject.org/wiki/Fedora_27_Mass_Rebuild
|
||||
|
||||
|
||||
-------------------------------------------------------------------
|
||||
Sun Jul 2 00:00:00 UTC 2017 - Antonio Trande <sagitter@fedoraproject.org>
|
||||
|
||||
- Unbundle qjson-libqt5 on fedora only
|
||||
|
||||
|
||||
-------------------------------------------------------------------
|
||||
Thu Jun 22 00:00:00 UTC 2017 - Antonio Trande <sagitter@fedoraproject.org>
|
||||
|
||||
- Modified for epel builds
|
||||
|
||||
|
||||
-------------------------------------------------------------------
|
||||
Fri Mar 17 00:00:00 UTC 2017 - Antonio Trande <sagitter@fedoraproject.org>
|
||||
|
||||
- Add a .desktop file
|
||||
|
||||
|
||||
-------------------------------------------------------------------
|
||||
Sat Mar 11 00:00:00 UTC 2017 - Antonio Trande <sagitter@fedoraproject.org>
|
||||
|
||||
- First package
|
||||
|
149
molequeue.spec
Normal file
149
molequeue.spec
Normal file
@ -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 <<EOF
|
||||
[Desktop Entry]
|
||||
Name=MoleQueue
|
||||
GenericName=MoleQueue
|
||||
Comment=Manage HPC jobs from the system tray
|
||||
Exec=%{name}
|
||||
Terminal=false
|
||||
Type=Application
|
||||
Icon=%{name}
|
||||
Categories=Science;Chemistry;
|
||||
X-SuSE-translate=false
|
||||
EOF
|
||||
install -Dpm0644 molequeue/app/icons/molequeue.png %{buildroot}%{_datadir}/pixmaps/%{name}.png
|
||||
|
||||
desktop-file-install %{name}.desktop --dir %{buildroot}%{_datadir}/applications
|
||||
|
||||
sed -i -e 's|//usr|/|g' %{buildroot}%{_libdir}/cmake/molequeue/MoleQueueConfig.cmake
|
||||
|
||||
%post -p /sbin/ldconfig
|
||||
%postun -p /sbin/ldconfig
|
||||
|
||||
%files
|
||||
%{_bindir}/%{name}
|
||||
%{_datadir}/applications/%{name}.desktop
|
||||
%{_datadir}/pixmaps/%{name}.png
|
||||
|
||||
%files libs0
|
||||
%doc README.md
|
||||
%license LICENSE
|
||||
%{_libdir}/*.so
|
||||
%{_libdir}/%{name}/
|
||||
|
||||
%files devel
|
||||
%{_libdir}/cmake/%{name}/
|
||||
%{_includedir}/%{name}/
|
||||
|
||||
%files doc
|
||||
%doc README.md build/docs/html
|
||||
%license LICENSE
|
||||
|
||||
%changelog
|
Loading…
x
Reference in New Issue
Block a user