librelp/librelp.spec
2019-12-03 11:09:16 +08:00

56 lines
1.3 KiB
RPMSpec

Name: librelp
Version: 1.2.16
Release: 3
Summary: An Easy To Use Library For The RELP Protocol
License: GPLv3+
URL: http://www.rsyslog.com/
Source0: http://download.rsyslog.com/librelp/%{name}-%{version}.tar.gz
Patch0001: librelp-1.2.13-crypto-compliance.patch
Requires(post): glibc
Requires(postun): glibc
BuildRequires: gnutls-devel >= 1.4.0
%description
Librelp is a convenient RELP protocol library. RELP (for Reliable Event
Logging Protocol) is a general-purpose and extensible logging protocol.
%package devel
Summary: Development files for librep
Requires: %{name} = %{version}-%{release} pkgconfig
BuildRequires: autoconf automake libtool
%description devel
The librelp-devel package includes header files and libraries necessary
for the librelp library.
%prep
%autosetup -n %{name}-%{version} -p1
%build
autoreconf -ivf
%configure --disable-static
%make_build
%install
%make_install
%delete_la
%post
/sbin/ldconfig
%postun
/sbin/ldconfig
%files
%doc AUTHORS COPYING NEWS README doc/*html
%{_libdir}/librelp.so.*
%files devel
%{_includedir}/*
%{_libdir}/librelp.so
%{_libdir}/pkgconfig/relp.pc
%changelog
* Wed Nov 27 2019 gulining<gulining1@huawei.com> - 1.2.16-3
- Pakcage init