Blame SPECS/librelp.spec

52ec1f
Summary: The Reliable Event Logging Protocol library
52ec1f
Name: librelp
52ec1f
Version: 1.2.12
52ec1f
Release: 1%{?dist}.1
52ec1f
License: GPLv3+
52ec1f
Group: System Environment/Libraries
52ec1f
URL: http://www.rsyslog.com/
52ec1f
Source0: http://download.rsyslog.com/librelp/%{name}-%{version}.tar.gz
52ec1f
Requires(post): /sbin/ldconfig
52ec1f
Requires(postun): /sbin/ldconfig
52ec1f
BuildRequires: gnutls-devel >= 1.4.0
52ec1f
BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n)
52ec1f
52ec1f
Patch1: librelp-1.2.12-rhbz1561232-snprintf.patch
52ec1f
52ec1f
%description
52ec1f
Librelp is an easy to use library for the RELP protocol. RELP (stands
52ec1f
for Reliable Event Logging Protocol) is a general-purpose, extensible
52ec1f
logging protocol.
52ec1f
52ec1f
%package devel
52ec1f
Summary: Development files for the %{name} package
52ec1f
Group: Development/Libraries
52ec1f
Requires: %{name} = %{version}-%{release}
52ec1f
Requires: pkgconfig
52ec1f
52ec1f
%description devel
52ec1f
Librelp is an easy to use library for the RELP protocol. The
52ec1f
librelp-devel package contains the header files and libraries needed
52ec1f
to develop applications using librelp.
52ec1f
52ec1f
%prep
52ec1f
%setup -q
52ec1f
52ec1f
%patch1 -p1 -b .snprintf
52ec1f
52ec1f
%build
52ec1f
%configure --disable-static
52ec1f
make %{?_smp_mflags}
52ec1f
52ec1f
%install
52ec1f
rm -rf $RPM_BUILD_ROOT
52ec1f
make install DESTDIR=$RPM_BUILD_ROOT
52ec1f
52ec1f
rm $RPM_BUILD_ROOT/%{_libdir}/*.la
52ec1f
52ec1f
%clean
52ec1f
rm -rf $RPM_BUILD_ROOT
52ec1f
52ec1f
%post -p /sbin/ldconfig
52ec1f
52ec1f
%postun
52ec1f
if [ "$1" = "0" ] ; then
52ec1f
    /sbin/ldconfig
52ec1f
fi
52ec1f
52ec1f
%files
52ec1f
%defattr(-,root,root,-)
52ec1f
%doc AUTHORS COPYING NEWS README doc/*html
52ec1f
%{_libdir}/librelp.so.*
52ec1f
52ec1f
%files devel
52ec1f
%defattr(-,root,root)
52ec1f
%{_includedir}/*
52ec1f
%{_libdir}/librelp.so
52ec1f
%{_libdir}/pkgconfig/relp.pc
52ec1f
52ec1f
%changelog
52ec1f
* Wed Mar 28 2018 Radovan Sroka <rsroka@redhat.com> 1.2.12-1.1
52ec1f
- fixed bad NVR
52ec1f
- resolves rhbz#1561232
52ec1f
52ec1f
* Wed Mar 28 2018 Radovan Sroka <rsroka@redhat.com> 1.2.12-2
52ec1f
- fixed CVE-2018-1000140
52ec1f
- resolves rhbz#1561232
52ec1f
52ec1f
* Mon Feb 13 2017 Radovan Sroka <rsroka@redhat.com> 1.2.12-1
52ec1f
- rebase to 1.2.12
52ec1f
- inevitable update due to rsyslog rebase 
52ec1f
- resolves rhbz#1420716
52ec1f
52ec1f
* Fri Jan 24 2014 Daniel Mach <dmach@redhat.com> - 1.2.0-3
52ec1f
- Mass rebuild 2014-01-24
52ec1f
52ec1f
* Fri Dec 27 2013 Daniel Mach <dmach@redhat.com> - 1.2.0-2
52ec1f
- Mass rebuild 2013-12-27
52ec1f
52ec1f
* Wed Jul 31 2013 Tomas Heinrich <theinric@redhat.com> - 1.2.0-1
52ec1f
- rebase to 1.2.0
52ec1f
- add gnutls-devel to BuildRequires
52ec1f
52ec1f
* Wed Apr 10 2013 Tomas Heinrich <theinric@redhat.com> - 1.0.3-1
52ec1f
- rebase to 1.0.3
52ec1f
52ec1f
* Thu Apr 04 2013 Tomas Heinrich <theinric@redhat.com> - 1.0.2-1
52ec1f
- rebase to 1.0.2
52ec1f
52ec1f
* Thu Feb 14 2013 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 1.0.1-2
52ec1f
- Rebuilt for https://fedoraproject.org/wiki/Fedora_19_Mass_Rebuild
52ec1f
52ec1f
* Wed Nov 21 2012 Tomas Heinrich <theinric@redhat.com> - 1.0.1-1
52ec1f
- upgrade to upstream version 1.0.1
52ec1f
52ec1f
* Thu Jul 19 2012 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 1.0.0-4
52ec1f
- Rebuilt for https://fedoraproject.org/wiki/Fedora_18_Mass_Rebuild
52ec1f
52ec1f
* Fri Jan 13 2012 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 1.0.0-3
52ec1f
- Rebuilt for https://fedoraproject.org/wiki/Fedora_17_Mass_Rebuild
52ec1f
52ec1f
* Tue Feb 08 2011 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 1.0.0-2
52ec1f
- Rebuilt for https://fedoraproject.org/wiki/Fedora_15_Mass_Rebuild
52ec1f
52ec1f
* Thu Jul 15 2010 Tomas Heinrich <theinric@redhat.com> - 1.0.0-1
52ec1f
- upgrade to upstream version 1.0.0
52ec1f
52ec1f
* Sat Jul 25 2009 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 0.1.1-4
52ec1f
- Rebuilt for https://fedoraproject.org/wiki/Fedora_12_Mass_Rebuild
52ec1f
52ec1f
* Wed Feb 25 2009 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 0.1.1-3
52ec1f
- Rebuilt for https://fedoraproject.org/wiki/Fedora_11_Mass_Rebuild
52ec1f
52ec1f
* Wed May  7 2008 Tomas Heinrich <theinric@redhat.com> 0.1.1-2
52ec1f
- removed "BuildRequires: autoconf automake"
52ec1f
52ec1f
* Tue Apr 29 2008 Tomas Heinrich <theinric@redhat.com> 0.1.1-1
52ec1f
- initial build