Sophie

Sophie

distrib > Mageia > 5 > x86_64 > media > core-release-src > by-pkgid > 8cc909289a1f2657784317f71732e7d8 > files > 3

tomcat-native-1.1.29-4.mga5.src.rpm

%define tcnver 1
%define lib_name %mklibname tcnative %{tcnver}

Summary:	Apache Tomcat Native Library
Name:		tomcat-native
Version:	1.1.29
Release:	%mkrel 4
Epoch:		0
License:	Apache License
Group:		Development/Java
URL:		http://tomcat.apache.org/
Source0:	http://www.apache.org/dist/tomcat/tomcat-connectors/native/%{version}/source/%{name}-%{version}-src.tar.gz
Source1:	http://www.apache.org/dist/tomcat/tomcat-connectors/native/%{version}/source/%{name}-%{version}-src.tar.gz.asc
BuildRequires:	apr-devel
BuildRequires:	java-devel >= 0:1.6.0
BuildRequires:	openssl-devel

%description
The Apache Tomcat Native Library provides portable API for features
not found in contemporary JDK's. It uses Apache Portable Runtime as
operating system abstraction layer and OpenSSL for SSL networking and
allows optimal performance in production environments.

%package -n %{lib_name}
Group:		Development/Java
Summary:	Tomcat Native development kit

%description -n %{lib_name}
The Apache Tomcat Native Library provides portable API for features
not found in contemporary JDK's. It uses Apache Portable Runtime as
operating system abstraction layer and OpenSSL for SSL networking and
allows optimal performance in production environments.

This package contains the runtime library.

%package -n %{lib_name}-devel
Group:		Development/Java
Summary:	Tomcat Native development kit
Provides:	%{_lib}tcnative-devel = %{epoch}:%{version}-%{release}
Requires:	%{lib_name} = %{epoch}:%{version}-%{release}
Requires:	apr-devel

%description -n %{lib_name}-devel
The Apache Tomcat Native Library provides portable API for features
not found in contemporary JDK's. It uses Apache Portable Runtime as
operating system abstraction layer and OpenSSL for SSL networking and
allows optimal performance in production environments.

This package contains development files.

%prep
%setup -q -n %{name}-%{version}-src/jni/native

%build
export JAVA_HOME=%{java_home}
%configure2_5x --with-apr=%{_prefix} \
    --includedir=%{_includedir}/apr-%{tcnver}
%make

%install
%makeinstall

%files -n %{lib_name}
%doc ../../LICENSE ../../NOTICE BUILDING
%{_libdir}/libtcnative-%{tcnver}.so.*

%files -n %{lib_name}-devel
%{_libdir}/libtcnative-%{tcnver}.*a
%{_libdir}/libtcnative-%{tcnver}.so
%{_libdir}/pkgconfig/tcnative-%{tcnver}.pc


%changelog
* Wed Oct 15 2014 umeabot <umeabot> 0:1.1.29-4.mga5
+ Revision: 741840
- Second Mageia 5 Mass Rebuild

* Tue Sep 16 2014 umeabot <umeabot> 0:1.1.29-3.mga5
+ Revision: 689917
- Mageia 5 Mass Rebuild

* Mon Oct 21 2013 umeabot <umeabot> 0:1.1.29-2.mga4
+ Revision: 541267
- Mageia 4 Mass Rebuild

  + mitya <mitya>
    - New version 1.1.29

* Fri Oct 11 2013 mitya <mitya> 0:1.1.28-1.mga4
+ Revision: 495426
- New version 1.1.28

* Mon Jan 14 2013 umeabot <umeabot> 0:1.1.24-3.mga3
+ Revision: 384651
- Mass Rebuild - https://wiki.mageia.org/en/Feature:Mageia3MassRebuild

* Fri Dec 07 2012 dmorgan <dmorgan> 0:1.1.24-2.mga3
+ Revision: 327800
- Build with Java7

* Sat Jul 07 2012 mitya <mitya> 0:1.1.24-1.mga3
+ Revision: 268742
- New version 1.1.24

* Sat May 12 2012 mitya <mitya> 0:1.1.23-1.mga2
+ Revision: 235482
- Imported version 1.1.23
- Created package structure for tomcat-native.