- Version bump to 5.0:
* No obvious changelog * Works better with jdk8 - Updated to match up with fedora version OBS-URL: https://build.opensuse.org/package/show/Java:packages/javacc?expand=0&rev=7
This commit is contained in:
parent
ff2ced85a5
commit
f3d42b64f6
@ -1,3 +0,0 @@
|
|||||||
version https://git-lfs.github.com/spec/v1
|
|
||||||
oid sha256:062a35b89cf1bb4260627c32f480d26e17bf4595024e4b4e472a46fe1b24655f
|
|
||||||
size 765150
|
|
3
javacc-5.0src.tar.gz
Normal file
3
javacc-5.0src.tar.gz
Normal file
@ -0,0 +1,3 @@
|
|||||||
|
version https://git-lfs.github.com/spec/v1
|
||||||
|
oid sha256:766cae9d3710054f452a7f0779db885eacfdae363152cb2e7fe025aa7ea17370
|
||||||
|
size 810123
|
@ -1,3 +1,11 @@
|
|||||||
|
-------------------------------------------------------------------
|
||||||
|
Thu Jul 30 13:17:31 UTC 2015 - tchvatal@suse.com
|
||||||
|
|
||||||
|
- Version bump to 5.0:
|
||||||
|
* No obvious changelog
|
||||||
|
* Works better with jdk8
|
||||||
|
- Updated to match up with fedora version
|
||||||
|
|
||||||
-------------------------------------------------------------------
|
-------------------------------------------------------------------
|
||||||
Wed Sep 25 11:57:00 UTC 2013 - mvyskocil@suse.com
|
Wed Sep 25 11:57:00 UTC 2013 - mvyskocil@suse.com
|
||||||
|
|
||||||
|
47
javacc.spec
47
javacc.spec
@ -1,7 +1,7 @@
|
|||||||
#
|
#
|
||||||
# spec file for package javacc
|
# spec file for package javacc
|
||||||
#
|
#
|
||||||
# Copyright (c) 2013 SUSE LINUX Products GmbH, Nuernberg, Germany.
|
# Copyright (c) 2015 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,23 +17,23 @@
|
|||||||
|
|
||||||
|
|
||||||
Name: javacc
|
Name: javacc
|
||||||
Version: 4.0
|
Version: 5.0
|
||||||
Release: 0
|
Release: 0
|
||||||
Summary: A Parser and Scanner Generator for Java
|
Summary: A Parser and Scanner Generator for Java
|
||||||
License: BSD-3-Clause
|
License: BSD-3-Clause
|
||||||
Group: Development/Libraries/Java
|
Group: Development/Libraries/Java
|
||||||
Source0: %{name}-%{version}src.tar.gz
|
Url: http://javacc.java.net/
|
||||||
|
Source0: http://java.net/projects/%{name}/downloads/download/%{name}-%{version}src.tar.gz
|
||||||
Source1: javacc
|
Source1: javacc
|
||||||
Source2: jjdoc
|
Source2: jjdoc
|
||||||
Source3: jjtree
|
Source3: jjtree
|
||||||
Patch: javacc.patch
|
Patch0: javacc.patch
|
||||||
Url: https://javacc.dev.java.net/
|
|
||||||
BuildRoot: %{_tmppath}/%{name}-%{version}-build
|
|
||||||
BuildArch: noarch
|
|
||||||
Requires: javapackages-tools
|
|
||||||
BuildRequires: ant
|
BuildRequires: ant
|
||||||
BuildRequires: java-1_5_0-gcj-compat-devel
|
BuildRequires: java-1_5_0-gcj-compat-devel
|
||||||
BuildRequires: xml-commons-apis
|
BuildRequires: xml-commons-apis
|
||||||
|
Requires: javapackages-tools
|
||||||
|
BuildRoot: %{_tmppath}/%{name}-%{version}-build
|
||||||
|
BuildArch: noarch
|
||||||
|
|
||||||
%description
|
%description
|
||||||
Java Compiler Compiler (JavaCC) is the most popular parser generator
|
Java Compiler Compiler (JavaCC) is the most popular parser generator
|
||||||
@ -44,8 +44,6 @@ itself, JavaCC provides other standard capabilities related to parser
|
|||||||
generation such as tree building (via a tool called JJTree included
|
generation such as tree building (via a tool called JJTree included
|
||||||
with JavaCC), actions, debugging, etc.
|
with JavaCC), actions, debugging, etc.
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
%package manual
|
%package manual
|
||||||
Summary: A Parser and Scanner Generator for Java
|
Summary: A Parser and Scanner Generator for Java
|
||||||
Group: Development/Libraries/Java
|
Group: Development/Libraries/Java
|
||||||
@ -59,8 +57,6 @@ itself, JavaCC provides other standard capabilities related to parser
|
|||||||
generation such as tree building (via a tool called JJTree included
|
generation such as tree building (via a tool called JJTree included
|
||||||
with JavaCC), actions, debugging, etc.
|
with JavaCC), actions, debugging, etc.
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
%package demo
|
%package demo
|
||||||
Summary: A Parser and Scanner Generator for Java
|
Summary: A Parser and Scanner Generator for Java
|
||||||
Group: Development/Libraries/Java
|
Group: Development/Libraries/Java
|
||||||
@ -74,11 +70,9 @@ itself, JavaCC provides other standard capabilities related to parser
|
|||||||
generation such as tree building (via a tool called JJTree included
|
generation such as tree building (via a tool called JJTree included
|
||||||
with JavaCC), actions, debugging, etc.
|
with JavaCC), actions, debugging, etc.
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
%prep
|
%prep
|
||||||
%setup -n javacc
|
%setup -q -n javacc
|
||||||
%patch -p1
|
%patch0 -p1
|
||||||
cp %{SOURCE1} javacc
|
cp %{SOURCE1} javacc
|
||||||
cp %{SOURCE2} jjdoc
|
cp %{SOURCE2} jjdoc
|
||||||
cp %{SOURCE3} jjtree
|
cp %{SOURCE3} jjtree
|
||||||
@ -96,23 +90,20 @@ ant \
|
|||||||
jar
|
jar
|
||||||
|
|
||||||
%install
|
%install
|
||||||
install -d -m 755 $RPM_BUILD_ROOT%{_javadir}
|
install -d -m 755 %{buildroot}%{_javadir}
|
||||||
install -m 644 bin/lib/%{name}.jar $RPM_BUILD_ROOT%{_javadir}/%{name}-%{version}.jar
|
install -m 644 bin/lib/%{name}.jar %{buildroot}%{_javadir}/%{name}-%{version}.jar
|
||||||
ln -s %{name}-%{version}.jar $RPM_BUILD_ROOT%{_javadir}/%{name}.jar
|
ln -s %{name}-%{version}.jar %{buildroot}%{_javadir}/%{name}.jar
|
||||||
install -d -m 755 $RPM_BUILD_ROOT/usr/bin
|
install -d -m 755 %{buildroot}%{_prefix}/bin
|
||||||
install -m 755 javacc jjdoc jjtree $RPM_BUILD_ROOT/usr/bin
|
install -m 755 javacc jjdoc jjtree %{buildroot}%{_prefix}/bin
|
||||||
install -d -m 755 $RPM_BUILD_ROOT/usr/share/%{name}
|
install -d -m 755 %{buildroot}%{_datadir}/%{name}
|
||||||
cp -pr examples $RPM_BUILD_ROOT/usr/share/%{name}
|
cp -pr examples %{buildroot}%{_datadir}/%{name}
|
||||||
|
|
||||||
%clean
|
|
||||||
rm -rf $RPM_BUILD_ROOT
|
|
||||||
|
|
||||||
%files
|
%files
|
||||||
%defattr(0644,root,root,0755)
|
%defattr(0644,root,root,0755)
|
||||||
%{_javadir}/*.jar
|
%{_javadir}/*.jar
|
||||||
%doc LICENSE README
|
%doc LICENSE README
|
||||||
%defattr(0755,root,root,0755)
|
%defattr(0755,root,root,0755)
|
||||||
/usr/bin/*
|
%{_bindir}/*
|
||||||
|
|
||||||
%files manual
|
%files manual
|
||||||
%defattr(0644,root,root,0755)
|
%defattr(0644,root,root,0755)
|
||||||
@ -120,6 +111,6 @@ rm -rf $RPM_BUILD_ROOT
|
|||||||
|
|
||||||
%files demo
|
%files demo
|
||||||
%defattr(0644,root,root,0755)
|
%defattr(0644,root,root,0755)
|
||||||
/usr/share/%{name}/
|
%{_datadir}/%{name}/
|
||||||
|
|
||||||
%changelog
|
%changelog
|
||||||
|
Loading…
Reference in New Issue
Block a user