update to 2.1 [release 2.1-1mamba;Sat Apr 10 2021]
This commit is contained in:
parent
928cc7118d
commit
8a866421b4
12
README.md
12
README.md
@ -1,14 +1,4 @@
|
|||||||
# antlrworks
|
# antlrworks
|
||||||
|
|
||||||
ANTLRWorks is a novel grammar development environment for ANTLR v3 grammars
|
ANTLRWorks is a novel grammar development environment for ANTLR v3 grammars written by Jean Bovet (with suggested use cases from Terence Parr). It combines an excellent grammar-aware editor with an interpreter for rapid prototyping and a language-agnostic debugger for isolating grammar errors. ANTLRWorks helps eliminate grammar nondeterminisms, one of the most difficult problems for beginners and experts alike, by highlighting nondeterministic paths in the syntax diagram associated with a grammar. ANTLRWorks' goal is to make grammars more accessible to the average programmer, improve maintainability and readability of grammars by providing excellent grammar navigation and refactoring tools, and address the most common questions and problems encountered by grammar developers.
|
||||||
written by Jean Bovet (with suggested use cases from Terence Parr). It combines
|
|
||||||
an excellent grammar-aware editor with an interpreter for rapid prototyping and
|
|
||||||
a language-agnostic debugger for isolating grammar errors. ANTLRWorks helps
|
|
||||||
eliminate grammar nondeterminisms, one of the most difficult problems for
|
|
||||||
beginners and experts alike, by highlighting nondeterministic paths in the
|
|
||||||
syntax diagram associated with a grammar. ANTLRWorks' goal is to make grammars
|
|
||||||
more accessible to the average programmer, improve maintainability and
|
|
||||||
readability of grammars by providing excellent grammar navigation and
|
|
||||||
refactoring tools, and address the most common questions and problems
|
|
||||||
encountered by grammar developers.
|
|
||||||
|
|
||||||
|
@ -1,6 +1,6 @@
|
|||||||
[Desktop Entry]
|
[Desktop Entry]
|
||||||
Name=ANTLRWorks
|
Name=ANTLRWorks
|
||||||
Comment=Grammar development environment for ANTLR v3 grammars
|
Comment=A netbeans based grammar IDE
|
||||||
Exec=antlrworks
|
Exec=antlrworks
|
||||||
Icon=antlrworks
|
Icon=antlrworks
|
||||||
Terminal=false
|
Terminal=false
|
||||||
|
@ -1,88 +1,49 @@
|
|||||||
Name: antlrworks
|
Name: antlrworks
|
||||||
Version: 1.4
|
Version: 2.1
|
||||||
Release: 1mamba
|
Release: 1mamba
|
||||||
Summary: The ANTLR GUI Development Environment
|
Summary: The ANTLR GUI Development Environment
|
||||||
Group: Graphical Desktop/Applications/Development
|
Group: Graphical Desktop/Applications/Development
|
||||||
Vendor: openmamba
|
Vendor: openmamba
|
||||||
Distribution: openmamba
|
Distribution: openmamba
|
||||||
Packager: gil <puntogil@libero.it>
|
Packager: Silvan Calarco <silvan.calarco@mambasoft.it>
|
||||||
URL: http://www.antlr.org/works/index.html
|
URL: http://tunnelvisionlabs.com/products/demo/antlrworks
|
||||||
Source0: http://www.antlr.org/download/antlrworks-%{version}-src.zip
|
Source0: http://tunnelvisionlabs.com/downloads/antlr/2013-07-21-antlrworks-%{version}.zip
|
||||||
Source1: antlrworks-script
|
Source1: antlrworks-script
|
||||||
Source2: antlrworks.desktop
|
Source2: antlrworks.desktop
|
||||||
|
Source3: https://github.com/antlr/antlrworks/raw/master/resources/icons/app.png
|
||||||
Patch0: antlrworks-1.4-build_xml.patch
|
Patch0: antlrworks-1.4-build_xml.patch
|
||||||
Patch1: antlrworks-1.4-BrowserLauncher.patch
|
Patch1: antlrworks-1.4-BrowserLauncher.patch
|
||||||
License: BSD
|
License: BSD
|
||||||
BuildRequires: apache-ant
|
## AUTOBUILDREQ-BEGIN
|
||||||
BuildRequires: antlr3
|
## AUTOBUILDREQ-END
|
||||||
BuildRequires: desktop-file-utils
|
BuildRequires: javapackages
|
||||||
BuildRequires: jgoodies-forms
|
Requires: java-environment
|
||||||
Requires: antlr
|
#Requires: antlr
|
||||||
Requires: antlr3
|
|
||||||
Requires: graphviz
|
Requires: graphviz
|
||||||
Requires: hicolor-icon-theme
|
|
||||||
Requires: java-stringtemplate32
|
|
||||||
Requires: jgoodies-forms
|
|
||||||
Requires: jpackage-utils
|
|
||||||
BuildRoot: %{_tmppath}/%{name}-%{version}-root
|
|
||||||
|
|
||||||
%description
|
%description
|
||||||
ANTLRWorks is a novel grammar development environment for ANTLR v3 grammars
|
ANTLRWorks is a novel grammar development environment for ANTLR v3 grammars written by Jean Bovet (with suggested use cases from Terence Parr). It combines an excellent grammar-aware editor with an interpreter for rapid prototyping and a language-agnostic debugger for isolating grammar errors. ANTLRWorks helps eliminate grammar nondeterminisms, one of the most difficult problems for beginners and experts alike, by highlighting nondeterministic paths in the syntax diagram associated with a grammar. ANTLRWorks' goal is to make grammars more accessible to the average programmer, improve maintainability and readability of grammars by providing excellent grammar navigation and refactoring tools, and address the most common questions and problems encountered by grammar developers.
|
||||||
written by Jean Bovet (with suggested use cases from Terence Parr). It combines
|
|
||||||
an excellent grammar-aware editor with an interpreter for rapid prototyping and
|
|
||||||
a language-agnostic debugger for isolating grammar errors. ANTLRWorks helps
|
|
||||||
eliminate grammar nondeterminisms, one of the most difficult problems for
|
|
||||||
beginners and experts alike, by highlighting nondeterministic paths in the
|
|
||||||
syntax diagram associated with a grammar. ANTLRWorks' goal is to make grammars
|
|
||||||
more accessible to the average programmer, improve maintainability and
|
|
||||||
readability of grammars by providing excellent grammar navigation and
|
|
||||||
refactoring tools, and address the most common questions and problems
|
|
||||||
encountered by grammar developers.
|
|
||||||
|
|
||||||
%prep
|
%prep
|
||||||
%setup -q -c %{name}-%{version}
|
%setup -q -c %{name}-%{version}
|
||||||
%patch0 -p0
|
|
||||||
%patch1 -p0
|
|
||||||
|
|
||||||
for j in $(find . -name '*.class' -o -name '*.jar'); do
|
|
||||||
rm -rf $j
|
|
||||||
done
|
|
||||||
|
|
||||||
%build
|
%build
|
||||||
|
|
||||||
export CLASSPATH=$(build-classpath antlr antlr3 antlr3-runtime jgoodies-forms stringtemplate32)
|
|
||||||
ant build
|
|
||||||
|
|
||||||
%install
|
%install
|
||||||
[ "%{buildroot}" != / ] && rm -rf "%{buildroot}"
|
[ "%{buildroot}" != / ] && rm -rf "%{buildroot}"
|
||||||
|
|
||||||
mkdir -p %{buildroot}%{_javadir}
|
cd antlrworks2
|
||||||
|
|
||||||
install -pm 0644 dist/antlrworks-%{version}.jar %{buildroot}%{_javadir}/antlrworks-%{version}.jar
|
mkdir -p %{buildroot}/{etc,usr/{share/antlrworks,bin}}
|
||||||
|
chmod +x bin/antlrworks2
|
||||||
|
cp -r * %{buildroot}%{_datadir}/antlrworks
|
||||||
|
|
||||||
(
|
ln -s ../share/antlrworks/bin/antlrworks2 %{buildroot}%{_bindir}/antlrworks
|
||||||
cd %{buildroot}%{_javadir}/
|
|
||||||
for jar in *-%{version}.jar; do
|
|
||||||
ln -sf ${jar} `echo $jar| sed "s|-%{version}||g"`
|
|
||||||
done
|
|
||||||
)
|
|
||||||
|
|
||||||
mkdir -p %{buildroot}%{_bindir}
|
rm -f %{buildroot}%{_bindir}/antlrworks*.exe
|
||||||
install -pm 755 %{SOURCE1} %{buildroot}%{_bindir}/antlrworks
|
|
||||||
|
|
||||||
desktop-file-install --dir=%{buildroot}%{_datadir}/applications %{SOURCE2}
|
install -D -pm 644 %{SOURCE2} %{buildroot}%{_datadir}/applications/antlrworks.desktop
|
||||||
|
install -D -pm 644 %{SOURCE3} %{buildroot}%{_datadir}/pixmaps/antlrworks.png
|
||||||
mkdir -p %{buildroot}%{_datadir}/icons/hicolor/128x128/apps
|
|
||||||
install -pm 644 resources/icons/app.png %{buildroot}%{_datadir}/icons/hicolor/128x128/apps/antlrworks.png
|
|
||||||
mkdir -p %{buildroot}%{_datadir}/pixmaps
|
|
||||||
install -pm 644 resources/icons/app.png %{buildroot}%{_datadir}/pixmaps/antlrworks.png
|
|
||||||
|
|
||||||
for i in 16 32 64; do
|
|
||||||
mkdir -p %{buildroot}%{_datadir}/icons/hicolor/${i}x${i}/apps
|
|
||||||
install -pm 644 resources/icons/app_${i}x${i}.png %{buildroot}%{_datadir}/icons/hicolor/${i}x${i}/apps/antlrworks.png
|
|
||||||
done
|
|
||||||
|
|
||||||
desktop-file-validate %{buildroot}%{_datadir}/applications/antlrworks.desktop
|
|
||||||
|
|
||||||
%clean
|
%clean
|
||||||
[ "%{buildroot}" != / ] && rm -rf "%{buildroot}"
|
[ "%{buildroot}" != / ] && rm -rf "%{buildroot}"
|
||||||
@ -101,13 +62,15 @@ gtk-update-icon-cache %{_datadir}/icons/hicolor &>/dev/null || :
|
|||||||
|
|
||||||
%files
|
%files
|
||||||
%defattr(-,root,root)
|
%defattr(-,root,root)
|
||||||
%{_javadir}/antlrworks-%{version}.jar
|
|
||||||
%{_javadir}/antlrworks.jar
|
|
||||||
%{_bindir}/antlrworks
|
%{_bindir}/antlrworks
|
||||||
|
%dir %{_datadir}/antlrworks
|
||||||
|
%{_datadir}/antlrworks/*
|
||||||
%{_datadir}/applications/antlrworks.desktop
|
%{_datadir}/applications/antlrworks.desktop
|
||||||
%{_datadir}/icons/hicolor/*x*/apps/antlrworks.png
|
|
||||||
%{_datadir}/pixmaps/antlrworks.png
|
%{_datadir}/pixmaps/antlrworks.png
|
||||||
|
|
||||||
%changelog
|
%changelog
|
||||||
|
* Sat Apr 10 2021 Silvan Calarco <silvan.calarco@mambasoft.it> 2.1-1mamba
|
||||||
|
- update to 2.1
|
||||||
|
|
||||||
* Thu Nov 25 2010 gil <puntogil@libero.it> 1.4-1mamba
|
* Thu Nov 25 2010 gil <puntogil@libero.it> 1.4-1mamba
|
||||||
- package created by autospec
|
- package created by autospec
|
||||||
|
Loading…
Reference in New Issue
Block a user