SPECS/librelp/librelp.spec
92e58245
 Summary:	RELP Library
 Name:		librelp
e75fadd6
 Version:	1.2.17
cb7d299e
 Release:	1%{?dist}
92e58245
 License:	GPLv3+
 URL:		http://www.librelp.com
 Source0:	http://download.rsyslog.com/librelp/%{name}-%{version}.tar.gz
e75fadd6
 %define sha1 librelp=701d69e7723fe614b96750af8cba5ee9a54085fe
92e58245
 Group:		System Environment/Libraries
 Vendor:		VMware, Inc.
 Distribution:	Photon
 BuildRequires:	gnutls-devel
935eec1d
 BuildRequires:	autogen
92e58245
 Requires:	gnutls
 %description
 Librelp is an easy to use library for the RELP protocol. RELP (stands
 for Reliable Event Logging Protocol) is a general-purpose, extensible
 logging protocol.
 
 %package devel
 Summary:	Development libraries and header files for librelp
 Requires:	librelp
 
 %description devel
 The package contains libraries and header files for
 developing applications that use librelp.
 
 %prep
 %setup -q
e75fadd6
 autoreconf -fiv
92e58245
 %build
 ./configure \
 	--prefix=%{_prefix}
 make %{?_smp_mflags}
e75fadd6
 
92e58245
 %install
 make DESTDIR=%{buildroot} install
3553e8bd
 
e75fadd6
 %check
 make check
 
92e58245
 %post	-p /sbin/ldconfig
 %postun	-p /sbin/ldconfig
 %files
 %defattr(-,root,root)
 %{_libdir}/*.so.*
 %{_libdir}/*.la
 %{_libdir}/*.a
 %files devel
 %defattr(-,root,root)
 %{_includedir}/*.h
 %{_libdir}/*.so
 %{_libdir}/pkgconfig/*.pc
 %changelog
e75fadd6
 *       Tue Sep 11 2018 Keerthana K <keerthanak@vmware.com> 1.2.17-1
 -       Updated to version 1.2.17
cb7d299e
 *	Tue Apr 11 2017 Harish Udaiy Kumar <hudaiyakumar@vmware.com> 1.2.13-1
 -	Updated to version 1.2.13
c3a3fd12
 *	Tue May 24 2016 Priyesh Padmavilasom <ppadmavilasom@vmware.com> 1.2.9-2
 -	GA - Bump release of all rpms
70b71d43
 * 	Thu Feb 25 2016 Anish Swaminathan <anishs@vmware.com>  1.2.9-1
 - 	Upgrade to 1.2.9
92e58245
 *	Thu Jun 18 2015 Divya Thaluru <dthaluru@vmware.com> 1.2.7-1
 -	Initial build. First version