Fridrich Strba 2017-10-30 08:51:27 +00:00 committed by Git OBS Bridge
parent 62d5036ccf
commit c81957d370
2 changed files with 26 additions and 35 deletions

View File

@ -1,3 +1,10 @@
-------------------------------------------------------------------
Mon Oct 30 08:50:22 UTC 2017 - fstrba@suse.com
- With removal of java-1_5_0-gcj-compat, jikes became uninstallable
* Require: jre1.1.x -> jre >= 1.1
- Spec cleaner
------------------------------------------------------------------- -------------------------------------------------------------------
Wed Dec 21 10:31:39 UTC 2011 - coolo@suse.com Wed Dec 21 10:31:39 UTC 2011 - coolo@suse.com

View File

@ -1,7 +1,7 @@
# #
# spec file for package jikes # spec file for package jikes
# #
# Copyright (c) 2011 SUSE LINUX Products GmbH, Nuernberg, Germany. # Copyright (c) 2017 SUSE LINUX GmbH, Nuernberg, Germany.
# #
# All modifications and additions to the file contributed by third parties # All modifications and additions to the file contributed by third parties
# remain the property of their copyright owners, unless otherwise agreed # remain the property of their copyright owners, unless otherwise agreed
@ -17,19 +17,18 @@
Name: jikes Name: jikes
BuildRequires: automake
BuildRequires: gcc-c++
Requires: jre1.1.x
Version: 1.22 Version: 1.22
Release: 0 Release: 0
Summary: IBM Java Compiler
License: IPL-1.0
Group: Development/Languages/Java
Url: http://jikes.sourceforge.net/ Url: http://jikes.sourceforge.net/
Source0: %{name}-%{version}.tar.bz2 Source0: %{name}-%{version}.tar.bz2
Patch0: %{name}-%{version}-uninitialized-variables.patch Patch0: %{name}-%{version}-uninitialized-variables.patch
Patch1: %{name}-%{version}-strict_aliasing.patch Patch1: %{name}-%{version}-strict_aliasing.patch
BuildRoot: %{_tmppath}/%{name}-%{version}-build BuildRequires: automake
Summary: IBM Java Compiler BuildRequires: gcc-c++
License: IPL-1.0 Requires: jre >= 1.1
Group: Development/Languages/Java
%description %description
Jikes(TM) is a compiler that translates Java(TM) source files as Jikes(TM) is a compiler that translates Java(TM) source files as
@ -60,16 +59,6 @@ that make it a valuable contribution to the Java community:
Note that you must set CLASSPATH correctly to use jikes. Note that you must set CLASSPATH correctly to use jikes.
Authors:
--------
Philippe Charles <charles@watson.ibm.com>
Ken Coar <Ken.Coar@Golux.Com>
Michael Ernst <mernst@cs.washington.edu>
Dave Shields <shields@watson.ibm.com>
Vadim Zaliva <lord@crocodile.org>
%prep %prep
%setup -q %setup -q
%patch0 %patch0
@ -78,28 +67,23 @@ cp -v doc/license.htm license.html
%build %build
autoreconf -I src/m4 --force --install autoreconf -I src/m4 --force --install
CFLAGS="$RPM_OPT_FLAGS" \ CFLAGS="%{optflags}" \
CXXFLAGS="$RPM_OPT_FLAGS" \ CXXFLAGS="%{optflags}" \
./configure --mandir=%{_mandir} \ %configure --mandir=%{_mandir} \
--prefix=%{_prefix} \ --prefix=%{_prefix} \
--infodir=%{_infodir} \ --infodir=%{_infodir} \
--sysconfdir=%{_sysconfdir} --sysconfdir=%{_sysconfdir}
make %{?jobs:-j%jobs} make %{?_smp_mflags}
%install %install
rm -rf $RPM_BUILD_ROOT %make_install
make DESTDIR=$RPM_BUILD_ROOT install
# #
rm $RPM_BUILD_ROOT/%{_datadir}/doc/%name-%version/license.htm rm %{buildroot}/%{_datadir}/doc/%{name}-%{version}/license.htm
%clean
rm -rf $RPM_BUILD_ROOT
%files %files
%defattr(-, root, root) %doc AUTHORS COPYING ChangeLog NEWS README TODO doc/license.htm
%doc AUTHORS COPYING ChangeLog NEWS README TODO doc/license.htm %{_mandir}/man1/jikes.1%{ext_man}
%{_mandir}/man1/jikes.1.gz %{_includedir}/*
%{_prefix}/include/*
%{_bindir}/jikes %{_bindir}/jikes
%changelog %changelog