forked from pool/antlr3c
Accepting request 244940 from home:Fisiu:branches:network:telephony
New pacakge, required to build linphone-3.7. OBS-URL: https://build.opensuse.org/request/show/244940 OBS-URL: https://build.opensuse.org/package/show/network:telephony/antlr3c?expand=0&rev=1
This commit is contained in:
commit
34cb6d6bd1
23
.gitattributes
vendored
Normal file
23
.gitattributes
vendored
Normal file
@ -0,0 +1,23 @@
|
|||||||
|
## Default LFS
|
||||||
|
*.7z filter=lfs diff=lfs merge=lfs -text
|
||||||
|
*.bsp filter=lfs diff=lfs merge=lfs -text
|
||||||
|
*.bz2 filter=lfs diff=lfs merge=lfs -text
|
||||||
|
*.gem filter=lfs diff=lfs merge=lfs -text
|
||||||
|
*.gz filter=lfs diff=lfs merge=lfs -text
|
||||||
|
*.jar filter=lfs diff=lfs merge=lfs -text
|
||||||
|
*.lz filter=lfs diff=lfs merge=lfs -text
|
||||||
|
*.lzma filter=lfs diff=lfs merge=lfs -text
|
||||||
|
*.obscpio filter=lfs diff=lfs merge=lfs -text
|
||||||
|
*.oxt filter=lfs diff=lfs merge=lfs -text
|
||||||
|
*.pdf filter=lfs diff=lfs merge=lfs -text
|
||||||
|
*.png filter=lfs diff=lfs merge=lfs -text
|
||||||
|
*.rpm filter=lfs diff=lfs merge=lfs -text
|
||||||
|
*.tbz filter=lfs diff=lfs merge=lfs -text
|
||||||
|
*.tbz2 filter=lfs diff=lfs merge=lfs -text
|
||||||
|
*.tgz filter=lfs diff=lfs merge=lfs -text
|
||||||
|
*.ttf filter=lfs diff=lfs merge=lfs -text
|
||||||
|
*.txz filter=lfs diff=lfs merge=lfs -text
|
||||||
|
*.whl filter=lfs diff=lfs merge=lfs -text
|
||||||
|
*.xz filter=lfs diff=lfs merge=lfs -text
|
||||||
|
*.zip filter=lfs diff=lfs merge=lfs -text
|
||||||
|
*.zst filter=lfs diff=lfs merge=lfs -text
|
1
.gitignore
vendored
Normal file
1
.gitignore
vendored
Normal file
@ -0,0 +1 @@
|
|||||||
|
.osc
|
5
antlr3c.changes
Normal file
5
antlr3c.changes
Normal file
@ -0,0 +1,5 @@
|
|||||||
|
-------------------------------------------------------------------
|
||||||
|
Wed Aug 13 20:38:40 UTC 2014 - fisiu@opensuse.org
|
||||||
|
|
||||||
|
- Initial package at version 3.4.
|
||||||
|
|
94
antlr3c.spec
Normal file
94
antlr3c.spec
Normal file
@ -0,0 +1,94 @@
|
|||||||
|
#
|
||||||
|
# spec file for package antlr3c
|
||||||
|
#
|
||||||
|
# Copyright (c) 2014 SUSE LINUX Products GmbH, Nuernberg, Germany.
|
||||||
|
# Copyright (c) 2014 Mariusz Fik <fisiu@opensuse.org>.
|
||||||
|
#
|
||||||
|
# All modifications and additions to the file contributed by third parties
|
||||||
|
# remain the property of their copyright owners, unless otherwise agreed
|
||||||
|
# upon. The license for this file, and modifications and additions to the
|
||||||
|
# file, is the same license as for the pristine package itself (unless the
|
||||||
|
# license for the pristine package is not an Open Source License, in which
|
||||||
|
# case the license is the MIT License). An "Open Source License" is a
|
||||||
|
# license that conforms to the Open Source Definition (Version 1.9)
|
||||||
|
# published by the Open Source Initiative.
|
||||||
|
|
||||||
|
# Please submit bugfixes or comments via http://bugs.opensuse.org/
|
||||||
|
#
|
||||||
|
|
||||||
|
%define soname libantlr3c
|
||||||
|
|
||||||
|
Name: antlr3c
|
||||||
|
Version: 3.4
|
||||||
|
Release: 0
|
||||||
|
License: BSD-3-Clause
|
||||||
|
Summary: C runtime for the ANTLR parsing library
|
||||||
|
Url: http://www.antlr3.org/
|
||||||
|
Group: Development/Libraries/C and C++
|
||||||
|
Source: http://www.antlr3.org/download/C/lib%{name}-%{version}.tar.gz
|
||||||
|
BuildRequires: gcc
|
||||||
|
BuildRequires: pkgconfig
|
||||||
|
BuildRoot: %{_tmppath}/%{name}-%{version}-build
|
||||||
|
|
||||||
|
%description
|
||||||
|
ANTLR, ANother Tool for Language Recognition, is a language tool that provides a
|
||||||
|
framework for constructing recognizers, interpreters, compilers, and translators
|
||||||
|
from grammatical descriptions containing actions in a variety of target
|
||||||
|
languages. ANTLR provides excellent support for tree construction, tree walking,
|
||||||
|
translation, error recovery, and error reporting.
|
||||||
|
|
||||||
|
%package -n %{soname}
|
||||||
|
Summary: C runtime for the ANTLR parsing library
|
||||||
|
Group: Development/Libraries/C and C++
|
||||||
|
|
||||||
|
%description -n %{soname}
|
||||||
|
ANTLR, ANother Tool for Language Recognition, is a language tool that provides a
|
||||||
|
framework for constructing recognizers, interpreters, compilers, and translators
|
||||||
|
from grammatical descriptions containing actions in a variety of target
|
||||||
|
languages. ANTLR provides excellent support for tree construction, tree walking,
|
||||||
|
translation, error recovery, and error reporting.
|
||||||
|
|
||||||
|
%package devel
|
||||||
|
Summary: C runtime for the ANTLR parsing library
|
||||||
|
Group: Development/Libraries/C and C++
|
||||||
|
Requires: %{soname} = %{version}
|
||||||
|
|
||||||
|
%description devel
|
||||||
|
ANTLR, ANother Tool for Language Recognition, is a language tool that provides a
|
||||||
|
framework for constructing recognizers, interpreters, compilers, and translators
|
||||||
|
from grammatical descriptions containing actions in a variety of target
|
||||||
|
languages. ANTLR provides excellent support for tree construction, tree walking,
|
||||||
|
translation, error recovery, and error reporting.
|
||||||
|
|
||||||
|
This package contains header files and development libraries needed to
|
||||||
|
develop programs using the antlr3c library.
|
||||||
|
|
||||||
|
%prep
|
||||||
|
%setup -q -n lib%{name}-%{version}
|
||||||
|
|
||||||
|
%build
|
||||||
|
%configure \
|
||||||
|
%ifarch x86_64
|
||||||
|
--enable-64bit \
|
||||||
|
%endif
|
||||||
|
--disable-static
|
||||||
|
make %{?_smp_mflags}
|
||||||
|
|
||||||
|
%install
|
||||||
|
%make_install
|
||||||
|
|
||||||
|
%post -n %{soname} -p /sbin/ldconfig
|
||||||
|
|
||||||
|
%postun -n %{soname} -p /sbin/ldconfig
|
||||||
|
|
||||||
|
%files -n %{soname}
|
||||||
|
%defattr(-,root,root)
|
||||||
|
%{_libdir}/libantlr3c.so
|
||||||
|
%exclude %{_libdir}/libantlr3c.la
|
||||||
|
|
||||||
|
%files devel
|
||||||
|
%defattr(-,root,root,-)
|
||||||
|
%doc AUTHORS ChangeLog COPYING NEWS README
|
||||||
|
%{_includedir}/antlr3*
|
||||||
|
|
||||||
|
%changelog
|
3
libantlr3c-3.4.tar.gz
Normal file
3
libantlr3c-3.4.tar.gz
Normal file
@ -0,0 +1,3 @@
|
|||||||
|
version https://git-lfs.github.com/spec/v1
|
||||||
|
oid sha256:ca914a97f1a2d2f2c8e1fca12d3df65310ff0286d35c48b7ae5f11dcc8b2eb52
|
||||||
|
size 546039
|
Loading…
x
Reference in New Issue
Block a user