Sign Up
Log In
Log In
or
Sign Up
Places
All Projects
Status Monitor
Collapse sidebar
openSUSE:Evergreen:11.4
tomcat6.import5149
libtcnative-1-0.spec
Overview
Repositories
Revisions
Requests
Users
Attributes
Meta
File libtcnative-1-0.spec of Package tomcat6.import5149
# # spec file for package libtcnative-1-0 # # Copyright (c) 2011 SUSE LINUX Products GmbH, Nuernberg, Germany. # # All modifications and additions to the file contributed by third parties # remain the property of their copyright owners, unless otherwise agreed # upon. The license for this file, and modifications and additions to the # file, is the same license as for the pristine package itself (unless the # license for the pristine package is not an Open Source License, in which # case the license is the MIT License). An "Open Source License" is a # license that conforms to the Open Source Definition (Version 1.9) # published by the Open Source Initiative. # Please submit bugfixes or comments via http://bugs.opensuse.org/ # %define section free %define tomcat_major_version 6 %define tomcat_minor_version 0 %define tomcat_macro_version 24 %define tomcat_version %{tomcat_major_version}.%{tomcat_minor_version}.%{tomcat_macro_version} %define packdname apache-tomcat-%{tomcat_version}-src %define libname libtcnative-1 %define major 1 %define minor 3 %define micro 3 Name: libtcnative-1-0 Version: %{major}.%{minor}.%{micro} Release: 11.<RELEASE2> Summary: JNI wrappers for Apache Portable Runtime for Tomcat Group: Productivity/Networking/Web/Servers License: Apache Software License .. Url: http://tomcat.apache.org/tomcat-6.0-doc/apr.html Source0: tomcat-native-1.1.20-src.tar.gz Source1: apr-1.3.3.tar.bz2 BuildRoot: %{_tmppath}/%{name}-%{version}-build BuildRequires: python BuildRequires: libapr1-devel BuildRequires: openssl-devel BuildRequires: java-devel BuildRequires: fdupes AutoReqProv: on %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). These features allows making Tomcat a general purpose webserver, will enable much better integration with other native web technologies, and overall make Java much more viable as a full fledged webserver platform rather than simply a backend focused technology. %package devel License: Apache Software License .. Requires: %{name} = %{version}-%{release} Requires: libapr1-devel Requires: libopenssl-devel Requires: glibc-devel Group: Development/Libraries/C and C++ Summary: JNI wrappers for Apache Portable Runtime for Tomcat %description devel 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). These features allows making Tomcat a general purpose webserver, will enable much better integration with other native web technologies, and overall make Java much more viable as a full fledged webserver platform rather than simply a backend focused technology. %prep %setup -q -n tomcat-native-1.1.20-src -a 1 pushd jni/native chmod a+x build/*.sh mv BUILDING README popd %build pushd jni # remove pre-built binaries and windows files find . \( -name "*.bat" -o -name "*.class" -o -name "*.gz" -o \ -name "*.jar" -o -name "*.zip" \) | xargs -t %{__rm} -f # we don't care about the tarballs and we're going to replace # tomcat-dbcp.jar with jakarta-commons-{collections,dbcp,pool}-tomcat5.jar # so just create a dummy file for later removal touch HACK pushd native sh buildconf --with-apr=../../apr-%{version}/ ./configure \ --prefix=%{_prefix} \ --libdir=%{_libdir} \ --with-apr=%{_prefix} --with-openssl=%{_prefix} make popd popd %install pushd jni/native make DESTDIR=${RPM_BUILD_ROOT} install %{__install} -d -m 755 ${RPM_BUILD_ROOT}/%{_includedir} %{__install} -m 644 include/* ${RPM_BUILD_ROOT}/%{_includedir} rm ${RPM_BUILD_ROOT}/%{_libdir}/*.la popd %clean rm -rf $RPM_BUILD_ROOT %post -p /sbin/ldconfig %postun -p /sbin/ldconfig %files %defattr(-,root,root) %{_libdir}/%{libname}.so.* #bnc#622430 - java expects so files installed %{_libdir}/%{libname}.so %doc jni/native/README %files devel %defattr(-,root,root) %{_includedir}/* %{_libdir}/pkgconfig/*.pc %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