Репозитории ALT
S: | 1.2.35-alt1_1jpp11 |
5.1: | 1.1.16-alt2_1jpp5 |
4.1: | 1.1.13-alt1_1jpp1.7 |
Группа :: Разработка/Java
Пакет: tomcat-native
Главная Изменения Спек Патчи Sources Загрузить Gear Bugs and FR Repocop
Packager: Igor Vlasenko <viy at altlinux.ru>
BuildRequires: /proc
BuildRequires: jpackage-compat
Name: tomcat-native
Version: 1.1.16
Release: alt2_1jpp5
Summary: Tomcat native library
Group: Development/Java
License: ASL 2.0
URL: http://tomcat.apache.org/tomcat-6.0-doc/apr.html
Source0: http://archive.apache.org/dist/tomcat/tomcat-connectors/native/%{name}-%{version}-src.tar.gz
BuildRequires: jpackage-utils
BuildRequires: libapr1-devel >= 1.2.1
BuildRequires: libssl-devel
# Upstream compatibility:
Provides: tcnative = %{version}-%{release}
%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 %{name}-%{version}-src
%build
cd jni/native
%configure \
--with-apr=%{_bindir}/apr-1-config \
--with-java-home=%{java_home} \
--with-java-platform=2
make %{?_smp_mflags}
%install
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
%files
%doc CHANGELOG.txt LICENSE NOTICE.txt
# Note: unversioned *.so needed here due to how Tomcat loads the lib :(
%{_libdir}/libtcnative*.so*
%changelog
…
Полный changelog можно просмотреть здесь
BuildRequires: /proc
BuildRequires: jpackage-compat
Name: tomcat-native
Version: 1.1.16
Release: alt2_1jpp5
Summary: Tomcat native library
Group: Development/Java
License: ASL 2.0
URL: http://tomcat.apache.org/tomcat-6.0-doc/apr.html
Source0: http://archive.apache.org/dist/tomcat/tomcat-connectors/native/%{name}-%{version}-src.tar.gz
BuildRequires: jpackage-utils
BuildRequires: libapr1-devel >= 1.2.1
BuildRequires: libssl-devel
# Upstream compatibility:
Provides: tcnative = %{version}-%{release}
%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 %{name}-%{version}-src
%build
cd jni/native
%configure \
--with-apr=%{_bindir}/apr-1-config \
--with-java-home=%{java_home} \
--with-java-platform=2
make %{?_smp_mflags}
%install
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
%files
%doc CHANGELOG.txt LICENSE NOTICE.txt
# Note: unversioned *.so needed here due to how Tomcat loads the lib :(
%{_libdir}/libtcnative*.so*
%changelog
…
Полный changelog можно просмотреть здесь