]>
Commit | Line | Data |
---|---|---|
1a3823ad PZ |
1 | # WON'T BUILD WITH J1.5 - uses some reserved keywords as variable names, |
2 | # needs compiling in 1.4 compatible mode (-source 1.4) | |
abcdb61e | 3 | Summary: Java crypto package |
605f8be8 | 4 | Summary(pl.UTF-8): Pakiet kryptograficzny Javy |
abcdb61e | 5 | Name: cryptix |
6 | Version: 3.2.0 | |
7 | Release: 1 | |
e79bf36f | 8 | License: BSD-like |
abcdb61e | 9 | Group: Development/Languages/Java |
baeaaf00 | 10 | %define snapshot 20001002 |
abcdb61e | 11 | Source0: http://www.cryptix.org/dist/%{name}32-%{snapshot}-r%{version}.zip |
12 | # Source0-md5: 7a3545ede3fff5c89eba601fea03791a | |
13 | Source1: %{name}.build.xml | |
7eff40d2 | 14 | URL: http://www.cryptix.org/ |
97f85aae | 15 | Patch0: %{name}-java-1.5.patch |
8760c912 | 16 | BuildRequires: ant >= 1.5 |
283d935c | 17 | BuildRequires: unzip |
e79bf36f | 18 | Requires: jre >= 1.1 |
abcdb61e | 19 | BuildArch: noarch |
20 | BuildRoot: %{tmpdir}/%{name}-%{version}-root-%(id -u -n) | |
21 | ||
abcdb61e | 22 | %description |
23 | Cryptix 3 is a cleanroom implementation of Sun's Java Cryptography | |
24 | Extensions (JCE) version 1.1. In addition to that it contains the | |
25 | Cryptix Provider which delivers a wide range of algorithms and support | |
26 | for PGP 2.x. Cryptix 3 runs on both JDK 1.1 and JDK 1.2 (Java 2). | |
27 | ||
0243dcd0 | 28 | %description -l pl.UTF-8 |
e79bf36f JB |
29 | Cryptix 3 to implementacja standardu JCE (Java Cryptography |
30 | Extensions) Suna w wersji 1.1. Pakiet dodatkowo zawiera Cryptix | |
0243dcd0 JR |
31 | Provider, dostarczający szeroki zakres algorytmów oraz wsparcie dla |
32 | PGP 2.x. Cryptix 3 działa zarówno na JDK 1.1 jak i JDK 1.2 (Java 2). | |
e79bf36f | 33 | |
abcdb61e | 34 | %prep |
35 | %setup -q -c | |
97f85aae | 36 | %patch0 -p1 |
abcdb61e | 37 | cp %{SOURCE1} build.xml |
38 | find . -name "*.jar" -exec rm -f {} \; | |
39 | ||
40 | %build | |
baeaaf00 | 41 | ant jar javadoc |
abcdb61e | 42 | |
43 | %install | |
44 | rm -rf $RPM_BUILD_ROOT | |
baeaaf00 PS |
45 | install -d $RPM_BUILD_ROOT%{_javadir} |
46 | cp build/lib/%{name}.jar $RPM_BUILD_ROOT%{_javadir} | |
47 | ln -sf %{name}.jar $RPM_BUILD_ROOT%{_javadir}/%{name}-%{version}.jar | |
abcdb61e | 48 | |
49 | %clean | |
50 | rm -rf $RPM_BUILD_ROOT | |
51 | ||
52 | %files | |
53 | %defattr(644,root,root,755) | |
54 | %doc LICENCE.TXT README.TXT build/api | |
baeaaf00 | 55 | %{_javadir}/*.jar |