]> git.pld-linux.org Git - packages/cryptix.git/blob - cryptix.spec
- use java macros. builds with java-1.5
[packages/cryptix.git] / cryptix.spec
1 Summary:        Java crypto package
2 Summary(pl.UTF-8):      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:  jpackage-utils
14 BuildRequires:  rpmbuild(macros) >= 1.300
15 Patch0:         %{name}-java-1.5.patch
16 BuildRequires:  ant >= 1.5
17 BuildRequires:  unzip
18 Requires:       jre >= 1.1
19 BuildArch:      noarch
20 BuildRoot:      %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
21
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
28 %description -l pl.UTF-8
29 Cryptix 3 to implementacja standardu JCE (Java Cryptography
30 Extensions) Suna w wersji 1.1. Pakiet dodatkowo zawiera Cryptix
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).
33
34 %prep
35 %setup -q -c
36 %patch0 -p1
37 cp %{SOURCE1} build.xml
38 find -name '*.jar' | xargs rm -v
39
40 %build
41 %ant jar javadoc
42
43 %install
44 rm -rf $RPM_BUILD_ROOT
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
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
55 %{_javadir}/*.jar
This page took 0.068354 seconds and 3 git commands to generate.