2 %define _ver %(echo %{ver} | tr . _)
4 Summary: Java(TM) Authentication and Authorization Service
5 Summary(pl.UTF-8): JAAS - usługa uwierzytelniania i autoryzacji dla Javy
9 License: Sun Binary Code License
10 Group: Development/Languages/Java
11 Source0: %{name}-%{_ver}.zip
13 Source1: %{name}-%{_ver}-doc.zip
15 URL: http://java.sun.com/products/jaas/
19 BuildRoot: %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
21 %define _javalibdir %{_datadir}/java
24 The Java(TM) Authentication and Authorization Service (JAAS) is a Java
25 package that enables services to authenticate and enforce access
26 controls upon users. It implements a Java version of the standard
27 Pluggable Authentication Module (PAM) framework, and supports
28 user-based authorization.
30 This optional package is provided for Java 1.3 and 1.3.1. It has been
31 integrated in Java 1.4.
33 %description -l pl.UTF-8
34 JAAS (Java(TM) Authentication and Authorization Service) to pakiet
35 Javy umożliwiający usługom na uwierzytelnianie oraz narzucanie
36 kontroli dostępu w zależności od użytkownika. Pakiet jest
37 implementacją javowej wersji standardowego szkieletu PAM (Pluggable
38 Authentication Module) i obsługuje autoryzacją w oparciu o
41 Ten opcjonalny pakiet jest przeznaczony dla Javy 1.3 i 1.3.1; został
42 zintegrowany z Javą 1.4.
45 %setup -q -n %{name}%{_ver} -a1
48 rm -rf $RPM_BUILD_ROOT
49 install -d $RPM_BUILD_ROOT%{_javalibdir}
50 cp lib/%{name}.jar $RPM_BUILD_ROOT%{_javalibdir}
51 ln -sf %{name}.jar $RPM_BUILD_ROOT%{_javalibdir}/%{extension}-%{version}.jar
54 rm -rf $RPM_BUILD_ROOT
57 %defattr(644,root,root,755)
58 %doc doc/* %{name}%{_ver}-doc/apidoc
59 %{_javalibdir}/%{name}*.jar