Accepting request 404500 from SUSE:SLE-12-SP2:GA
GenWQE userspace tools I suggest to add this package in hardware project and then in openSUSE from the version previously accepted in SLES12-SP2. OBS-URL: https://build.opensuse.org/request/show/404500 OBS-URL: https://build.opensuse.org/package/show/hardware/genwqe-tools?expand=0&rev=1
This commit is contained in:
commit
156e31cc93
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
|
1
.gitignore
vendored
Normal file
1
.gitignore
vendored
Normal file
@ -0,0 +1 @@
|
|||||||
|
.osc
|
15
_service
Normal file
15
_service
Normal file
@ -0,0 +1,15 @@
|
|||||||
|
<services>
|
||||||
|
<service name="tar_scm" mode="disabled">
|
||||||
|
<param name="scm">git</param>
|
||||||
|
<param name="url">https://github.com/tblume/genwqe-user.git</param>
|
||||||
|
<param name="subdir"></param>
|
||||||
|
<param name="filename">genwqe-user</param>
|
||||||
|
<param name="version">4.0.17</param>
|
||||||
|
<param name="revision">SLES12SP2</param>
|
||||||
|
</service>
|
||||||
|
<service name="recompress" mode="disabled">
|
||||||
|
<param name="file">*genwqe-user*.tar</param>
|
||||||
|
<param name="compression">xz</param>
|
||||||
|
</service>
|
||||||
|
</services>
|
||||||
|
|
2
genwqe-tools-rpmlintrc
Normal file
2
genwqe-tools-rpmlintrc
Normal file
@ -0,0 +1,2 @@
|
|||||||
|
addFilter(".*macro-in-comment.*")
|
||||||
|
addFilter("static-library-without-debuginfo /usr/lib/genwqe/libzADC.a")
|
17
genwqe-tools.changes
Normal file
17
genwqe-tools.changes
Normal file
@ -0,0 +1,17 @@
|
|||||||
|
-------------------------------------------------------------------
|
||||||
|
Fri Apr 22 04:31:09 UTC 2016 - Thomas.Blume@suse.com
|
||||||
|
|
||||||
|
- update to git version 4.0.17
|
||||||
|
* fixed: Segfaults due to -fPIC not used for all objects in libzADC.so
|
||||||
|
(bsc#976588)
|
||||||
|
|
||||||
|
-------------------------------------------------------------------
|
||||||
|
Thu Apr 7 06:59:28 UTC 2016 - Thomas.Blume@suse.com
|
||||||
|
|
||||||
|
- update to latest git version 4.0.16
|
||||||
|
- remove some workarounds from specfile
|
||||||
|
|
||||||
|
-------------------------------------------------------------------
|
||||||
|
Thu Mar 10 12:11:30 UTC 2016 - thomas.blume@suse.com
|
||||||
|
|
||||||
|
- inital release version 4.0.13 (taken from home:krisman/genwqe)
|
179
genwqe-tools.spec
Normal file
179
genwqe-tools.spec
Normal file
@ -0,0 +1,179 @@
|
|||||||
|
#
|
||||||
|
# spec file for package genwqe-tools
|
||||||
|
#
|
||||||
|
# Copyright (c) 2016 SUSE LINUX GmbH, Nuernberg, Germany.
|
||||||
|
# Copyright 2015, International Business Machines
|
||||||
|
#
|
||||||
|
# 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/
|
||||||
|
#
|
||||||
|
|
||||||
|
|
||||||
|
Summary: GenWQE userspace tools
|
||||||
|
License: Apache-2.0
|
||||||
|
Group: Development/Tools
|
||||||
|
Name: genwqe-tools
|
||||||
|
Version: 4.0.17
|
||||||
|
Release: 1%{?dist}
|
||||||
|
Url: https://github.com/ibm-genwqe/genwqe-user/
|
||||||
|
Requires: zlib >= 1.2.7
|
||||||
|
BuildRequires: fdupes
|
||||||
|
BuildRequires: help2man
|
||||||
|
BuildRequires: zlib-devel >= 1.2.7
|
||||||
|
BuildRoot: %{_tmppath}/%{name}-%{version}-build
|
||||||
|
ExclusiveArch: s390x ppc64le
|
||||||
|
#Source0: https://github.com/ibm-genwqe/genwqe-user/archive/v%{version}.tar.gz
|
||||||
|
#for building from local git (fetched from _service)
|
||||||
|
Source0: genwqe-user-%{version}.tar.xz
|
||||||
|
|
||||||
|
%description
|
||||||
|
Provide a suite of utilities to manage and configure the IBM GenWQE card.
|
||||||
|
|
||||||
|
%package -n genwqe-zlib
|
||||||
|
Summary: GenWQE hardware accelerated libz
|
||||||
|
Group: System Environment/Base
|
||||||
|
|
||||||
|
%description -n genwqe-zlib
|
||||||
|
GenWQE hardware accelerated libz and test-utilities.
|
||||||
|
|
||||||
|
%package -n genwqe-vpd
|
||||||
|
Summary: GenWQE adapter VPD tools
|
||||||
|
Group: System Environment/Base
|
||||||
|
|
||||||
|
%description -n genwqe-vpd
|
||||||
|
The genwqe-vpd package contains GenWQE adapter VPD tools.
|
||||||
|
|
||||||
|
%package devel
|
||||||
|
Summary: Development files for %{name}
|
||||||
|
Group: Development/Libraries
|
||||||
|
Requires: %{name} = %{version}
|
||||||
|
|
||||||
|
%description devel
|
||||||
|
The %{name}-devel package contains libraries and header files for
|
||||||
|
developing applications that use %{name}.
|
||||||
|
|
||||||
|
%prep
|
||||||
|
%setup -q -n genwqe-user-%{version}
|
||||||
|
|
||||||
|
%ifarch ppc64le
|
||||||
|
%define libcxl "BUNDLE_LIBCXL=1"
|
||||||
|
%endif
|
||||||
|
|
||||||
|
%build
|
||||||
|
%ifarch ppc64le
|
||||||
|
%{__make} -C ext/libcxl CFLAGS="-I../include"
|
||||||
|
%endif
|
||||||
|
|
||||||
|
%{__make} %{?_smp_mflags} tools lib VERSION=%{version} %{?libcxl}
|
||||||
|
|
||||||
|
%install
|
||||||
|
%{__make} %{?_smp_mflags} install DESTDIR=%{buildroot}/%{_prefix} \
|
||||||
|
VERSION=%{version} SYSTEMD_UNIT_DIR=%{buildroot}/%{_unitdir} \
|
||||||
|
LIB_INSTALL_PATH=%{buildroot}/%{_libdir}/genwqe \
|
||||||
|
INCLUDE_INSTALL_PATH=%{buildroot}/%{_includedir}/genwqe
|
||||||
|
|
||||||
|
# FIXME Instead of trying to fixup things in the spec fike, let us consider
|
||||||
|
# changing the associated install rule, such that the spec file
|
||||||
|
# can get smaller and simpler.
|
||||||
|
#
|
||||||
|
|
||||||
|
# Move genwqe_vpd.csv to expected location.
|
||||||
|
%{__mkdir} -p %{buildroot}/%{_sysconfdir}/
|
||||||
|
%{__install} -m 0644 tools/genwqe_vpd.csv %{buildroot}/etc/
|
||||||
|
|
||||||
|
%fdupes %{buildroot}%{_bindir}
|
||||||
|
strip %{buildroot}%{_bindir}/genwqe_gzip
|
||||||
|
strip %{buildroot}%{_bindir}/genwqe_gunzip
|
||||||
|
strip %{buildroot}%{_bindir}/zlib_mt_perf
|
||||||
|
|
||||||
|
ln -sf %{_bindir}/genwqe_gunzip %{buildroot}/%{_libdir}/genwqe/gunzip
|
||||||
|
ln -sf %{_bindir}/genwqe_gzip %{buildroot}/%{_libdir}/genwqe/gzip
|
||||||
|
|
||||||
|
%ifarch ppc64le
|
||||||
|
%pre
|
||||||
|
%service_add_pre genwqe_maint.service
|
||||||
|
|
||||||
|
%post
|
||||||
|
%service_add_post genwqe_maint.service
|
||||||
|
|
||||||
|
%preun
|
||||||
|
%service_del_preun genwqe_maint.service
|
||||||
|
|
||||||
|
%postun
|
||||||
|
%service_del_postun genwqe_maint.service
|
||||||
|
%endif
|
||||||
|
|
||||||
|
%files -n genwqe-tools
|
||||||
|
%defattr(0755,root,root)
|
||||||
|
%{_bindir}/genwqe_echo
|
||||||
|
%{_bindir}/genwqe_ffdc
|
||||||
|
%{_bindir}/genwqe_cksum
|
||||||
|
%{_bindir}/genwqe_memcopy
|
||||||
|
%{_bindir}/genwqe_peek
|
||||||
|
%{_bindir}/genwqe_poke
|
||||||
|
%{_bindir}/genwqe_update
|
||||||
|
|
||||||
|
%{_bindir}/genwqe_gunzip
|
||||||
|
%{_bindir}/genwqe_gzip
|
||||||
|
%{_bindir}/genwqe_test_gz
|
||||||
|
%{_bindir}/genwqe_mt_perf
|
||||||
|
%{_bindir}/zlib_mt_perf
|
||||||
|
|
||||||
|
%{_libdir}/genwqe/gunzip
|
||||||
|
%{_libdir}/genwqe/gzip
|
||||||
|
|
||||||
|
%defattr(-,root,root)
|
||||||
|
%doc LICENSE
|
||||||
|
%{_mandir}/man1/genwqe_echo.1.gz
|
||||||
|
%{_mandir}/man1/genwqe_ffdc.1.gz
|
||||||
|
%{_mandir}/man1/genwqe_gunzip.1.gz
|
||||||
|
%{_mandir}/man1/genwqe_gzip.1.gz
|
||||||
|
%{_mandir}/man1/genwqe_cksum.1.gz
|
||||||
|
%{_mandir}/man1/genwqe_memcopy.1.gz
|
||||||
|
%{_mandir}/man1/genwqe_peek.1.gz
|
||||||
|
%{_mandir}/man1/genwqe_poke.1.gz
|
||||||
|
%{_mandir}/man1/genwqe_update.1.gz
|
||||||
|
%{_mandir}/man1/zlib_mt_perf.1.gz
|
||||||
|
|
||||||
|
%ifarch ppc64le
|
||||||
|
%{_bindir}/genwqe_maint
|
||||||
|
%{_bindir}/genwqe_loadtree
|
||||||
|
%{_unitdir}/genwqe_maint.service
|
||||||
|
%{_mandir}/man1/genwqe_maint.1.gz
|
||||||
|
%{_mandir}/man1/genwqe_loadtree.1.gz
|
||||||
|
%endif
|
||||||
|
|
||||||
|
%files -n genwqe-zlib
|
||||||
|
%defattr(-,root,root)
|
||||||
|
%doc LICENSE
|
||||||
|
%defattr(0755,root,root)
|
||||||
|
%dir %{_libdir}/genwqe
|
||||||
|
%{_libdir}/genwqe/*.so*
|
||||||
|
|
||||||
|
%files -n genwqe-vpd
|
||||||
|
%defattr(-,root,root,-)
|
||||||
|
%{_bindir}/genwqe_csv2vpd
|
||||||
|
%{_bindir}/genwqe_vpdconv
|
||||||
|
%{_bindir}/genwqe_vpdupdate
|
||||||
|
%defattr(-,root,root)
|
||||||
|
%doc LICENSE
|
||||||
|
%{_sysconfdir}/genwqe_vpd.csv
|
||||||
|
%{_mandir}/man1/genwqe_csv2vpd.1.gz
|
||||||
|
%{_mandir}/man1/genwqe_vpdconv.1.gz
|
||||||
|
%{_mandir}/man1/genwqe_vpdupdate.1.gz
|
||||||
|
|
||||||
|
%files devel
|
||||||
|
%defattr(-,root,root,-)
|
||||||
|
%dir %{_includedir}/genwqe
|
||||||
|
%{_includedir}/genwqe/*
|
||||||
|
%{_libdir}/genwqe/*.a
|
||||||
|
|
||||||
|
%changelog
|
3
genwqe-user-4.0.17.tar.xz
Normal file
3
genwqe-user-4.0.17.tar.xz
Normal file
@ -0,0 +1,3 @@
|
|||||||
|
version https://git-lfs.github.com/spec/v1
|
||||||
|
oid sha256:b47d3e666048e4f885cc3c34cd49e2f73b7b9596693ef4233e6591894cba5462
|
||||||
|
size 162660
|
Loading…
x
Reference in New Issue
Block a user