Sophie

Sophie

distrib > Mageia > 5 > x86_64 > by-pkgid > e45f807bd5300f4aef9dbecdd06b13a7 > files > 3

malaga-7.12-13.mga5.src.rpm

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

Summary:	A grammar development environment for natural languages
Name:		malaga
Version:	7.12
Release:	%mkrel 13
License:	GPLv2+
Group:		Text tools
URL:		http://home.arcor.de/bjoern-beutel/malaga/
Source0:	http://home.arcor.de/bjoern-beutel/malaga/%name-%version.tgz
Patch0:		malaga-7.12-linking.patch
BuildRequires:	readline-devel
BuildRequires:	gtk+2-devel
BuildRequires:	glib2-devel
BuildRequires:	chrpath
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
%apply_patches

%build
autoreconf -vfi
%configure2_5x \
	--disable-static
%make

%install
%makeinstall INSTALL_INFO=true

chrpath -d %{buildroot}%{_bindir}/* %{buildroot}%{_libdir}/*.so

#we don't want these
find %{buildroot} -name "*.la" -delete

%post
%_install_info %name

%preun
%_remove_install_info %name

%files
%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}.so
%{_includedir}/malaga.h


%changelog
* Wed Oct 15 2014 umeabot <umeabot> 7.12-13.mga5
+ Revision: 742715
- Second Mageia 5 Mass Rebuild

* Sat Sep 27 2014 tv <tv> 7.12-12.mga5
+ Revision: 727079
- rebuild for missing pythoneggs deps

* Tue Sep 16 2014 umeabot <umeabot> 7.12-11.mga5
+ Revision: 682141
- Mageia 5 Mass Rebuild

* Fri Oct 18 2013 umeabot <umeabot> 7.12-10.mga4
+ Revision: 507713
- Mageia 4 Mass Rebuild

* Sat Jan 12 2013 umeabot <umeabot> 7.12-9.mga3
+ Revision: 359337
- Mass Rebuild - https://wiki.mageia.org/en/Feature:Mageia3MassRebuild

* Wed Dec 26 2012 wally <wally> 7.12-8.mga3
+ Revision: 335517
- add patch to fix linking
- drop static build and .la files
- clean .spec

  + blino <blino>
    - rebuild to get info pages as xz instead of lzma

  + anssi <anssi>
    - clarify license tag

* Fri Jan 14 2011 anssi <anssi> 7.12-6.mga1
+ Revision: 17741
- remove old macros
- imported package malaga


* Fri Dec 03 2010 Oden Eriksson <oeriksson@mandriva.com> 7.12-5mdv2011.0
+ Revision: 606624
- rebuild

* Mon Mar 15 2010 Oden Eriksson <oeriksson@mandriva.com> 7.12-4mdv2010.1
+ Revision: 520166
- rebuilt for 2010.1

* Thu Sep 03 2009 Christophe Fergeau <cfergeau@mandriva.com> 7.12-3mdv2010.0
+ Revision: 426070
- rebuild

* Wed Feb 25 2009 Thierry Vignaud <tv@mandriva.org> 7.12-2mdv2009.1
+ Revision: 344818
- rebuild for new libreadline

* Mon Jun 09 2008 Pixel <pixel@mandriva.com> 7.12-1mdv2009.0
+ Revision: 217193
- do not call ldconfig in %%post/%%postun, it is now handled by filetriggers

* Mon Mar 03 2008 Anssi Hannula <anssi@mandriva.org> 7.12-1mdv2008.1
+ Revision: 178193
- new version
- drop rpaths

* Thu Jan 03 2008 Olivier Blin <oblin@mandriva.com> 7.11-1mdv2008.1
+ Revision: 140944
- restore BuildRoot

  + Thierry Vignaud <tv@mandriva.org>
    - kill re-definition of %%buildroot on Pixel's request

* 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