1 Summary: Native Tomcat Connector based on APR
2 Summary(pl.UTF-8): Natywny Connector Tomcata oparty o APR
8 Source0: http://www.apache.org/dist/tomcat/tomcat-connectors/native/%{version}/source/%{name}-%{version}-src.tar.gz
9 URL: http://tomcat.apache.org/native-doc
10 BuildRequires: apr-util-devel
12 BuildRequires: openssl-devel
17 BuildRoot: %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
20 Tomcat can use the Apache Portable Runtime to provide superior
21 scalability, performance, and better integration with native server
22 technologies. The Apache Portable Runtime is a highly portable library
23 that is at the heart of Apache HTTP Server 2.x. APR has many uses,
24 including access to advanced IO functionality (such as sendfile, epoll
25 and OpenSSL), OS level functionality (random number generation, system
26 status, etc), and native process handling (shared memory, NT pipes and
29 These features allows making Tomcat a general purpose webserver, will
30 enable much better integration with other native web technologies, and
31 overall make Java much more viable as a full fledged webserver
32 platform rather than simply a backend focused technology.
34 %description -l pl.UTF-8
36 Tomcat może wykorzytać Apache Portable Runtime aby zapewnić
37 najwyższą, saklowalność, wydajność i lepszą integrację z
38 natywnymi technologiami serwerowymi.
40 Apache portable Runtime jest wysoce przenośną biblioteką, która
41 jest sercem serwera Apache HTTPD 2.x. APR ma wiele zestosowań, m. in.
42 dostępd do zaawansowanych funkcjonalnośći IO (takich jak sendfile,
43 epoll i OpenSSL), funkcjonalności posiomu systemu operacyjnego
44 (generacja liczb losowych, stan systemu, itp.) i natywną obsługę
45 procesów (współdzielona pamięć, potoki NT i gniazda uniksowe).
47 Te cechy pozwalają na wykorzystanie Tomcata jako sewera www do
48 zastosowań ogólnych, pozwalają na o wiele lepszą integrację z
49 innymi natywnymi technologiami www i w ogólności pozwalają na
50 traktowanie Javy jako zaawansowanej i kompletnej platformy www s nie
51 tylko technologii backendowej.
54 Summary: Header files for tcnative library
55 Summary(pl.UTF-8): Pliki nagłówwkowe biblioteki tcnative
56 Group: Development/Libraries
57 Requires: %{name} = %{version}-%{release}
60 Header files for tcnative library
62 %description devel -l pl.UTF-8
63 Pliki nag¿ówkowe biblioteki tcnative
66 %setup -q -n %{name}-%{version}-src/jni/native
70 --with-apr=%{_bindir} \
71 --with-java-home=%{java_home}\
76 rm -rf $RPM_BUILD_ROOT
77 %{__make} install DESTDIR=$RPM_BUILD_ROOT
80 rm -f $RPM_BUILD_ROOT%{_libdir}/tcnative.exp
83 rm -rf $RPM_BUILD_ROOT
86 %defattr(644,root,root,755)
87 #%doc CHANGES LICENSE NOTICE
88 %attr(755,root,root) %{_libdir}/libtcnative-1.so*
91 %defattr(644,root,root,755)
92 %{_libdir}/libtcnative-1.*a
93 %{_pkgconfigdir}/tcnative-1.pc