Compare commits
4 Commits
Author | SHA256 | Date | |
---|---|---|---|
c030d7cc6a | |||
89f2cc3177 | |||
2c903316df | |||
0456aa3b1d |
@@ -1,3 +1,14 @@
|
|||||||
|
-------------------------------------------------------------------
|
||||||
|
Tue Apr 29 08:39:49 UTC 2025 - Mykola Krachkovsky <w01dnick@gmail.com>
|
||||||
|
|
||||||
|
- Add new shell script antlr4-test-rig to run with main class
|
||||||
|
org.antlr.v4.gui.TestRig for testing/debugging grammars (boo#1241063)
|
||||||
|
|
||||||
|
-------------------------------------------------------------------
|
||||||
|
Mon Dec 2 15:58:42 UTC 2024 - Christian Goll <cgoll@suse.com>
|
||||||
|
|
||||||
|
- add cmake configuration files
|
||||||
|
|
||||||
-------------------------------------------------------------------
|
-------------------------------------------------------------------
|
||||||
Tue Feb 20 10:53:36 UTC 2024 - Dominique Leuenberger <dimstar@opensuse.org>
|
Tue Feb 20 10:53:36 UTC 2024 - Dominique Leuenberger <dimstar@opensuse.org>
|
||||||
|
|
||||||
|
@@ -1,7 +1,7 @@
|
|||||||
#
|
#
|
||||||
# spec file for package antlr4
|
# spec file for package antlr4
|
||||||
#
|
#
|
||||||
# Copyright (c) 2023 SUSE LLC
|
# Copyright (c) 2025 SUSE LLC
|
||||||
#
|
#
|
||||||
# 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
|
||||||
@@ -174,7 +174,7 @@ export CXX=g++-7
|
|||||||
export CFLAGS="$RPM_OPT_FLAGS"
|
export CFLAGS="$RPM_OPT_FLAGS"
|
||||||
export CXXFLAGS="$RPM_OPT_FLAGS"
|
export CXXFLAGS="$RPM_OPT_FLAGS"
|
||||||
%endif
|
%endif
|
||||||
%cmake -DWITH_DEMO=OFF -DANTLR_BUILD_CPP_TESTS=OFF -DANTLR_BUILD_SHARED=ON -DANTLR_BUILD_STATIC=OFF
|
%cmake -DWITH_DEMO=OFF -DANTLR_BUILD_CPP_TESTS=OFF -DANTLR_BUILD_SHARED=ON -DANTLR_BUILD_STATIC=OFF -DANTLR4_INSTALL=ON
|
||||||
%make_build
|
%make_build
|
||||||
popd
|
popd
|
||||||
|
|
||||||
@@ -183,6 +183,7 @@ popd
|
|||||||
%fdupes -s %{buildroot}%{_javadocdir}
|
%fdupes -s %{buildroot}%{_javadocdir}
|
||||||
|
|
||||||
%jpackage_script org.antlr.v4.Tool "" "" antlr4/antlr4:antlr3-runtime:antlr4/antlr4-runtime:stringtemplate4:treelayout %{name} true
|
%jpackage_script org.antlr.v4.Tool "" "" antlr4/antlr4:antlr3-runtime:antlr4/antlr4-runtime:stringtemplate4:treelayout %{name} true
|
||||||
|
%jpackage_script org.antlr.v4.gui.TestRig "" "" antlr4/antlr4:antlr3-runtime:antlr4/antlr4-runtime:stringtemplate4:treelayout %{name}-test-rig true
|
||||||
|
|
||||||
pushd runtime/Cpp
|
pushd runtime/Cpp
|
||||||
%cmake_install
|
%cmake_install
|
||||||
@@ -193,6 +194,7 @@ popd
|
|||||||
|
|
||||||
%files tool -f .mfiles-antlr4
|
%files tool -f .mfiles-antlr4
|
||||||
%{_bindir}/%{name}
|
%{_bindir}/%{name}
|
||||||
|
%{_bindir}/%{name}-test-rig
|
||||||
|
|
||||||
%files java -f .mfiles-antlr4-runtime
|
%files java -f .mfiles-antlr4-runtime
|
||||||
%doc CHANGES.txt README.md
|
%doc CHANGES.txt README.md
|
||||||
@@ -210,6 +212,7 @@ popd
|
|||||||
|
|
||||||
%files -n %{runtime_cpp_lib}-devel
|
%files -n %{runtime_cpp_lib}-devel
|
||||||
%{_libdir}/lib%{name}-runtime.so
|
%{_libdir}/lib%{name}-runtime.so
|
||||||
|
%{_libdir}/cmake/antlr4*
|
||||||
%{_includedir}/%{name}-runtime/
|
%{_includedir}/%{name}-runtime/
|
||||||
|
|
||||||
%changelog
|
%changelog
|
||||||
|
Reference in New Issue
Block a user