Author: baggins                      Date: Wed Sep  8 18:03:25 2010 GMT
Module: packages                      Tag: HEAD
---- Log message:
- initial revision

---- Files affected:
packages/libecap:
   libecap-gcc.patch (NONE -> 1.1)  (NEW), libecap.spec (NONE -> 1.1)  (NEW)

---- Diffs:

================================================================
Index: packages/libecap/libecap-gcc.patch
diff -u /dev/null packages/libecap/libecap-gcc.patch:1.1
--- /dev/null   Wed Sep  8 20:03:25 2010
+++ packages/libecap/libecap-gcc.patch  Wed Sep  8 20:03:17 2010
@@ -0,0 +1,9 @@
+--- libecap-0.0.2/src/libecap/common/name.cc~  2008-05-14 00:18:00.000000000 
+0200
++++ libecap-0.0.2/src/libecap/common/name.cc   2010-09-08 19:59:23.742327925 
+0200
+@@ -1,5 +1,6 @@
+ #include <libecap/common/name.h>
+ #include <libecap/common/errors.h>
++#include <climits>
+ #include <limits>
+ 
+ libecap::Name::Id libecap::Name::TheLastId = libecap::Name::nameUnidentified;

================================================================
Index: packages/libecap/libecap.spec
diff -u /dev/null packages/libecap/libecap.spec:1.1
--- /dev/null   Wed Sep  8 20:03:25 2010
+++ packages/libecap/libecap.spec       Wed Sep  8 20:03:17 2010
@@ -0,0 +1,96 @@
+# $Revision$, $Date$
+Summary:       eCAP - the code in the middle
+Name:          libecap
+Version:       0.0.2
+Release:       0.1
+License:       BSD
+Group:         Libraries
+Source0:       
http://www.measurement-factory.com/tmp/ecap/%{name}-%{version}.tar.gz
+# Source0-md5: 9bd302fef03eba1e6627a4ad2942aa41
+Patch0:                %{name}-gcc.patch
+URL:           http://www.e-cap.org/
+BuildRoot:     %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
+
+%description
+eCAP is a software interface that allows a network application, such
+as an HTTP proxy or an ICAP server, to outsource content analysis and
+adaptation to a loadable module. For each applicable protocol message
+being processed, an eCAP-enabled application supplies the message
+details to the adaptation module and gets back an adapted message or a
+"not interested" response. These exchanges often include message
+bodies.
+
+If you are familiar with the ICAP protocol (RFC 3507), then you may
+think of eCAP as an "embedded ICAP", where network interactions with
+an ICAP server are replaced with function calls to an adaptation
+module.
+
+%package devel
+Summary:       Header files for eCAP library
+Summary(pl.UTF-8):     Pliki nagłówkowe biblioteki eCAP
+Group:         Development/Libraries
+Requires:      %{name} = %{version}-%{release}
+
+%description devel
+Header files for eCAP library.
+
+%description devel -l pl.UTF-8
+Pliki nagłówkowe biblioteki eCAP.
+
+%package static
+Summary:       Static eCAP library
+Summary(pl.UTF-8):     Statyczna biblioteka eCAP
+Group:         Development/Libraries
+Requires:      %{name}-devel = %{version}-%{release}
+
+%description static
+Static eCAP library.
+
+%description static -l pl.UTF-8
+Statyczna biblioteka eCAP.
+
+%prep
+%setup -q
+%patch0 -p1
+
+%build
+%configure
+%{__make}
+
+%install
+rm -rf $RPM_BUILD_ROOT
+
+%{__make} install \
+       DESTDIR=$RPM_BUILD_ROOT
+
+%clean
+rm -rf $RPM_BUILD_ROOT
+
+%post  -p /sbin/ldconfig
+%postun        -p /sbin/ldconfig
+
+%files
+%defattr(644,root,root,755)
+%doc CREDITS NOTICE README
+%attr(755,root,root) %{_libdir}/libecap.so.*.*.*
+%attr(755,root,root) %ghost %{_libdir}/libecap.so.0
+
+%files devel
+%defattr(644,root,root,755)
+%{_libdir}/libecap.so
+%{_includedir}/libaecap
+
+%files static
+%defattr(644,root,root,755)
+%{_libdir}/libecap.a
+%{_libdir}/libecap.la
+
+%define date   %(echo `LC_ALL="C" date +"%a %b %d %Y"`)
+%changelog
+* %{date} PLD Team <[email protected]>
+All persons listed below can be reached at <cvs_login>@pld-linux.org
+
+$Log$
+Revision 1.1  2010/09/08 18:03:17  baggins
+- initial revision
+
================================================================
_______________________________________________
pld-cvs-commit mailing list
[email protected]
http://lists.pld-linux.org/mailman/listinfo/pld-cvs-commit

Reply via email to