diff --git a/antlr3c.changes b/antlr3c.changes index 0140bfa..019f763 100644 --- a/antlr3c.changes +++ b/antlr3c.changes @@ -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 diff --git a/antlr3c.spec b/antlr3c.spec index f1281ed..398a676 100644 --- a/antlr3c.spec +++ b/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,-)