]> git.pld-linux.org Git - packages/tomcat-native.git/blame - tomcat-native.spec
- initial, builds and works but needs review. rel 0.1
[packages/tomcat-native.git] / tomcat-native.spec
CommitLineData
c9ca93f2 1Summary: Native Tomcat Connector based on APR
2Summary(pl.UTF-8): Natywny Connector Tomcata oparty o APR
3Name: tomcat-native
4Version: 1.1.16
5Release: 0.1
6License: Apache
7Group: Libraries
8Source0: http://www.apache.org/dist/tomcat/tomcat-connectors/native/%{version}/source/%{name}-%{version}-src.tar.gz
9URL: http://tomcat.apache.org/native-doc
10BuildRequires: apr-util-devel
11BuildRequires: jdk
12BuildRequires: openssl-devel
13Requires: apr
14Requires: openssl
15Suggests: jre
16Suggests: tomcat
17BuildRoot: %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
18
19%description
20Tomcat can use the Apache Portable Runtime to provide superior
21scalability, performance, and better integration with native server
22technologies. The Apache Portable Runtime is a highly portable library
23that is at the heart of Apache HTTP Server 2.x. APR has many uses,
24including access to advanced IO functionality (such as sendfile, epoll
25and OpenSSL), OS level functionality (random number generation, system
26status, etc), and native process handling (shared memory, NT pipes and
27Unix sockets).
28
29These features allows making Tomcat a general purpose webserver, will
30enable much better integration with other native web technologies, and
31overall make Java much more viable as a full fledged webserver
32platform rather than simply a backend focused technology.
33
34%description -l pl.UTF-8
35
36Tomcat może wykorzytać Apache Portable Runtime aby zapewnić
37najwyższą, saklowalność, wydajność i lepszą integrację z
38natywnymi technologiami serwerowymi.
39
40Apache portable Runtime jest wysoce przenośną biblioteką, która
41jest sercem serwera Apache HTTPD 2.x. APR ma wiele zestosowań, m. in.
42dostępd do zaawansowanych funkcjonalnośći IO (takich jak sendfile,
43epoll i OpenSSL), funkcjonalności posiomu systemu operacyjnego
44(generacja liczb losowych, stan systemu, itp.) i natywną obsługę
45procesów (współdzielona pamięć, potoki NT i gniazda uniksowe).
46
47Te cechy pozwalają na wykorzystanie Tomcata jako sewera www do
48zastosowań ogólnych, pozwalają na o wiele lepszą integrację z
49innymi natywnymi technologiami www i w ogólności pozwalają na
50traktowanie Javy jako zaawansowanej i kompletnej platformy www s nie
51tylko technologii backendowej.
52
53%package devel
54Summary: Header files for tcnative library
55Summary(pl.UTF-8): Pliki nagłówwkowe biblioteki tcnative
56Group: Development/Libraries
57Requires: %{name} = %{version}-%{release}
58
59%description devel
60Header files for tcnative library
61
62%description devel -l pl.UTF-8
63Pliki nag¿ówkowe biblioteki tcnative
64
65%prep
66%setup -q -n %{name}-%{version}-src/jni/native
67
68%build
69%configure \
70 --with-apr=%{_bindir} \
71 --with-java-home=%{java_home}\
72
73%{__make}
74
75%install
76rm -rf $RPM_BUILD_ROOT
77%{__make} install DESTDIR=$RPM_BUILD_ROOT
78
79# Unpackaged files
80rm -f $RPM_BUILD_ROOT%{_libdir}/tcnative.exp
81
82%clean
83rm -rf $RPM_BUILD_ROOT
84
85%files
86%defattr(644,root,root,755)
87#%doc CHANGES LICENSE NOTICE
88%attr(755,root,root) %{_libdir}/libtcnative-1.so*
89
90%files devel
91%defattr(644,root,root,755)
92%{_libdir}/libtcnative-1.*a
93%{_pkgconfigdir}/tcnative-1.pc
This page took 0.093238 seconds and 4 git commands to generate.