rebuilt with debug package and other specfile fixes [release 7.12-3mamba;Fri Dec 18 2020]

This commit is contained in:
Silvan Calarco 2024-01-06 05:00:36 +01:00
parent ace551a762
commit c836ece176

View File

@ -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 <silvan.calarco@mambasoft.it>
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 <silvan.calarco@mambasoft.it> 7.12-3mamba
- rebuilt with debug package and other specfile fixes
* Thu Aug 23 2012 Silvan Calarco <silvan.calarco@mambasoft.it> 7.12-2mamba
- added patch to add missing link to libm