]> git.pld-linux.org Git - packages/cryptix.git/commitdiff
- initial release
authorpascalek <pascalek@pld-linux.org>
Wed, 2 Jul 2003 11:52:05 +0000 (11:52 +0000)
committercvs2git <feedback@pld-linux.org>
Sun, 24 Jun 2012 12:13:13 +0000 (12:13 +0000)
Changed files:
    cryptix.spec -> 1.1

cryptix.spec [new file with mode: 0644]

diff --git a/cryptix.spec b/cryptix.spec
new file mode 100644 (file)
index 0000000..9ad23b8
--- /dev/null
@@ -0,0 +1,46 @@
+%define        snapshot        20001002
+
+Summary:       Java crypto package
+Name:          cryptix
+Version:       3.2.0
+Release:       1
+License:       BSD style
+URL:           http://www.cryptix.org
+Group:         Development/Languages/Java
+Source0:       http://www.cryptix.org/dist/%{name}32-%{snapshot}-r%{version}.zip
+# Source0-md5: 7a3545ede3fff5c89eba601fea03791a
+Source1:       %{name}.build.xml
+BuildRequires: jakarta-ant >= 1.5
+BuildArch:     noarch
+BuildRoot:     %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
+
+%define                _javalibdir     %{_datadir}/java
+
+%description
+Cryptix 3 is a cleanroom implementation of Sun's Java Cryptography
+Extensions (JCE) version 1.1. In addition to that it contains the
+Cryptix Provider which delivers a wide range of algorithms and support
+for PGP 2.x. Cryptix 3 runs on both JDK 1.1 and JDK 1.2 (Java 2).
+
+%prep
+%setup -q -c
+cp %{SOURCE1} build.xml
+find . -name "*.jar" -exec rm -f {} \;
+
+%build
+ant jar
+ant javadoc
+
+%install
+rm -rf $RPM_BUILD_ROOT
+install -d $RPM_BUILD_ROOT%{_javalibdir}
+cp build/lib/%{name}.jar $RPM_BUILD_ROOT%{_javalibdir}
+ln -sf %{name}.jar $RPM_BUILD_ROOT/%{_javalibdir}/%{name}-%{version}.jar
+
+%clean
+rm -rf $RPM_BUILD_ROOT
+
+%files
+%defattr(644,root,root,755)
+%doc LICENCE.TXT README.TXT build/api
+%{_javalibdir}/*.jar
This page took 0.055385 seconds and 4 git commands to generate.