Sophie

Sophie

distrib > * > 2008.0 > x86_64 > by-pkgid > 5d9c3f82082283beb240bc62cd8cc0cb > files > 2

malaga-7.11-1.1mdv2008.0.src.rpm


%define name	malaga
%define version	7.11
%define rel	1

%define major	7
%define libname	%mklibname %name %major
%define develname %mklibname %name -d

Summary:	A grammar development environment for natural languages
Name:		%name
Version:	%version
%define subrel 1
Release:	%mkrel %rel
License:	GPL
Group:		Text tools
URL:		http://home.arcor.de/bjoern-beutel/malaga/
Source:		http://home.arcor.de/bjoern-beutel/malaga/%name-%version.tar.bz2
BuildRoot:	%{_tmppath}/%{name}-root
BuildRequires:	readline-devel
BuildRequires:	gtk+2-devel
BuildRequires:	glib2-devel
Requires(post):	info-install
Requires(preun): info-install

%description
Malaga is a software package for the development and application of
grammars that are used for the analysis of words and sentences of
natural languages. It contains a programming language for the
modelling of morphology and syntax grammars.

%package -n %libname
Summary:	Malaga shared library
Group:		System/Libraries
Provides:	lib%name = %version-%release

%description -n %libname
Malaga is a software package for the development and application of
grammars that are used for the analysis of words and sentences of
natural languages. It contains a programming language for the
modelling of morphology and syntax grammars.

This package contains the library needed to run programs dynamically
linked with Malaga.

%package -n %develname
Summary:	Headers and static libraries for Malaga development
Group:		Development/C
Requires:	%libname = %version
Provides:	lib%name-devel = %version-%release
Provides:	%name-devel = %version-%release
Obsoletes:	%{_lib}malaga7-devel

%description -n %develname
Malaga is a software package for the development and application of
grammars that are used for the analysis of words and sentences of
natural languages. It contains a programming language for the
modelling of morphology and syntax grammars.

This package contains the headers and static library that
programmers will need to develop applications which will use Malaga.

%prep
%setup -q

%build
%configure2_5x
%make

%install
rm -rf %{buildroot}
%makeinstall INSTALL_INFO=true

%clean
rm -rf %{buildroot}

%post -n %libname -p /sbin/ldconfig
%postun -n %libname -p /sbin/ldconfig

%post
%_install_info %name

%preun
%_remove_install_info %name

%files
%defattr(-,root,root)
%doc CHANGES.txt README.txt
%{_bindir}/mal*
%{_datadir}/%{name}
%{_infodir}/%{name}*
%{_mandir}/man1/mal*

%files -n %libname
%doc README.txt
%{_libdir}/lib%{name}.so.%{major}*

%files -n %develname
%doc README.txt
%{_libdir}/lib%{name}.a
%{_libdir}/lib%{name}.la
%{_libdir}/lib%{name}.so
%{_includedir}/malaga.h




%changelog
* Thu Feb 18 2010 Oden Eriksson <oeriksson@mandriva.com> 7.11-1.1mdv2008.0
- built for updates

* Mon Jul 09 2007 Anssi Hannula <anssi@mandriva.org> 7.11-1mdv2008.0
+ Revision: 50739
- 7.11
- apply new devel policy


* Sun Oct 29 2006 Anssi Hannula <anssi@mandriva.org> 7.9-2mdv2007.0
+ Revision: 73660
- add man pages
- 7.9
- Import malaga

* Sun Aug 13 2006 Anssi Hannula <anssi@mandriva.org> 7.5-1mdv2007.0
- initial Mandriva release