CBL-Mariner/SPECS/libtirpc/libtirpc.spec

107 строки
3.5 KiB
Plaintext

Summary: Libraries for Transport Independent RPC
Name: libtirpc
Version: 1.3.3
Release: 1%{?dist}
License: BSD
Group: System Environment/Libraries
URL: https://git.linux-nfs.org/?p=steved/libtirpc.git
Vendor: Microsoft Corporation
Distribution: Mariner
Source0: https://downloads.sourceforge.net/%{name}/%{name}-%{version}.tar.bz2
BuildRequires: krb5-devel
BuildRequires: automake
BuildRequires: e2fsprogs-devel
Requires: krb5
%description
This package contains SunLib's implementation of transport-independent
RPC (TI-RPC) documentation. This library forms a piece of the base of Open Network
Computing (ONC), and is derived directly from the Solaris 2.3 source.
TI-RPC is an enhanced version of TS-RPC that requires the UNIX System V
Transport Layer Interface (TLI) or an equivalent X/Open Transport Interface
(XTI). TI-RPC is on-the-wire compatible with the TS-RPC, which is supported
by almost 70 vendors on all major operating systems. TS-RPC source code
(RPCSRC 4.0) remains available from several internet sites.
%package devel
Summary: Development files for the libtirpc library
Group: Development/Libraries
Requires: %{name} = %{version}-%{release}
Requires: krb5-devel
%description devel
This package includes header files and libraries necessary for developing programs which use the tirpc library.
%prep
%setup -q
%build
./configure --prefix=%{_prefix} --sysconfdir=%{_sysconfdir}
sed '/stdlib.h/a#include <stdint.h>' -i src/xdr_sizeof.c
make %{?_smp_mflags}
%install
make install DESTDIR=%{buildroot}
find %{buildroot} -type f -name "*.la" -delete -print
%post
/sbin/ldconfig
%postun
/sbin/ldconfig
%files
%license COPYING
%config(noreplace) %{_sysconfdir}/netconfig
%config(noreplace) %{_sysconfdir}/bindresvport.blacklist
%{_mandir}/man5/*
%{_libdir}/*.so.*
%files devel
%{_libdir}/*.so
%{_libdir}/pkgconfig/*.pc
%{_includedir}/tirpc/*
%{_mandir}/man3/*
%{_libdir}/*.a
%changelog
* Wed Aug 10 2022 Muhammad Falak <mwani@microsoft.com> - 1.3.3-1
- Bump verison to address CVE-2021-46828
* Fri Oct 22 2021 Andrew Phelps <anphel@microsoft.com> - 1.3.2-1
- Update to version 1.3.2
* Fri Sep 10 2021 Thomas Crain <thcrain@microsoft.com> - 1.1.4-5
- Remove libtool archive files from final packaging
* Sat May 09 2020 Nick Samson <nisamson@microsoft.com> - 1.1.4-4
- Added %%license line automatically
* Wed Apr 08 2020 Pawel Winogrodzki <pawelwi@microsoft.com> 1.1.4-3
- Fixed "Source0" and "URL" tags.
- License verified.
- Removed "%%define sha1".
* Tue Sep 03 2019 Mateusz Malisz <mamalisz@microsoft.com> 1.1.4-2
- Initial CBL-Mariner import from Photon (license: Apache2).
* Wed Sep 12 2018 Keerthana K <keerthanak@vmware.com> 1.1.4-1
- Update to version 1.1.4
* Thu Aug 24 2017 Alexey Makhalov <amakhalov@vmware.com> 1.0.1-7
- Fix compilation issue for glibc-2.26
* Thu May 18 2017 Vinay Kulkarni <kulkarniv@vmware.com> 1.0.1-6
- Fix CVE-2017-8779
* Wed Dec 07 2016 Xiaolin Li <xiaolinl@vmware.com> 1.0.1-5
- Moved man3 to devel subpackage.
* Thu Nov 24 2016 Alexey Makhalov <amakhalov@vmware.com> 1.0.1-4
- Required krb5-devel.
* Tue May 24 2016 Priyesh Padmavilasom <ppadmavilasom@vmware.com> 1.0.1-3
- GA - Bump release of all rpms
* Mon Feb 08 2016 Anish Swaminathan <anishs@vmware.com> 1.0.1-2
- Added patch for bindresvport blacklist
* Fri Jan 15 2016 Xiaolin Li <xiaolinl@vmware.com> 1.0.1-1
- Updated to version 1.0.1
* Thu Jul 23 2015 Divya Thaluru <dthaluru@vmware.com> 0.3.2-1
- Initial version