Sophie

Sophie

distrib > Mageia > 3 > i586 > media > core-release-src > by-pkgid > 37b6f58b38ab8b36a49467f1840060ee > files > 2

mythes-1.2.3-3.mga3.src.rpm

Name:           mythes
Version:        1.2.3
Release:        %mkrel 3
Summary:        A thesaurus library
License:        BSD
Group:          System/Internationalization 
URL:            http://hunspell.sourceforge.net/
Source0:        http://downloads.sourceforge.net/hunspell/%{name}-%{version}.tar.gz

BuildRequires:  hunspell-devel
BuildRequires:  autoconf
BuildRequires:  gettext-devel

%description
MyThes is a simple thesaurus that uses a structured text data file and an
index file with binary search to look up words and phrases and return 
information on part of speech, meanings, and synonyms.


%package devel
Requires:       %{name} = %{version}-%{release}
Requires:       pkgconfig
Summary:        Files for developing with %{name}
Group:          Development/C++

%description devel
Includes and definitions for developing with %{name}


%prep
%setup -q

%build
# touch NEWS because it is missing to do the auto reconf properly
touch NEWS
autoreconf -fi
%configure --disable-rpath --disable-static
%makeinstall_std

%check
./example th_en_US_new.idx th_en_US_new.dat checkme.lst
./example morph.idx morph.dat morph.lst morph.aff morph.dic

%install
%makeinstall
rm -f %{buildroot}%{_libdir}/*.a
rm -f %{buildroot}%{_libdir}/*.la
mkdir -p %{buildroot}%{_datadir}/%{name}

%files
%doc README COPYING AUTHORS
%{_libdir}/*.so.*
%{_datadir}/%{name}

%files devel
%doc data_layout.txt
%{_includedir}/%{name}.hxx
%{_libdir}/*.so
%{_libdir}/pkgconfig/%{name}.pc
%{_bindir}/th_gen_idx.pl


%changelog

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

* Sun Dec 02 2012 kamil <kamil> 1.2.3-2.mga3
+ Revision: 325115
- rebuild for Mga3 Beta1

* Sat Jul 07 2012 kamil <kamil> 1.2.3-1.mga3
+ Revision: 268579
- new version 1.2.3

* Tue Jan 10 2012 kamil <kamil> 1.2.2-1.mga2
+ Revision: 194409
- fix group of the devel package
- fix group
- new version
- drop patch rhbz675806.patch (merged upstream)
- clean spec

* Thu Mar 24 2011 boklm <boklm> 1.2.1-3.mga1
+ Revision: 76194
- rebuild for bug #497

* Sat Mar 12 2011 dmorgan <dmorgan> 1.2.1-2.mga1
+ Revision: 68372
- Add a fedora patch: (Resolves: rhbz#675806 fix crash if thesarus is busted)

* Sun Jan 23 2011 dmorgan <dmorgan> 1.2.1-1.mga1
+ Revision: 35239
- Add gettext-devel as buildrequires
- Adapt to mageia
- imported package mythes