4a7b73
Name:           libestr
721e06
Version:        0.1.9
721e06
Release:        2%{?dist}
4a7b73
Summary:        String handling essentials library
4a7b73
4a7b73
License:        LGPLv2+
4a7b73
URL:            http://libestr.adiscon.com/
4a7b73
Source0:        http://libestr.adiscon.com/files/download/libestr-%{version}.tar.gz
4a7b73
Patch0:        libestr-0.1.3-broken-configure-script.patch
4a7b73
4a7b73
%description
4a7b73
This package compiles the string handling essentials library
4a7b73
used by the Rsyslog daemon.
4a7b73
4a7b73
%package        devel
4a7b73
Summary:        Development files for %{name}
4a7b73
Requires:       %{name}%{?_isa} = %{version}-%{release}
4a7b73
4a7b73
%description    devel
4a7b73
The package contains libraries and header files for
4a7b73
developing applications that use libestr.
4a7b73
4a7b73
%prep
4a7b73
%setup -q
4a7b73
%patch0 -p1 -b broken-configure-script.patch
4a7b73
4a7b73
%build
4a7b73
%configure --disable-static --with-pic
4a7b73
V=1 make %{?_smp_mflags}
4a7b73
4a7b73
%install
4a7b73
make install INSTALL="install -p" DESTDIR=%{buildroot}
4a7b73
rm -f %{buildroot}/%{_libdir}/*.{a,la}
4a7b73
4a7b73
%post -p /sbin/ldconfig
4a7b73
4a7b73
%postun -p /sbin/ldconfig
4a7b73
4a7b73
%files
4a7b73
%doc README COPYING AUTHORS ChangeLog
4a7b73
%{_libdir}/lib*.so.*
4a7b73
4a7b73
%files devel
4a7b73
%{_includedir}/libestr.h
4a7b73
%{_libdir}/*.so
4a7b73
%{_libdir}/pkgconfig/libestr.pc
4a7b73
4a7b73
%changelog
721e06
* Fri Jan 24 2014 Daniel Mach <dmach@redhat.com> - 0.1.9-2
721e06
- Mass rebuild 2014-01-24
721e06
721e06
* Fri Jan 10 2014 Tomas Heinrich <theinric@redhat.com> - 0.1.9-1
721e06
- rebase to 0.1.9
721e06
  resolves: #1049645
721e06
721e06
* Fri Dec 27 2013 Daniel Mach <dmach@redhat.com> - 0.1.5-2
721e06
- Mass rebuild 2013-12-27
721e06
4a7b73
* Tue Apr 02 2013 Tomas Heinrich <theinric@redhat.com> - 0.1.5-1
4a7b73
- rebase to 0.1.5
4a7b73
4a7b73
* Wed Dec 12 2012 Mahaveer Darade <mdarade@redhat.com> - 0.1.4-1
4a7b73
- upgrade to upstream version 0.1.4
4a7b73
- correct an impossible timestamp in an older changelog entry
4a7b73
4a7b73
* Thu Sep 20 2012 mdarade <mdarade@redhat.com> - 0.1.3-3
4a7b73
- Fixed broken configure script
4a7b73
4a7b73
* Mon Aug 27 2012 mdarade <mdarade@redhat.com> - 0.1.3-2
4a7b73
- Removed unnecessary macros in spec file.
4a7b73
4a7b73
* Tue Aug 7 2012 Mahaveer Darade <mdarade@redhat.com> - 0.1.3-1
4a7b73
- Initial port libestr-0.1.3