librelp/librelp.spec
cherry530 8121a99511 fix AM_INIT_AUTOMAKE expanded multiple times
Signed-off-by: cherry530 <xuping33@huawei.com>
(cherry picked from commit 45c6472c050c235e9dec58386d50d3453e6f9c10)
2022-03-29 15:08:21 +08:00

60 lines
1.4 KiB
RPMSpec

Name: librelp
Version: 1.2.16
Release: 4
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
Patch0002: remove-AM_INIT_AUTOMAKE.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 Jan 12 2021 xu_ping<xuping33@huawei.com> - 1.2.16-4
- remove AM_INIT_AUTOMAKE to fix AM_INIT_AUTOMAKE expanded multiple times
* Wed Nov 27 2019 gulining<gulining1@huawei.com> - 1.2.16-3
- Pakcage init