75fe99
Name:       libecap
75fe99
Version:    1.0.1
12ac2d
Release:    2%{?dist}
75fe99
Summary:    Squid interface for embedded adaptation modules
75fe99
License:    BSD
75fe99
Group:      Development/Libraries
75fe99
URL:        http://www.e-cap.org/
75fe99
Source0:    http://www.measurement-factory.com/tmp/ecap/%{name}-%{version}.tar.gz
75fe99
Source1:    autoconf.h
75fe99
75fe99
%description
75fe99
eCAP is a software interface that allows a network application, such as an 
75fe99
HTTP proxy or an ICAP server, to outsource content analysis and adaptation to 
75fe99
a loadable module. For each applicable protocol message being processed, an 
75fe99
eCAP-enabled host application supplies the message details to the adaptation 
75fe99
module and gets back an adapted message, a "not interested" response, or a 
75fe99
"block this message now!" instruction. These exchanges often include message 
75fe99
bodies.
75fe99
75fe99
The adaptation module can also exchange meta-information with the host 
75fe99
application to supply additional details such as configuration options, a 
75fe99
reason behind the decision to ignore a message, or a detected virus name.
75fe99
75fe99
If you are familiar with the ICAP protocol (RFC 3507), then you may think of 
75fe99
eCAP as an "embedded ICAP", where network interactions with an ICAP server are 
75fe99
replaced with function calls to an adaptation module.
75fe99
75fe99
%package devel
75fe99
Summary:    Libraries and header files for the libecap library
75fe99
Group:      Development/Libraries
75fe99
Requires:   %{name} = %{version}-%{release}
75fe99
75fe99
%description devel
75fe99
This package provides the libraries, include files, and other
75fe99
resources needed for developing libecap applications.
75fe99
75fe99
%prep
75fe99
%setup -q
75fe99
75fe99
%build
75fe99
%configure
75fe99
make %{?_smp_mflags}
75fe99
75fe99
%install
75fe99
make install DESTDIR=%{buildroot}
75fe99
rm -f %{buildroot}%{_libdir}/libecap.a
75fe99
rm -f %{buildroot}%{_libdir}/libecap.la
75fe99
75fe99
# Rename libecap/common/autoconf.h to libecap/common/autoconf-<arch>.h to avoid file conflicts on
75fe99
# multilib systems and install autoconf.h wrapper
75fe99
mv %{buildroot}%{_includedir}/%{name}/common/autoconf.h %{buildroot}%{_includedir}/%{name}/common/autoconf-%{_arch}.h
75fe99
install -m644 %{SOURCE1} %{buildroot}%{_includedir}/%{name}/common/autoconf.h
75fe99
75fe99
%post   -p /sbin/ldconfig
75fe99
%postun -p /sbin/ldconfig
75fe99
75fe99
%files
75fe99
%doc LICENSE CREDITS NOTICE README
75fe99
%{_libdir}/libecap.so.*
75fe99
75fe99
%files devel
75fe99
%{_libdir}/libecap.so
75fe99
%{_libdir}/pkgconfig/libecap.pc
75fe99
%{_includedir}/libecap
75fe99
75fe99
%changelog
12ac2d
* Fri Aug 23 2019 Lubos Uhliarik <luhliari@redhat.com> - 1.0.1-2
12ac2d
- Resolves: #1695587 - Ensure modular RPM upgrade path
12ac2d
75fe99
* Mon Aug 21 2017 Luboš Uhliarik <luhliari@redhat.com> - 1.0.1-1
75fe99
- new version 1.0.1
75fe99
- autoconf.h moved from lookaside to dist-git
75fe99
75fe99
* Thu Aug 03 2017 Fedora Release Engineering <releng@fedoraproject.org> - 1.0.0-7
75fe99
- Rebuilt for https://fedoraproject.org/wiki/Fedora_27_Binutils_Mass_Rebuild
75fe99
75fe99
* Wed Jul 26 2017 Fedora Release Engineering <releng@fedoraproject.org> - 1.0.0-6
75fe99
- Rebuilt for https://fedoraproject.org/wiki/Fedora_27_Mass_Rebuild
75fe99
75fe99
* Fri Feb 10 2017 Fedora Release Engineering <releng@fedoraproject.org> - 1.0.0-5
75fe99
- Rebuilt for https://fedoraproject.org/wiki/Fedora_26_Mass_Rebuild
75fe99
75fe99
* Thu Feb 04 2016 Fedora Release Engineering <releng@fedoraproject.org> - 1.0.0-4
75fe99
- Rebuilt for https://fedoraproject.org/wiki/Fedora_24_Mass_Rebuild
75fe99
75fe99
* Wed Jun 17 2015 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 1.0.0-3
75fe99
- Rebuilt for https://fedoraproject.org/wiki/Fedora_23_Mass_Rebuild
75fe99
75fe99
* Sat May 02 2015 Kalev Lember <kalevlember@gmail.com> - 1.0.0-2
75fe99
- Rebuilt for GCC 5 C++11 ABI change
75fe99
75fe99
* Fri Mar 13 2015 Pavel Šimerda <psimerda@redhat.com> - 1.0.0-1
75fe99
- new version 1.0.0
75fe99
75fe99
* Sun Aug 17 2014 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 0.2.0-10
75fe99
- Rebuilt for https://fedoraproject.org/wiki/Fedora_21_22_Mass_Rebuild
75fe99
75fe99
* Sat Jun 07 2014 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 0.2.0-9
75fe99
- Rebuilt for https://fedoraproject.org/wiki/Fedora_21_Mass_Rebuild
75fe99
75fe99
* Tue May 13 2014 Jaromir Capik <jcapik@redhat.com> - 0.2.0-8
75fe99
- Introducing suppport for ppc64le in autoconf.h (#1075180)
75fe99
75fe99
* Mon Sep 16 2013 Michal Luscon <mluscon@redhat.com> - 0.2.0-7
75fe99
- Fixed: #831404 - multilib conflicts due to platform dependent autoconf.h
75fe99
75fe99
* Sat Aug 03 2013 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 0.2.0-6
75fe99
- Rebuilt for https://fedoraproject.org/wiki/Fedora_20_Mass_Rebuild
75fe99
75fe99
* Thu Feb 14 2013 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 0.2.0-5
75fe99
- Rebuilt for https://fedoraproject.org/wiki/Fedora_19_Mass_Rebuild
75fe99
75fe99
* Thu Jul 19 2012 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 0.2.0-4
75fe99
- Rebuilt for https://fedoraproject.org/wiki/Fedora_18_Mass_Rebuild
75fe99
75fe99
* Fri Jan 13 2012 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 0.2.0-3
75fe99
- Rebuilt for https://fedoraproject.org/wiki/Fedora_17_Mass_Rebuild
75fe99
75fe99
* Mon Dec 12 2011 Chris Spike <spike@fedoraproject.org> 0.2.0-2
75fe99
- Added pkgconfig file to -devel
75fe99
75fe99
* Mon Jul 11 2011 Chris Spike <spike@fedoraproject.org> 0.2.0-1
75fe99
- Updated to 0.2.0
75fe99
75fe99
* Tue May 10 2011 Chris Spike <spike@fedoraproject.org> 0.0.3-2
75fe99
- Added LICENSE to doc
75fe99
- Fixed release tag (missing dist)
75fe99
75fe99
* Wed Apr 27 2011 Chris Spike <spike@fedoraproject.org> 0.0.3-1
75fe99
- Initial version of the package