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 Name: libmalaga
Version: 7.12 Version: 7.12
Release: 2mamba Release: 3mamba
Summary: Library files for malaga Summary: Library files for malaga
Group: System/Libraries Group: System/Libraries
Vendor: openmamba Vendor: openmamba
Distribution: openmamba Distribution: openmamba
Packager: Silvan Calarco <silvan.calarco@mambasoft.it> Packager: Silvan Calarco <silvan.calarco@mambasoft.it>
URL: http://home.arcor.de/bjoern-beutel/malaga/ 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 Patch0: %{name}-7.12-fix-missing-lm.patch
License: GPL License: GPL
## AUTOBUILDREQ-BEGIN ## AUTOBUILDREQ-BEGIN
BuildRequires: glibc-devel BuildRequires: glibc-devel
BuildRequires: ldconfig
BuildRequires: libatk-devel BuildRequires: libatk-devel
BuildRequires: libcairo-devel BuildRequires: libcairo-devel
BuildRequires: libfontconfig-devel
BuildRequires: libfreetype-devel
BuildRequires: libgdk-pixbuf-devel
BuildRequires: libglib-devel BuildRequires: libglib-devel
BuildRequires: libgtk-devel BuildRequires: libgtk2-devel
BuildRequires: libharfbuzz-devel
BuildRequires: libncurses-devel BuildRequires: libncurses-devel
BuildRequires: libpango-devel BuildRequires: libpango-devel
BuildRequires: libreadline-devel BuildRequires: libreadline-devel
@ -33,8 +38,7 @@ Requires: %{name} = %{?epoch:%epoch:}%{version}-%{release}
%description devel %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. 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 needed for development.
This package contains libraries and header files need for development.
%package static %package static
Group: Development/Libraries Group: Development/Libraries
@ -43,8 +47,7 @@ Requires: %{name}-devel = %{?epoch:%epoch:}%{version}-%{release}
%description static %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. 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 needed for development.
This package contains static libraries need for development.
%package -n malaga %package -n malaga
Group: Development/Languages Group: Development/Languages
@ -53,13 +56,16 @@ Requires: %{name} = %{?epoch:%epoch:}%{version}-%{release}
%description -n malaga %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. 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. 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 %prep
%setup -q -n malaga-%{version} %setup -q -n malaga-%{version}
%define _default_patch_fuzz 2
%patch0 -p1 %patch0 -p1
sed -i "s,| arm-\* |,| aarch64-\* | arm-\* |," config.sub
sed -i.debug -e 's|^\([ \t][ \t]*\)@|\1|' Makefile.in sed -i.debug -e 's|^\([ \t][ \t]*\)@|\1|' Makefile.in
sed -i.strip -e 's| -s | |' Makefile.in sed -i.strip -e 's| -s | |' Makefile.in
sed -i.silent -e 's|--silent||' Makefile.in sed -i.silent -e 's|--silent||' Makefile.in
@ -90,19 +96,19 @@ chmod 0755 %{buildroot}%{_libdir}/libmalaga.so*
%files %files
%defattr(-,root,root) %defattr(-,root,root)
%{_libdir}/*.so.* %{_libdir}/libmalaga.so.*
%doc GPL.txt
%doc CHANGES.txt GPL.txt README.txt
%files devel %files devel
%defattr(-,root,root) %defattr(-,root,root)
%{_includedir}/*.h %{_includedir}/*.h
%{_libdir}/*.so %{_libdir}/libmalaga.so
%doc CHANGES.txt README.txt
%files static %files static
%defattr(-,root,root) %defattr(-,root,root)
%{_libdir}/*.a %{_libdir}/libmalaga.a
%{_libdir}/*.la %{_libdir}/libmalaga.la
%files -n malaga %files -n malaga
%defattr(-,root,root) %defattr(-,root,root)
@ -115,9 +121,12 @@ chmod 0755 %{buildroot}%{_libdir}/libmalaga.so*
%dir %{_datadir}/malaga %dir %{_datadir}/malaga
%{_datadir}/malaga/malaga.el %{_datadir}/malaga/malaga.el
%{_infodir}/malaga.info.gz %{_infodir}/malaga.info.gz
%{_mandir}/man1/mal*.1.gz %{_mandir}/man1/mal*.1*
%changelog %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 * Thu Aug 23 2012 Silvan Calarco <silvan.calarco@mambasoft.it> 7.12-2mamba
- added patch to add missing link to libm - added patch to add missing link to libm