]> git.pld-linux.org Git - packages/java-jessie.git/blame - java-jessie.spec
- drop obsolete and outdated manual inclusion of rpm macros
[packages/java-jessie.git] / java-jessie.spec
CommitLineData
af3942f3 1# TODO:
2# - build provider (see %%build section)
3# - javadoc
5d14f7aa 4# - consider C: java-sun, see NOTE
3e33cb51 5# NOTE:
6# - it is possible to build it using java-sun, but sun's JRE provides better
7# implementation of JSSE. This package is a JSSE replacemnt for alternative
8# JREs, like java-gcj-compat.
9
af3942f3 10#
11%define srcname jessie
12Summary: A free implementation of the JSSE
13Summary(pl.UTF-8): Wolna implementacja JSSE
14Name: java-jessie
15Version: 1.0.1
3e33cb51 16Release: 2
af3942f3 17License: GPL v2
18Group: Libraries/Java
19Source0: http://syzygy.metastatic.org/jessie/jessie-%{version}.tar.gz
20# Source0-md5: c14db8483ca9fae428b8497659861ef0
21URL: http://www.nongnu.org/jessie/
22BuildRequires: ant
af3942f3 23BuildRequires: java-gnu-classpath
24BuildRequires: java-gnu-crypto >= 2.0.1
794d430f 25BuildRequires: jdk
af3942f3 26BuildRequires: jpackage-utils >= 0:1.6
27BuildRequires: rpm-javaprov
28BuildRequires: rpmbuild(macros) >= 1.300
29Requires: jpackage-utils
5d14f7aa 30Provides: java(jsse) = 1.4
af3942f3 31BuildArch: noarch
32BuildRoot: %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
33
34%description
35Jessie is a free, clean-room implementation of the Java Secure Sockets
36Extension, the JSSE. It provides the core API for programming network
37sockets with the Secure Socket Layer (SSL), which creates an
38authenticated, unforgeable, and protected layer around network
39communications. Its goal is to be a drop-in package for free Java
40class libraries such as Classpath and its derivatives, and is being
41written to depend only on free software, and only with the API
42specification and the public protocol specifications.
43
44%prep
45%setup -q -n jessie-%{version}
46
47%build
48%ant clean
3e33cb51 49%ant jsse.jar
af3942f3 50
51# Does not build
52%if %{with provider}
3e33cb51 53%ant compile-provider
af3942f3 54%endif
55
56%install
57rm -rf $RPM_BUILD_ROOT
58install -d $RPM_BUILD_ROOT%{_javadir}
59
60# jars
61cp -a jsse.jar $RPM_BUILD_ROOT%{_javadir}/jsse-%{version}.jar
62ln -s jsse-%{version}.jar $RPM_BUILD_ROOT%{_javadir}/jsse.jar
63
64%clean
65rm -rf $RPM_BUILD_ROOT
66
67%files
68%defattr(644,root,root,755)
69%doc AUTHORS FAQ NEWS README THANKS TODO
70%{_javadir}/*.jar
This page took 0.296101 seconds and 4 git commands to generate.