]> git.pld-linux.org Git - SPECS.git/blob - jaas.spec
SPECS updated Wed 28 Jul 14:48:01 CEST 2021
[SPECS.git] / jaas.spec
1 %define         ver             1.0_01
2 %define         _ver            %(echo %{ver} | tr . _)
3
4 Summary:        Java(TM) Authentication and Authorization Service
5 Summary(pl.UTF-8):      JAAS - usługa uwierzytelniania i autoryzacji dla Javy
6 Name:           jaas
7 Version:        %{ver}
8 Release:        0.1
9 License:        Sun Binary Code License
10 Group:          Development/Languages/Java
11 Source0:        %{name}-%{_ver}.zip
12 NoSource:       0
13 Source1:        %{name}-%{_ver}-doc.zip
14 NoSource:       1
15 URL:            http://java.sun.com/products/jaas/
16 BuildRequires:  unzip
17 Requires:       jre
18 BuildArch:      noarch
19 BuildRoot:      %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
20
21 %define         _javalibdir     %{_datadir}/java
22
23 %description
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.
29
30 This optional package is provided for Java 1.3 and 1.3.1. It has been
31 integrated in Java 1.4.
32
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
39 użytkowników.
40
41 Ten opcjonalny pakiet jest przeznaczony dla Javy 1.3 i 1.3.1; został
42 zintegrowany z Javą 1.4.
43
44 %prep
45 %setup -q -n %{name}%{_ver} -a1
46
47 %install
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
52
53 %clean
54 rm -rf $RPM_BUILD_ROOT
55
56 %files
57 %defattr(644,root,root,755)
58 %doc doc/* %{name}%{_ver}-doc/apidoc
59 %{_javalibdir}/%{name}*.jar
This page took 0.213815 seconds and 3 git commands to generate.