update to 2.1.2 [release 2.1.2-1mamba;Tue Dec 08 2020]

This commit is contained in:
Silvan Calarco 2024-01-06 08:08:57 +01:00
parent b228462fe6
commit decc674511
2 changed files with 1747 additions and 11 deletions

1698
open-iscsi-config.guess Normal file

File diff suppressed because it is too large Load Diff

View File

@ -1,6 +1,7 @@
%define pkgver %(echo %version | tr _ -)
Name: open-iscsi
Version: 2.0_873
Epoch: 1
Version: 2.1.2
Release: 1mamba
Summary: A high performance, transport independent, multi-platform implementation of RFC3720
Group: System/Kernel and Hardware
@ -8,30 +9,55 @@ Vendor: openmamba
Distribution: openmamba
Packager: Silvan Calarco <silvan.calarco@mambasoft.it>
URL: http://www.open-iscsi.org/
Source: http://www.open-iscsi.org/bits/open-iscsi-%{pkgver}.tar.gz
Source: https://github.com/open-iscsi/open-iscsi.git/%{version}/open-iscsi-%{version}.tar.bz2
#Source: http://www.open-iscsi.org/bits/open-iscsi-%{pkgver}.tar.gz
Source1: open-iscsi-config.guess
Patch0: open-iscsi-2.0_873-slp.patch
License: GPL
## AUTOBUILDREQ-BEGIN
BuildRequires: glibc-devel
BuildRequires: libopenslp-devel
BuildRequires: ldconfig
BuildRequires: libkmod-devel
BuildRequires: libmount-devel
BuildRequires: libopen-isns-devel
BuildRequires: libopenssl-devel
BuildRequires: libsystemd-devel
## AUTOBUILDREQ-END
BuildRoot: %{_tmppath}/%{name}-%{version}-root
%description
Open-iSCSI project is a high performance, transport independent, multi-platform implementation of RFC3720.
%package -n lib%{name}
Group: System/Libraries
Summary: Shared libraries for %{name}
%description -n lib%{name}
This package contains shared libraries for %{name}.
%package -n lib%{name}-devel
Group: Development/Libraries
Summary: Development files for %{name}
Requires: lib%{name} = %{?epoch:%epoch:}%{version}-%{release}
Requires: pkg-config
%description -n lib%{name}-devel
This package contains libraries and header files for developing applications that use %{name}.
%debug_package
%prep
%setup -q -n %{name}-%{pkgver}
%patch0 -p1
#%patch0 -p1
#cp %{SOURCE1} utils/open-isns/aclocal/config.guess
#sed -i "s,| arm-\* |,| aarch64-\* | arm-\* |," utils/open-isns/aclocal/config.sub
%build
%make
%make LIB_DIR=%{_libdir}
%install
[ "%{buildroot}" != / ] && rm -rf "%{buildroot}"
%makeinstall
%makeinstall LIB_DIR=%{_libdir}
install -D -m0755 usr/iscsistart %{buildroot}/sbin/iscsistart
install -D -m0644 doc/iscsistart.8 %{buildroot}%{_mandir}/man8/iscsistart.8
@ -45,17 +71,29 @@ install -D -m0644 doc/iscsistart.8 %{buildroot}%{_mandir}/man8/iscsistart.8
%{_sysconfdir}/iscsi/ifaces/iface.example
%{_sysconfdir}/iscsi/initiatorname.iscsi
%config(noreplace) %{_sysconfdir}/iscsi/iscsid.conf
/sbin/iscsi-iname
/sbin/iscsi_discovery
/sbin/iscsiadm
/sbin/iscsid
/sbin/iscsistart
/sbin/iscsi*
%{_mandir}/man8/iscsi_discovery.8*
%{_mandir}/man8/iscsiadm.8*
%{_mandir}/man8/iscsid.8*
%{_mandir}/man8/iscsistart.8*
%{_mandir}/man8/iscsi-iname.8*
%{_mandir}/man8/iscsi_fw_login.8*
%{_mandir}/man8/iscsiuio.8*
%files -n lib%{name}
%defattr(-,root,root)
%{_libdir}/libopeniscsiusr.so.*
%doc COPYING THANKS
%files -n lib%{name}-devel
%defattr(-,root,root)
%{_includedir}/libopeniscsiusr*.h
%{_libdir}/libopeniscsiusr.so
%{_libdir}/pkgconfig/libopeniscsiusr.pc
%changelog
* Tue Dec 08 2020 Silvan Calarco <silvan.calarco@mambasoft.it> 2.1.2-1mamba
- update to 2.1.2
* Tue Jun 24 2014 Silvan Calarco <silvan.calarco@mambasoft.it> 2.0_873-1mamba
- package created using the webbuild interface