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