forked from pool/antlr3c
- Cleanup with spec-cleaner for factory inclusion
OBS-URL: https://build.opensuse.org/package/show/network:telephony/antlr3c?expand=0&rev=3
This commit is contained in:
parent
2fc2675b66
commit
66d79466f4
@ -1,3 +1,8 @@
|
||||
-------------------------------------------------------------------
|
||||
Tue Sep 9 14:49:09 UTC 2014 - tchvatal@suse.com
|
||||
|
||||
- Cleanup with spec-cleaner for factory inclusion
|
||||
|
||||
-------------------------------------------------------------------
|
||||
Wed Aug 13 20:38:40 UTC 2014 - fisiu@opensuse.org
|
||||
|
||||
|
45
antlr3c.spec
45
antlr3c.spec
@ -16,28 +16,30 @@
|
||||
# Please submit bugfixes or comments via http://bugs.opensuse.org/
|
||||
#
|
||||
|
||||
%define soname libantlr3c3_4
|
||||
|
||||
%define soname libantlr3c3_4
|
||||
Name: antlr3c
|
||||
Version: 3.4
|
||||
Release: 0
|
||||
License: BSD-3-Clause
|
||||
Summary: C runtime for the ANTLR parsing library
|
||||
Url: http://www.antlr3.org/
|
||||
License: BSD-3-Clause
|
||||
Group: Development/Libraries/C and C++
|
||||
|
||||
Url: http://www.antlr3.org/
|
||||
Source: http://www.antlr3.org/download/C/lib%{name}-%{version}.tar.gz
|
||||
Patch1: antlr-64bit.diff
|
||||
Patch2: antlr-libversion.diff
|
||||
BuildRequires: gcc autoconf automake libtool
|
||||
BuildRequires: autoconf
|
||||
BuildRequires: automake
|
||||
BuildRequires: gcc
|
||||
BuildRequires: libtool
|
||||
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,
|
||||
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}
|
||||
@ -45,10 +47,10 @@ Summary: C runtime for the ANTLR parsing library
|
||||
Group: System/Libraries
|
||||
|
||||
%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,
|
||||
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
|
||||
@ -57,10 +59,10 @@ 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,
|
||||
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
|
||||
@ -68,16 +70,18 @@ develop programs using the antlr3c library.
|
||||
|
||||
%prep
|
||||
%setup -q -n lib%{name}-%{version}
|
||||
%patch -P 1 -P 2 -p1
|
||||
%patch1 -p1
|
||||
%patch2 -p1
|
||||
|
||||
%build
|
||||
autoreconf -fi
|
||||
autoreconf -fvi
|
||||
%configure \
|
||||
--disable-static
|
||||
make %{?_smp_mflags}
|
||||
|
||||
%install
|
||||
%make_install
|
||||
find %{buildroot} -type f -name "*.la" -delete -print
|
||||
|
||||
%post -n %{soname} -p /sbin/ldconfig
|
||||
|
||||
@ -85,8 +89,7 @@ make %{?_smp_mflags}
|
||||
|
||||
%files -n %{soname}
|
||||
%defattr(-,root,root)
|
||||
%{_libdir}/libantlr3c-%version.so
|
||||
%exclude %{_libdir}/libantlr3c.la
|
||||
%{_libdir}/libantlr3c-%{version}.so
|
||||
|
||||
%files devel
|
||||
%defattr(-,root,root,-)
|
||||
|
Loading…
x
Reference in New Issue
Block a user