Accepting request 182817 from home:dirkmueller:branches:Java:packages

- drop antlr-cshap, entirely unused and removes mono dependency

OBS-URL: https://build.opensuse.org/request/show/182817
OBS-URL: https://build.opensuse.org/package/show/Java:packages/antlr?expand=0&rev=16
This commit is contained in:
Michal Vyskocil 2013-07-12 12:37:49 +00:00 committed by Git OBS Bridge
parent 2c2517d9c8
commit 177c11076a
3 changed files with 7 additions and 35 deletions

View File

@ -2,7 +2,7 @@
#
# spec file for package antlr-bootstrap
#
# Copyright (c) 2012 SUSE LINUX Products GmbH, Nuernberg, Germany.
# Copyright (c) 2013 SUSE LINUX Products GmbH, Nuernberg, Germany.
#
# All modifications and additions to the file contributed by third parties
# remain the property of their copyright owners, unless otherwise agreed

View File

@ -1,3 +1,8 @@
-------------------------------------------------------------------
Thu Jul 11 13:04:14 UTC 2013 - dmueller@suse.com
- drop antlr-cshap, entirely unused and removes mono dependency
-------------------------------------------------------------------
Wed Oct 31 10:23:55 UTC 2012 - mvyskocil@suse.com

View File

@ -1,7 +1,7 @@
#
# spec file for package antlr
#
# Copyright (c) 2012 SUSE LINUX Products GmbH, Nuernberg, Germany.
# Copyright (c) 2013 SUSE LINUX Products GmbH, Nuernberg, Germany.
#
# All modifications and additions to the file contributed by third parties
# remain the property of their copyright owners, unless otherwise agreed
@ -39,9 +39,6 @@ BuildRequires: fdupes
BuildRequires: gcc-c++
BuildRequires: java-devel
BuildRequires: libstdc++-devel
BuildRequires: mono-core
BuildRequires: mono-data
BuildRequires: mono-devel
BuildRequires: python-devel
BuildRequires: unzip
BuildRequires: xml-commons-apis
@ -130,23 +127,6 @@ technology to the Python language and platform.
ANTLR Python support was contributed (and is to be maintained) by Wolfgang
Haefelinger and Marq Kole.
%package csharp
Summary: ANother Tool for Language Recognition (python runtime)
Group: Development/Tools/Other
Requires: antlr
Requires: mono-core
%description csharp
To be able to build and use the C# language Lexers, Parsers and TreeParsers,
you will need to link to the ANTLR C# runtime library. The C# runtime model is
based on the existing runtime models for Java and C++ and is thus immediately
familiar. The C# runtime and the Java runtime in particular are very similar
although there a number of subtle (and not so subtle) differences. Some of
these result from differences in the respective runtime environments.
ANTLR C# support was contributed (and is maintained) by Kunle Odutola, Micheal
Jordan and Anthony Oguntimehin.
%prep
%setup -q
# remove all binary libs
@ -195,13 +175,6 @@ cp -a lib/python/antlr/* %{buildroot}%{py_sitedir}/%{name}
ln -s -f %{py_sitedir}/%{name}/*.py %{buildroot}%{_datadir}/%{name}-%{version}/
ln -s -f %{py_sitedir}/%{name}/*.pyc %{buildroot}%{_datadir}/%{name}-%{version}/
### csharp runtime ###
install -d -m 0755 %{buildroot}%{_libdir}
install -m 0755 lib/*dll %{buildroot}%{_libdir}
# compat symlink
ln -s -f %{_libdir}/%{name}.astframe.dll %{buildroot}%{_datadir}/%{name}-%{version}/
ln -s -f %{_libdir}/%{name}.runtime.dll %{buildroot}%{_datadir}/%{name}-%{version}/
### cpp runtime ###
install -m 0644 lib/cpp/src/lib%{name}.a %{buildroot}%{_libdir}
install -d -m 0755 %{buildroot}%{_includedir}/%{name}
@ -255,10 +228,4 @@ rm -rf %{buildroot}
%{_datadir}/%{name}-%{version}/*pyc
%py_sitedir/%{name}
%files csharp
%defattr(0644,root,root)
%dir %{_datadir}/%{name}-%{version}
%attr(755,root,root) %{_datadir}/%{name}-%{version}/*dll
%attr(755,root,root) %{_libdir}/*.dll
%changelog