93228f
Name:       libecap
93228f
Version:    1.0.0
93228f
Release:    1%{?dist}
93228f
Summary:    Squid interface for embedded adaptation modules
93228f
License:    BSD
93228f
Group:      Development/Libraries
93228f
URL:        http://www.e-cap.org/
93228f
Source0:    http://www.measurement-factory.com/tmp/ecap/%{name}-%{version}.tar.gz
93228f
Source1:    autoconf.h
93228f
93228f
%description
93228f
eCAP is a software interface that allows a network application, such as an 
93228f
HTTP proxy or an ICAP server, to outsource content analysis and adaptation to 
93228f
a loadable module. For each applicable protocol message being processed, an 
93228f
eCAP-enabled host application supplies the message details to the adaptation 
93228f
module and gets back an adapted message, a "not interested" response, or a 
93228f
"block this message now!" instruction. These exchanges often include message 
93228f
bodies.
93228f
93228f
The adaptation module can also exchange meta-information with the host 
93228f
application to supply additional details such as configuration options, a 
93228f
reason behind the decision to ignore a message, or a detected virus name.
93228f
93228f
If you are familiar with the ICAP protocol (RFC 3507), then you may think of 
93228f
eCAP as an "embedded ICAP", where network interactions with an ICAP server are 
93228f
replaced with function calls to an adaptation module.
93228f
93228f
%package devel
93228f
Summary:    Libraries and header files for the libecap library
93228f
Group:      Development/Libraries
93228f
Requires:   %{name} = %{version}-%{release}
93228f
93228f
%description devel
93228f
This package provides the libraries, include files, and other
93228f
resources needed for developing libecap applications.
93228f
93228f
%prep
93228f
%setup -q
93228f
93228f
%build
93228f
%configure
93228f
make %{?_smp_mflags}
93228f
93228f
%install
93228f
make install DESTDIR=%{buildroot}
93228f
rm -f %{buildroot}%{_libdir}/libecap.a
93228f
rm -f %{buildroot}%{_libdir}/libecap.la
93228f
93228f
# Rename libecap/common/autoconf.h to libecap/common/autoconf-<arch>.h to avoid file conflicts on
93228f
# multilib systems and install autoconf.h wrapper
93228f
mv %{buildroot}%{_includedir}/%{name}/common/autoconf.h %{buildroot}%{_includedir}/%{name}/common/autoconf-%{_arch}.h
93228f
install -m644 %{SOURCE1} %{buildroot}%{_includedir}/%{name}/common/autoconf.h
93228f
93228f
93228f
%post   -p /sbin/ldconfig
93228f
%postun -p /sbin/ldconfig
93228f
93228f
%files
93228f
%doc LICENSE CREDITS NOTICE README
93228f
%{_libdir}/libecap.so.*
93228f
93228f
%files devel
93228f
%{_libdir}/libecap.so
93228f
%{_libdir}/pkgconfig/libecap.pc
93228f
%{_includedir}/libecap
93228f
93228f
%changelog
93228f
* Tue Apr 12 2016 Luboš Uhliarik <luhliari@redhat.com> - 1.0.0-1
93228f
- Resolves: #1326254 - Rebase libecap to version 1.0.0
93228f
93228f
* Mon Aug 11 2014 Michal Luscon <mluscon@redhat.com> - 0.2.0-9
93228f
- Fixed: #1125685 - ppc64le architecture
93228f
93228f
* Fri Jan 24 2014 Daniel Mach <dmach@redhat.com> - 0.2.0-8
93228f
- Mass rebuild 2014-01-24
93228f
93228f
* Fri Dec 27 2013 Daniel Mach <dmach@redhat.com> - 0.2.0-7
93228f
- Mass rebuild 2013-12-27
93228f
93228f
* Tue Aug 20 2013 Michal Luscon <mluscon@redhat.com> - 0.2.0-6
93228f
- Fixed: #881193 - multilib conflicts due to platform dependent autoconf.h
93228f
93228f
* Thu Feb 14 2013 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 0.2.0-5
93228f
- Rebuilt for https://fedoraproject.org/wiki/Fedora_19_Mass_Rebuild
93228f
93228f
* Thu Jul 19 2012 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 0.2.0-4
93228f
- Rebuilt for https://fedoraproject.org/wiki/Fedora_18_Mass_Rebuild
93228f
93228f
* Fri Jan 13 2012 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 0.2.0-3
93228f
- Rebuilt for https://fedoraproject.org/wiki/Fedora_17_Mass_Rebuild
93228f
93228f
* Mon Dec 12 2011 Chris Spike <spike@fedoraproject.org> 0.2.0-2
93228f
- Added pkgconfig file to -devel
93228f
93228f
* Mon Jul 11 2011 Chris Spike <spike@fedoraproject.org> 0.2.0-1
93228f
- Updated to 0.2.0
93228f
93228f
* Tue May 10 2011 Chris Spike <spike@fedoraproject.org> 0.0.3-2
93228f
- Added LICENSE to doc
93228f
- Fixed release tag (missing dist)
93228f
93228f
* Wed Apr 27 2011 Chris Spike <spike@fedoraproject.org> 0.0.3-1
93228f
- Initial version of the package