Sign Up
Log In
Log In
or
Sign Up
Places
All Projects
Status Monitor
Collapse sidebar
home:aevseev
libecap
libecap.spec
Overview
Repositories
Revisions
Requests
Users
Attributes
Meta
File libecap.spec of Package libecap
%define realname libecap %define realver 1.0.1 %define srcext tar.gz %define so_ver 3 %if 0%{?suse_version} < 1500 %define cxx11abi -D_GLIBCXX_USE_CXX11_ABI=0 %endif # Common info Name: %{realname}%{?so_ver} Version: %{realver} Release: wiz%{?extraver:0.}1 License: BSD-2-Clause Group: System/Libraries URL: http://www.e-cap.org/ Summary: The libecap library implements eCAP API in C++ # Install-time parameters Provides: %{realname} = %{realver} # Build-time parameters BuildRequires: pkg-config BuildRequires: gcc-c++ libstdc++-devel BuildRoot: %{_tmppath}/%{name}-root Source: http://www.measurement-factory.com/tmp/ecap/%{realname}-%{realver}%{?extraver}.%{srcext} %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 host application supplies the message details to the adaptation module and gets back an adapted message, a "not interested" response, or a "block this message now!" instruction. These exchanges often include message bodies. The libecap library implements eCAP API in C++. %package -n %{realname}-devel Group: Development/Languages/C and C++ Summary: Development files for %{name} Requires: %{name} = %{version}-%{release} Provides: %{name}-devel %description -n %{realname}-devel Development files for %{name} # Preparation step (unpackung and patching if necessary) %prep %setup -q -n %{realname}-%{realver}%{?extraver} %build %configure \ --disable-static \ LDFLAGS="-Wl,--as-needed -Wl,--strip-all" \ CFLAGS="%{optflags}" \ CXXFLAGS="%{optflags} %{?cxx11abi}" %{__make} %{?_smp_mflags} %install %{__make} install DESTDIR=%{buildroot} %clean [ "%{buildroot}" != "/" ] && rm -rf %{buildroot} %files %defattr(-,root,root) %doc CREDITS LICENSE NOTICE README %{_libdir}/*.so.%{?so_ver}* # Development stuff %files -n %{realname}-devel %defattr(-,root,root) %dir %{_includedir}/libecap/ %{_includedir}/libecap/* %{_libdir}/*.so %{_libdir}/pkgconfig/libecap.pc %exclude %{_libdir}/*.la %post -p /sbin/ldconfig %postun -p /sbin/ldconfig %changelog
Locations
Projects
Search
Status Monitor
Help
OpenBuildService.org
Documentation
API Documentation
Code of Conduct
Contact
Support
@OBShq
Terms
openSUSE Build Service is sponsored by
The Open Build Service is an
openSUSE project
.
Sign Up
Log In
Places
Places
All Projects
Status Monitor