6e2c902
6e2c902
%global		_hardened_build 1
6e2c902
6e2c902
Name:		libntirpc
a0e1062
Version:	1.8.0
b3e2810
Release:	1%{?dev:%{dev}}%{?dist}
6e2c902
Summary:	New Transport Independent RPC Library
6e2c902
License:	BSD
6e2c902
Url:		https://github.com/nfs-ganesha/ntirpc
6e2c902
33ecee5
Source0:	https://github.com/nfs-ganesha/ntirpc/archive/v%{version}/ntirpc-%{version}.tar.gz
6e2c902
594f996
BuildRequires:	gcc cmake
6e2c902
BuildRequires:	krb5-devel
a0e1062
BuildRequires:  userspace-rcu-devel
b363fda
%if ( 0%{?fedora} && 0%{?fedora} > 27 )
b363fda
BuildRequires:  libnsl2-devel
b363fda
%endif
f3f342a
# libtirpc has /etc/netconfig, most machines probably have it anyway
f3f342a
# for NFS client
f3f342a
Requires:	libtirpc
6e2c902
6e2c902
%description
6e2c902
This package contains a new implementation of the original libtirpc, 
6e2c902
transport-independent RPC (TI-RPC) library for NFS-Ganesha. It has
6e2c902
the following features not found in libtirpc:
6e2c902
 1. Bi-directional operation
6e2c902
 2. Full-duplex operation on the TCP (vc) transport
6e2c902
 3. Thread-safe operating modes
6e2c902
 3.1 new locking primitives and lock callouts (interface change)
6e2c902
 3.2 stateless send/recv on the TCP transport (interface change)
6e2c902
 4. Flexible server integration support
6e2c902
 5. Event channels (remove static arrays of xprt handles, new EPOLL/KEVENT
6e2c902
    integration)
