Sign Up
Log In
Log In
or
Sign Up
Places
All Projects
Status Monitor
Collapse sidebar
openSUSE:12.2:ARM
cryptix
cryptix.spec
Overview
Repositories
Revisions
Requests
Users
Attributes
Meta
File cryptix.spec of Package cryptix
# # spec file for package cryptix (Version 3.2.0) # # Copyright (c) 2009 SUSE LINUX Products GmbH, Nuernberg, Germany. # # All modifications and additions to the file contributed by third parties # remain the property of their copyright owners, unless otherwise agreed # upon. The license for this file, and modifications and additions to the # file, is the same license as for the pristine package itself (unless the # license for the pristine package is not an Open Source License, in which # case the license is the MIT License). An "Open Source License" is a # license that conforms to the Open Source Definition (Version 1.9) # published by the Open Source Initiative. # Please submit bugfixes or comments via http://bugs.opensuse.org/ # # norootforbuild Name: cryptix BuildRequires: ant java2-devel-packages unzip xml-commons-apis %define name cryptix %define version 3.2.0 %define release 5jpp %define snapshot 20001002 %define section free Version: 3.2.0 Release: 272 Summary: Java Crypto Package License: BSD-3-Clause Url: http://www.cryptix.org/ Group: Development/Libraries/Java Source0: %{name}32-%{snapshot}-r%{version}.zip Source1: %{name}.build.script BuildArch: noarch BuildRoot: %{_tmppath}/%{name}-%{version}-build %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). %package javadoc License: BSD-3-Clause PreReq: coreutils Group: Development/Libraries/Java Summary: Javadoc for cryptix %description javadoc 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). This package contains the javadoc documentation for Cryptix. %prep %setup -c cp %{SOURCE1} build.xml # remove all binary libs rm -fr $(find . -name "*.jar") # correct silly permissions chmod -R go=u-w * %build if ! grep -q "javac.*source=" build.xml ; then perl -p -i -e 's|<javac |<javac source=\"1.4\" |' build.xml perl -p -i -e 's|<javadoc |<javadoc source=\"1.4\" |' build.xml fi export CLASSPATH= ant clean jar javadoc %install # jars install -d -m 755 $RPM_BUILD_ROOT%{_javadir} install -m 644 build/lib/%{name}.jar $RPM_BUILD_ROOT%{_javadir}/%{name}-%{version}.jar (cd $RPM_BUILD_ROOT%{_javadir} && for jar in *-%{version}*; do ln -sf ${jar} ${jar/-%{version}/}; done) # javadoc install -d -m 755 $RPM_BUILD_ROOT%{_javadocdir}/%{name}-%{version} cp -pr build/api/* $RPM_BUILD_ROOT%{_javadocdir}/%{name}-%{version} %clean rm -rf $RPM_BUILD_ROOT %files %defattr(-,root,root) %doc LICENCE.TXT README.TXT %{_javadir}/* %files javadoc %defattr(-,root,root) %{_javadocdir}/%{name}-%{version} %changelog * Fri Mar 30 2007 ro@suse.de - added unzip to buildreq * Fri Sep 15 2006 ro@suse.de - set source=1.4 for java * Wed Jan 25 2006 mls@suse.de - converted neededforbuild to BuildRequires * Wed Jul 27 2005 jsmeix@suse.de - Adjustments in the spec file. * Mon Jul 18 2005 jsmeix@suse.de - Current version 3.2.0 from JPackage.org * Thu Sep 02 2004 skh@suse.de - Initial package created with version 3.2.0 (JPackage 1.5)
Locations
Projects
Search
Status Monitor
Help
OpenBuildService.org
Documentation
API Documentation
Code of Conduct
Contact
Support
@OBShq
Terms
openSUSE Build Service is sponsored by
The Open Build Service is an
openSUSE project
.
Sign Up
Log In
Places
Places
All Projects
Status Monitor