commit 34cb6d6bd13a0f8bb1462a4f1acf14b953a57b190b48271151683ed67c0623d4 Author: Jan Engelhardt Date: Sun Aug 17 00:41:32 2014 +0000 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 diff --git a/.gitattributes b/.gitattributes new file mode 100644 index 0000000..9b03811 --- /dev/null +++ b/.gitattributes @@ -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 diff --git a/.gitignore b/.gitignore new file mode 100644 index 0000000..57affb6 --- /dev/null +++ b/.gitignore @@ -0,0 +1 @@ +.osc diff --git a/antlr3c.changes b/antlr3c.changes new file mode 100644 index 0000000..0140bfa --- /dev/null +++ b/antlr3c.changes @@ -0,0 +1,5 @@ +------------------------------------------------------------------- +Wed Aug 13 20:38:40 UTC 2014 - fisiu@opensuse.org + +- Initial package at version 3.4. + diff --git a/antlr3c.spec b/antlr3c.spec new file mode 100644 index 0000000..c2b5c90 --- /dev/null +++ b/antlr3c.spec @@ -0,0 +1,94 @@ +# +# spec file for package antlr3c +# +# Copyright (c) 2014 SUSE LINUX Products GmbH, Nuernberg, Germany. +# Copyright (c) 2014 Mariusz Fik . +# +# 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 diff --git a/libantlr3c-3.4.tar.gz b/libantlr3c-3.4.tar.gz new file mode 100644 index 0000000..4f14a33 --- /dev/null +++ b/libantlr3c-3.4.tar.gz @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:ca914a97f1a2d2f2c8e1fca12d3df65310ff0286d35c48b7ae5f11dcc8b2eb52 +size 546039