6e2c902
6e2c902
%package devel
6e2c902
Summary:	Development headers for %{name}
6e2c902
Requires:	%{name}%{?_isa} = %{version}
6e2c902
6e2c902
%description devel
6e2c902
Development headers and auxiliary files for developing with %{name}.
6e2c902
6e2c902
%prep
33ecee5
%setup -q -n ntirpc-%{version}
6e2c902
6e2c902
%build
0b3b76e
%cmake . -DOVERRIDE_INSTALL_PREFIX=/usr -DTIRPC_EPOLL=1 -DUSE_GSS=ON "-GUnix Makefiles"
6e2c902
6e2c902
make %{?_smp_mflags}
6e2c902
6e2c902
%install
6e2c902
## make install is broken in various ways
6e2c902
## make install DESTDIR=%%{buildroot}
6e2c902
mkdir -p %{buildroot}%{_libdir}/pkgconfig
6e2c902
install -p -m 0755 src/%{name}.so.%{version} %{buildroot}%{_libdir}/
6e2c902
ln -s %{name}.so.%{version} %{buildroot}%{_libdir}/%{name}.so.1
6e2c902
ln -s %{name}.so.%{version} %{buildroot}%{_libdir}/%{name}.so
6e2c902
mkdir -p %{buildroot}%{_includedir}/ntirpc
6e2c902
cp -a ntirpc %{buildroot}%{_includedir}/
55e6e17
install -p -m 644 libntirpc.pc %{buildroot}%{_libdir}/pkgconfig/
6e2c902
6e2c902
%files
6e2c902
%{_libdir}/libntirpc.so.*
6e2c902
%{!?_licensedir:%global license %%doc}
6e2c902
%license COPYING
6e2c902
%doc NEWS README
6e2c902
6e2c902
%files devel
6e2c902
%{_libdir}/libntirpc.so
6e2c902
%{_includedir}/ntirpc/
55e6e17
%{_libdir}/pkgconfig/libntirpc.pc
6e2c902
6e2c902
%changelog
a0e1062
* Thu May 30 2019 Kaleb S. KEITHLEY <kkeithle at redhat.com> 1.8.0-1
a0e1062
- libntirpc 1.8.0 GA, bz#1715590
a0e1062
42d2164
* Tue Apr 2 2019 Kaleb S. KEITHLEY <kkeithle at redhat.com> 1.7.3-1
42d2164
- libntirpc 1.7.3 GA
42d2164
5bf9a6e
* Wed Feb 27 2019 Kaleb S. KEITHLEY <kkeithle at redhat.com> 1.7.2-1
5bf9a6e
- libntirpc 1.7.2 GA
5bf9a6e
b3e2810
* Wed Feb 20 2019 Kaleb S. KEITHLEY <kkeithle at redhat.com> 1.7.1-1
b3e2810
- rebuild for f31/rawhide
b3e2810
c28100d
* Fri Feb 01 2019 Fedora Release Engineering <releng@fedoraproject.org> - 1.7.1-2
c28100d
- Rebuilt for https://fedoraproject.org/wiki/Fedora_30_Mass_Rebuild
c28100d
8b57af0
* Tue Oct 16 2018 Kaleb S. KEITHLEY <kkeithle at redhat.com> 1.7.1-1
8b57af0
- libntirpc 1.7.1 GA
8b57af0
2808c44
* Mon Sep 17 2018 Kaleb S. KEITHLEY <kkeithle at redhat.com> 1.7.0-1
2808c44
- libntirpc 1.7.0 GA
2808c44
d96998d
* Wed Aug 22 2018 Kaleb S. KEITHLEY <kkeithle at redhat.com> 1.6.3-1
d96998d
- libntirpc 1.6.3 GA
d96998d
f6d1c77
* Fri Jul 13 2018 Fedora Release Engineering <releng@fedoraproject.org> - 1.6.2-2
f6d1c77
- Rebuilt for https://fedoraproject.org/wiki/Fedora_29_Mass_Rebuild
f6d1c77
f0cf259
* Tue Mar 20 2018 Kaleb S. KEITHLEY <kkeithle at redhat.com> 1.6.2-1
f0cf259
- libntirpc 1.6.2 GA
f0cf259
594f996
* Mon Feb 19 2018 Kaleb S. KEITHLEY <kkeithle at redhat.com> 1.6.1-3
594f996
- gcc BuildRoot
594f996
08f0c46
* Thu Feb 15 2018 Kaleb S. KEITHLEY <kkeithle at redhat.com> 1.6.1-2
08f0c46
- ldconfig
08f0c46
b9c46bc
* Fri Feb 9 2018 Kaleb S. KEITHLEY <kkeithle at redhat.com> 1.6.1-1
b9c46bc
- libntirpc 1.6.1 GA
b9c46bc
fe13f87
* Wed Feb 07 2018 Fedora Release Engineering <releng@fedoraproject.org> - 1.6.0-2
fe13f87
- Rebuilt for https://fedoraproject.org/wiki/Fedora_28_Mass_Rebuild
fe13f87
b363fda
* Wed Jan 17 2018 Kaleb S. KEITHLEY <kkeithle at redhat.com> 1.6.0-1
b363fda
- libntirpc 1.6.0 GA
b363fda
1da720a
* Thu Oct 19 2017 Kaleb S. KEITHLEY <kkeithle at redhat.com> 1.5.3-4
1da720a
- libntirpc 1.5.3 PR https://github.com/nfs-ganesha/ntirpc/pull/85
1da720a
82c9c77
* Thu Aug 03 2017 Fedora Release Engineering <releng@fedoraproject.org> - 1.5.3-3
82c9c77
- Rebuilt for https://fedoraproject.org/wiki/Fedora_27_Binutils_Mass_Rebuild
82c9c77
344f92b
* Wed Jul 26 2017 Fedora Release Engineering <releng@fedoraproject.org> - 1.5.3-2
344f92b
- Rebuilt for https://fedoraproject.org/wiki/Fedora_27_Mass_Rebuild
344f92b
8d25112
* Wed Jul 19 2017 Kaleb S. KEITHLEY <kkeithle at redhat.com> 1.5.3-1
8d25112
- libntirpc 1.5.3 GA
8d25112
24e0f7b
* Tue May 30 2017 Kaleb S. KEITHLEY <kkeithle at redhat.com> 1.5.2-1
24e0f7b
- libntirpc 1.5.2 GA
24e0f7b
bbc9479
* Mon May 8 2017 Kaleb S. KEITHLEY <kkeithle at redhat.com> 1.5.1-1
bbc9479
- libntirpc 1.5.1 GA
bbc9479
acd019a
* Fri Apr 21 2017 Kaleb S. KEITHLEY <kkeithle at redhat.com> 1.5.0-1
acd019a
- libntirpc 1.5.0 GA
acd019a
ceaf655
* Fri Feb 10 2017 Fedora Release Engineering <releng@fedoraproject.org> - 1.4.3-2
ceaf655
- Rebuilt for https://fedoraproject.org/wiki/Fedora_26_Mass_Rebuild
ceaf655
e620649
* Tue Oct 25 2016 Kaleb S. KEITHLEY <kkeithle at redhat.com> 1.4.3-1
e620649
- libntirpc 1.4.3 GA
e620649
8bce7ee
* Tue Oct 25 2016 Kaleb S. KEITHLEY <kkeithle at redhat.com> 1.4.2-1
8bce7ee
- libntirpc 1.4.2 GA
8bce7ee
0c1d8ed
* Tue Sep 20 2016 Kaleb S. KEITHLEY <kkeithle at redhat.com> 1.4.1-1
109c0bc
- libntirpc 1.4.1 GA
109c0bc
33ecee5
* Mon Sep 19 2016 Kaleb S. KEITHLEY <kkeithle at redhat.com> 1.4.0-1
33ecee5
- libntirpc 1.4.0 GA
33ecee5
eeb081e
* Tue Sep 6 2016 Kaleb S. KEITHLEY <kkeithle at redhat.com> 1.4.0-0.4pre3
eeb081e
- libntirpc 1.4.0-pre3, without jemalloc
eeb081e
64bd170
* Thu Aug 4 2016 Kaleb S. KEITHLEY <kkeithle at redhat.com> 1.4.0-0.3pre3
64bd170
- libntirpc 1.4.0-pre3
64bd170
2c46ba4
* Mon Feb 29 2016 Kaleb S. KEITHLEY <kkeithle at redhat.com> 1.4.0-0.2pre2
2c46ba4
- libntirpc 1.4.0-pre2
2c46ba4
d8fbe3f
* Fri Feb 5 2016 Kaleb S. KEITHLEY <kkeithle at redhat.com> 1.4.0-0.1pre1
d8fbe3f
- libntirpc 1.4.0-pre1, correct release
d8fbe3f
d7ea70e
* Fri Feb 5 2016 Kaleb S. KEITHLEY <kkeithle at redhat.com> 1.4.0-1pre1
d7ea70e
- libntirpc 1.4.0-pre1
d7ea70e
4139020
* Thu Feb 04 2016 Fedora Release Engineering <releng@fedoraproject.org> - 1.3.1-2
4139020
- Rebuilt for https://fedoraproject.org/wiki/Fedora_24_Mass_Rebuild
4139020
f3f342a
* Wed Dec 9 2015 Kaleb S. KEITHLEY <kkeithle at redhat.com>
f3f342a
- Requires: libtirpc for /etc/netconfig (most already have it)
f3f342a
21de3cd
* Mon Oct 26 2015 Kaleb S. KEITHLEY <kkeithle at redhat.com> 1.3.1-1
21de3cd
- libntirpc 1.3.1 GA
21de3cd
0b3b76e
* Fri Oct 9 2015 Kaleb S. KEITHLEY <kkeithle at redhat.com> 1.3.0-3
0b3b76e
- libntirpc 1.3.0 GA, w/ -DTIRPC_EPOLL=ON
0b3b76e
b8a8dc0
* Wed Sep 9 2015 Kaleb S. KEITHLEY <kkeithle at redhat.com> 1.3.0-2
b8a8dc0
- libntirpc 1.3.0 GA, w/ correct top-level CMakeList.txt
b8a8dc0
55e6e17
* Wed Sep 9 2015 Kaleb S. KEITHLEY <kkeithle at redhat.com> 1.3.0-1
55e6e17
- libntirpc 1.3.0 GA
55e6e17
33cb12f
* Thu Jul 16 2015 Kaleb S. KEITHLEY <kkeithle at redhat.com> 1.2.1-3
33cb12f
- RHEL 6 finally has new enough cmake
33cb12f
- use -isystem ... to ensure correct <rpc/rpc*.h> are used
33cb12f
- ensure -DTIRPC_EPOLL is defined for correct evchan functionality
33cb12f
2f83f79
* Wed Jun 17 2015 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 1.2.1-2
2f83f79
- Rebuilt for https://fedoraproject.org/wiki/Fedora_23_Mass_Rebuild
2f83f79
6e2c902
* Mon Mar 23 2015 Kaleb S. KEITHLEY <kkeithle at redhat.com> 1.2.1-1
6e2c902
- Initial commit