]> git.pld-linux.org Git - packages/cryptix.git/blob - cryptix.spec
b23605a146feba8ee264e4d1da6cefae12915344
[packages/cryptix.git] / cryptix.spec
1 Summary:        Java crypto package
2 Summary(pl):    Pakiet kryptograficzny Javy
3 Name:           cryptix
4 Version:        3.2.0
5 Release:        1
6 License:        BSD-like
7 Group:          Development/Languages/Java
8 %define         snapshot        20001002
9 Source0:        http://www.cryptix.org/dist/%{name}32-%{snapshot}-r%{version}.zip
10 # Source0-md5:  7a3545ede3fff5c89eba601fea03791a
11 Source1:        %{name}.build.xml
12 URL:            http://www.cryptix.org/
13 BuildRequires:  jakarta-ant >= 1.5
14 BuildRequires:  unzip
15 Requires:       jre >= 1.1
16 BuildArch:      noarch
17 BuildRoot:      %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
18
19 %description
20 Cryptix 3 is a cleanroom implementation of Sun's Java Cryptography
21 Extensions (JCE) version 1.1. In addition to that it contains the
22 Cryptix Provider which delivers a wide range of algorithms and support
23 for PGP 2.x. Cryptix 3 runs on both JDK 1.1 and JDK 1.2 (Java 2).
24
25 %description -l pl
26 Cryptix 3 to implementacja standardu JCE (Java Cryptography
27 Extensions) Suna w wersji 1.1. Pakiet dodatkowo zawiera Cryptix
28 Provider, dostarczaj±cy szeroki zakres algorytmów oraz wsparcie dla
29 PGP 2.x. Cryptix 3 dzia³a zarówno na JDK 1.1 jak i JDK 1.2 (Java 2).
30
31 %prep
32 %setup -q -c
33 cp %{SOURCE1} build.xml
34 find . -name "*.jar" -exec rm -f {} \;
35
36 %build
37 ant jar javadoc
38
39 %install
40 rm -rf $RPM_BUILD_ROOT
41 install -d $RPM_BUILD_ROOT%{_javadir}
42 cp build/lib/%{name}.jar $RPM_BUILD_ROOT%{_javadir}
43 ln -sf %{name}.jar $RPM_BUILD_ROOT%{_javadir}/%{name}-%{version}.jar
44
45 %clean
46 rm -rf $RPM_BUILD_ROOT
47
48 %files
49 %defattr(644,root,root,755)
50 %doc LICENCE.TXT README.TXT build/api
51 %{_javadir}/*.jar
This page took 0.071433 seconds and 3 git commands to generate.