Sign Up
Log In
Log In
or
Sign Up
Places
All Projects
Status Monitor
Collapse sidebar
home:csbuild:DBA
dba-tomcat-native-1132
dba-tomcat-native-1132.spec
Overview
Repositories
Revisions
Requests
Users
Attributes
Meta
File dba-tomcat-native-1132.spec of Package dba-tomcat-native-1132
%define maketest 0 %define real_name tomcat-native %define real_vers 1.1.32 %define vers 1132 %define with_dbassl 1 %define prefix /DBA/apache/JTN/%{real_vers} Name: dba-%{real_name}-%{vers} Version: %{real_vers} Release: 1 Summary: Tomcat native library version 1.1.32 Group: System/Libraries License: The Apache Software License URL: http://tomcat.apache.org/tomcat-6.0-doc/apr.html Source0: http://archive.apache.org/dist/tomcat/tomcat-connectors/native/%{real_name}-%{real_vers}-src.tar.gz Source1: %{real_name}-rpmlintrc BuildRoot: %{_tmppath}/%{name}-%{real_vers}-%{release}-root-%(%{__id_u} -n) BuildRequires: pcre-devel unzip %if %{with_dbassl} BuildRequires: dba-openssl-101j-static %define ssldir /DBA/openssl/1.0.1j %else BuildRequires: openssl-devel %endif #!BuildIgnore: dba-openssl-098o dba-openssl-098r dba-openssl-098x dba-openssl-101c dba-openssl-101e dba-openssl-101f dba-openssl-101g #!BuildIgnore: nspr %if 0%{?suse_version} BuildRequires: libapr-util1-devel >= 1.3 libapr1-devel >= 1.3 %if 0%{?sles_version} == 10 %ifarch i586 BuildRequires: java-1_5_0-ibm-alsa %endif BuildRequires: java-1_5_0-ibm-devel update-alternatives %endif %if 0%{?sles_version} == 9 BuildRequires: java2 %else %if 0%{?suse_version} <= 1030 BuildRequires: java-devel %endif %endif %if 0%{?suse_version} >= 1110 BuildRequires: -post-build-checks %if 0%{?sles_version} == 11 BuildRequires: java-1_6_0-ibm-devel #!BuildIgnore: java-1_4_2-sun-alsa java-1_4_2-ibm java-1_5_0-ibm-devel java-1_5_0-ibm-alsa %else %if 0%{?suse_version} >= 1200 BuildRequires: java-devel %else BuildRequires: java-1_6_0-openjdk-devel update-alternatives %endif #suse12 %endif #sles11 %endif #suse11 %else BuildRequires: apr-util-devel apr-devel %if 0%{?fedora_version} >= 19 BuildRequires: java-1.7.0-openjdk-devel %else %if 0%{?fedora_version} || 0%{?centos_version} >= 501 || 0%{?rhel_version} >= 501 BuildRequires: java-1.6.0-openjdk-devel %else BuildRequires: java-1.4.2-gcj-compat-devel %define java_home /usr/lib/jvm/java-1.4.2-gcj-1.4.2.0 %endif %endif %endif %description Tomcat can use the Apache Portable Runtime to provide superior scalability, performance, and better integration with native server technologies. The Apache Portable Runtime is a highly portable library that is at the heart of Apache HTTP Server 2.x. APR has many uses, including access to advanced IO functionality (such as sendfile, epoll and OpenSSL), OS level functionality (random number generation, system status, etc), and native process handling (shared memory, NT pipes and Unix sockets). This package contains the Tomcat native library which provides support for using APR in Tomcat. %prep %setup -q -n %{real_name}-%{real_vers}-src %build cd jni/native %configure \ --prefix=%{prefix} \ --with-apr=%{_bindir}/apr-1-config \ %if %{with_dbassl} --with-ssl=%{ssldir} \ --enable-ocsp \ %endif %if "%{?java_home}" != "" --with-java-home=%{java_home} \ %endif --with-java-platform=2 make %{?_smp_mflags} %install # prevent rpath problem on suse export NO_BRP_CHECK_RPATH=true %{__mkdir_p} %{buildroot}%{prefix}/lib make -C jni/native install DESTDIR=$RPM_BUILD_ROOT # Perhaps a devel package sometime? Not for now; no headers are installed. rm -f $RPM_BUILD_ROOT%{_libdir}/libtcnative*.*a rm -rf $RPM_BUILD_ROOT%{_libdir}/pkgconfig mv %{buildroot}%{_libdir}/libtcn* %{buildroot}%{prefix}/lib/ %clean rm -rf $RPM_BUILD_ROOT %files %defattr(-,root,root,-) %doc CHANGELOG.txt LICENSE NOTICE README.txt %dir %{prefix} %{prefix}/lib %changelog * Tue Dec 16 2014 Holger Manthey <holger.manthey@bertelsmann.de> - initial packet
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