Name: libmalaga Version: 7.12 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://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: libgtk2-devel BuildRequires: libharfbuzz-devel BuildRequires: libncurses-devel BuildRequires: libpango-devel BuildRequires: libreadline-devel ## AUTOBUILDREQ-END Requires(post): %{__install_info} BuildRoot: %{_tmppath}/%{name}-%{version}-root %description 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. %package devel Group: Development/Libraries Summary: Libraries and headers for %{name} 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 needed for development. %package static Group: Development/Libraries Summary: Static libraries for %{name} 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 needed for development. %package -n malaga Group: Development/Languages Summary: A Grammar Development Environment for Natural Languages 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 %build %configure --with-readline %make %install [ "%{buildroot}" != / ] && rm -rf "%{buildroot}" %makeinstall \ INSTALL_INFO=/sbin/install-info rm -f %{buildroot}%{_infodir}/dir chmod 0755 %{buildroot}%{_libdir}/libmalaga.so* %clean [ "%{buildroot}" != / ] && rm -rf "%{buildroot}" %post -n malaga %install_info malaga.info %post -p /sbin/ldconfig %preun -n malaga %uninstall_info malaga.info %postun -p /sbin/ldconfig %files %defattr(-,root,root) %{_libdir}/libmalaga.so.* %doc GPL.txt %files devel %defattr(-,root,root) %{_includedir}/*.h %{_libdir}/libmalaga.so %doc CHANGES.txt README.txt %files static %defattr(-,root,root) %{_libdir}/libmalaga.a %{_libdir}/libmalaga.la %files -n malaga %defattr(-,root,root) %{_bindir}/malaga %{_bindir}/mallex %{_bindir}/malmake %{_bindir}/malrul %{_bindir}/malshow %{_bindir}/malsym %dir %{_datadir}/malaga %{_datadir}/malaga/malaga.el %{_infodir}/malaga.info.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 * Mon Feb 02 2009 gil 7.12-1mamba - package created by autospec