diff --git a/libmalaga.spec b/libmalaga.spec index f5e5984..9d68043 100644 --- a/libmalaga.spec +++ b/libmalaga.spec @@ -1,21 +1,26 @@ Name: libmalaga Version: 7.12 -Release: 2mamba +Release: 3mamba Summary: Library files for malaga Group: System/Libraries Vendor: openmamba Distribution: openmamba Packager: Silvan Calarco URL: http://home.arcor.de/bjoern-beutel/malaga/ -Source: http://home.arcor.de/bjoern-beutel/malaga/malaga-%{version}.tgz +Source: http://ftp.funet.fi/pub/mirrors/ftp.debian.org/debian/pool/main/m/malaga/malaga_%{version}.orig.tar.gz Patch0: %{name}-7.12-fix-missing-lm.patch License: GPL ## AUTOBUILDREQ-BEGIN BuildRequires: glibc-devel +BuildRequires: ldconfig BuildRequires: libatk-devel BuildRequires: libcairo-devel +BuildRequires: libfontconfig-devel +BuildRequires: libfreetype-devel +BuildRequires: libgdk-pixbuf-devel BuildRequires: libglib-devel -BuildRequires: libgtk-devel +BuildRequires: libgtk2-devel +BuildRequires: libharfbuzz-devel BuildRequires: libncurses-devel BuildRequires: libpango-devel BuildRequires: libreadline-devel @@ -33,8 +38,7 @@ Requires: %{name} = %{?epoch:%epoch:}%{version}-%{release} %description devel A software package for the development and application of grammars that are used for the analysis of words and sentences of natural languages. It is a language-independent system that offers a programming language for the modelling of the language-dependent grammatical information. This language is also called Malaga. - -This package contains libraries and header files need for development. +This package contains libraries and header files needed for development. %package static Group: Development/Libraries @@ -43,8 +47,7 @@ Requires: %{name}-devel = %{?epoch:%epoch:}%{version}-%{release} %description static A software package for the development and application of grammars that are used for the analysis of words and sentences of natural languages. It is a language-independent system that offers a programming language for the modelling of the language-dependent grammatical information. This language is also called Malaga. - -This package contains static libraries need for development. +This package contains static libraries needed for development. %package -n malaga Group: Development/Languages @@ -53,13 +56,16 @@ Requires: %{name} = %{?epoch:%epoch:}%{version}-%{release} %description -n malaga A software package for the development and application of grammars that are used for the analysis of words and sentences of natural languages. It is a language-independent system that offers a programming language for the modelling of the language-dependent grammatical information. This language is also called Malaga. - Malaga is based on the grammatical theory of the "Left Associative Grammar" (LAG), developed by Roland Hausser, professor for Computational Linguistics at University of Erlangen, Germany. +%debug_package + %prep %setup -q -n malaga-%{version} +%define _default_patch_fuzz 2 %patch0 -p1 +sed -i "s,| arm-\* |,| aarch64-\* | arm-\* |," config.sub sed -i.debug -e 's|^\([ \t][ \t]*\)@|\1|' Makefile.in sed -i.strip -e 's| -s | |' Makefile.in sed -i.silent -e 's|--silent||' Makefile.in @@ -90,19 +96,19 @@ chmod 0755 %{buildroot}%{_libdir}/libmalaga.so* %files %defattr(-,root,root) -%{_libdir}/*.so.* - -%doc CHANGES.txt GPL.txt README.txt +%{_libdir}/libmalaga.so.* +%doc GPL.txt %files devel %defattr(-,root,root) %{_includedir}/*.h -%{_libdir}/*.so +%{_libdir}/libmalaga.so +%doc CHANGES.txt README.txt %files static %defattr(-,root,root) -%{_libdir}/*.a -%{_libdir}/*.la +%{_libdir}/libmalaga.a +%{_libdir}/libmalaga.la %files -n malaga %defattr(-,root,root) @@ -115,9 +121,12 @@ chmod 0755 %{buildroot}%{_libdir}/libmalaga.so* %dir %{_datadir}/malaga %{_datadir}/malaga/malaga.el %{_infodir}/malaga.info.gz -%{_mandir}/man1/mal*.1.gz +%{_mandir}/man1/mal*.1* %changelog +* Fri Dec 18 2020 Silvan Calarco 7.12-3mamba +- rebuilt with debug package and other specfile fixes + * Thu Aug 23 2012 Silvan Calarco 7.12-2mamba - added patch to add missing link to libm