Compare commits

...
Sign in to create a new pull request.

3 commits

Author SHA1 Message Date
Pokorra, Gerd
3939cb1417 update to 1.3.0 2020-06-02 14:11:21 +02:00
Pokorra, Gerd
e01acb9e0f initial files for the f32 branch 2020-04-02 02:00:37 +02:00
Pokorra, Gerd
a9228be144 initial files for the f32 branch 2020-04-02 01:58:43 +02:00
3 changed files with 117 additions and 1 deletions

View file

@ -1,3 +1,28 @@
# workspace
The workspace package
The **workspace** package
Documentation files in markdown format are include in the package:
* introduction
> /usr/share/doc/workspace/README.md
* user guide
> /usr/share/doc/workspace/user-guide.md
* administration guide
> /usr/share/doc/workspace/admin-guide.md
Online you can see
* introduction
https://github.com/holgerBerger/hpc-workspace/blob/master/README.md
* user guide
https://github.com/holgerBerger/hpc-workspace/blob/master/user-guide.md
* administration guide
https://github.com/holgerBerger/hpc-workspace/blob/master/admin-guide.md

1
sources Normal file
View file

@ -0,0 +1 @@
SHA512 (workspace-1.3.0.tar.gz) = 08f8e8d9e05d2d8acbb7236d64d1f97769165b938b74686a5d55e8e41499ebc1465353d2488aa06b1ef2ae33e99066686196bbdea7e1fc63dcc92ddf010b8191

90
workspace.spec Normal file
View file

@ -0,0 +1,90 @@
%global _hardened_build 1
Name: workspace
Version: 1.3.0
Release: 1%{?dist}
Summary: A tool to create scratch directories by users with an expiration date
License: GPLv3
URL: https://github.com/holgerBerger/hpc-workspace
Source0: https://github.com/holgerBerger/hpc-workspace/archive/v%{version}/%{name}-%{version}.tar.gz
#BuildRequires: sed
BuildRequires: gcc
BuildRequires: gcc-c++
BuildRequires: cmake
BuildRequires: boost-devel
BuildRequires: ncurses-devel
BuildRequires: yaml-cpp-devel
BuildRequires: python3-pyyaml
Requires: python3-pyyaml
%description
A **workspace** is a directory, with an associated expiration date, created on
behalf of a user, to prevent disks from uncontrolled filling.
The project provides user and admin tools to manage those directories.
%prep
%setup -q -n hpc-%{name}-%{version}
# - remove the cmake_cxx_flags settings in the file CMakeLists.txt because this
# override the build flags form the optflags macro and so allows the use of
# the cmake macro in this spec file
sed -e '/^SET(CMAKE_CXX_FLAGS "-Wall -g")/d' -i CMakeLists.txt
%build
%cmake .
%make_build
%install
%make_install
install -p -m 755 contribs/ws_prepare %{buildroot}%{_sbindir}/ws_prepare
%files
%license LICENSE
%doc README.md admin-guide.md user-guide.md ws.conf ws.conf_full_sample
%{_bindir}/ws_extend
%{_bindir}/ws_find
%{_bindir}/ws_list
%{_bindir}/ws_register
%{_bindir}/ws_send_ical
# sbin/ws_restore is only for root
%{_sbindir}/ws_*
%{_mandir}/man1/ws_*
# this files need setuid
%defattr(4111,root,root)
%{_bindir}/ws_allocate
%{_bindir}/ws_release
%{_bindir}/ws_restore
%changelog
* Tue Jun 02 2020 Gerd Pokorra <gp@zimt.uni-siegen.de> - 1.3.0-1
- update to version 1.3.0
- remove patch and work with sed
* Sat Mar 28 2020 Gerd Pokorra <gp@zimt.uni-siegen.de> - 1.1.0-5
- add a comment above the patch to explain it
- separate BRs one per line
* Mon Mar 23 2020 Gerd Pokorra <gp@zimt.uni-siegen.de> - 1.1.0-4
- wrap description
* Wed Mar 18 2020 Gerd Pokorra <gp@zimt.uni-siegen.de> - 1.1.0-3
- remove the CXXFLAGS settings in CMakeLists.txt
* Tue Mar 17 2020 Gerd Pokorra <gp@zimt.uni-siegen.de> - 1.1.0-2
- add use of _hardened_build
* Tue Mar 17 2020 Gerd Pokorra <gp@zimt.uni-siegen.de> - 1.1.0-1
- add patch for version number
- improved the source tag
- updated to the new upstream version
- initail spec file