]> git.pld-linux.org Git - packages/cryptix.git/blame - cryptix.spec
- initial release
[packages/cryptix.git] / cryptix.spec
CommitLineData
abcdb61e 1%define snapshot 20001002
2
3Summary: Java crypto package
4Name: cryptix
5Version: 3.2.0
6Release: 1
7License: BSD style
8URL: http://www.cryptix.org
9Group: Development/Languages/Java
10Source0: http://www.cryptix.org/dist/%{name}32-%{snapshot}-r%{version}.zip
11# Source0-md5: 7a3545ede3fff5c89eba601fea03791a
12Source1: %{name}.build.xml
13BuildRequires: jakarta-ant >= 1.5
14BuildArch: noarch
15BuildRoot: %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
16
17%define _javalibdir %{_datadir}/java
18
19%description
20Cryptix 3 is a cleanroom implementation of Sun's Java Cryptography
21Extensions (JCE) version 1.1. In addition to that it contains the
22Cryptix Provider which delivers a wide range of algorithms and support
23for PGP 2.x. Cryptix 3 runs on both JDK 1.1 and JDK 1.2 (Java 2).
24
25%prep
26%setup -q -c
27cp %{SOURCE1} build.xml
28find . -name "*.jar" -exec rm -f {} \;
29
30%build
31ant jar
32ant javadoc
33
34%install
35rm -rf $RPM_BUILD_ROOT
36install -d $RPM_BUILD_ROOT%{_javalibdir}
37cp build/lib/%{name}.jar $RPM_BUILD_ROOT%{_javalibdir}
38ln -sf %{name}.jar $RPM_BUILD_ROOT/%{_javalibdir}/%{name}-%{version}.jar
39
40%clean
41rm -rf $RPM_BUILD_ROOT
42
43%files
44%defattr(644,root,root,755)
45%doc LICENCE.TXT README.TXT build/api
46%{_javalibdir}/*.jar
This page took 0.155918 seconds and 4 git commands to generate.