5476183
Summary: An English-language thesaurus library.
5476183
Name: aiksaurus
5476183
Version: 1.2.1
2026d90
Release: 6
5476183
Epoch: 1
5476183
Group: System Environment/Libraries
5476183
License: GPL
5476183
Source: http://prdownloads.sourceforge.net/aiksaurus/aiksaurus-%{version}.tar.gz
5476183
BuildRoot: %{_tmppath}/%{name}-%{version}-root
5476183
BuildRequires: gtk2-devel, desktop-file-utils >= 0.9
5476183
PreReq: desktop-file-utils >= 0.9
5476183
5476183
Patch0: aiksaurus-1.2.1-desktop.patch
5476183
5476183
%description
5476183
Aiksaurus is an English-language thesaurus library that can be 
5476183
embedded in word processors, email composers, and other authoring
5476183
software to provide thesaurus capabilities.  A basic command line 
5476183
thesaurus program is also included.
5476183
5476183
%package devel
5476183
Requires: aiksaurus
5476183
Summary: Files for developing with aiksaurus.
5476183
Group: Development/Libraries
5476183
                                                                                
5476183
%description devel
5476183
Includes and definitions for developing with aiksaurus.
5476183
5476183
%package gtk
5476183
Requires: aiksaurus >= %{version}
5476183
Summary: A GTK+ frontend to aiksaurus.
5476183
Group: System Environment/Libraries
5476183
5476183
%description gtk
5476183
AiksaurusGTK is a GTK+ interface to the Aiksaurus library.  
5476183
It provides an attractive thesaurus interface, and can be embedded
5476183
in GTK+ projects, notably AbiWord.  A standalone thesaurus program
5476183
is also provided.
5476183
5476183
%package gtk-devel
5476183
Requires: aiksaurus-gtk
5476183
Requires: aiksaurus-devel >= %{version}
2026d90
Requires: gtk2-devel
5476183
Summary: Files for developing with aiksaurus-gtk.
5476183
Group: Development/Libraries
5476183
                                                                                
5476183
%description gtk-devel
5476183
gtk includes and definitions for developing with aiksaurus.
5476183
5476183
%prep
5476183
%setup -q
5476183
%patch0 -p1 -b .desktop.patch
5476183
5476183
%build
5476183
%configure
5476183
make
5476183
5476183
%install
5476183
%makeinstall
5476183
rm -f $RPM_BUILD_ROOT/%{_libdir}/*.la
5476183
desktop-file-install --vendor gnome --dir $RPM_BUILD_ROOT%{_datadir}/applications ./gaiksaurus.desktop
5476183
5476183
%clean
5476183
rm -rf $RPM_BUILD_ROOT
5476183
5476183
%post -p /sbin/ldconfig
5476183
5476183
%postun -p /sbin/ldconfig
5476183
5476183
%files
5476183
%defattr(-, root, root)
5476183
%doc ChangeLog README COPYING AUTHORS
5476183
%{_bindir}/aiksaurus
5476183
%{_bindir}/caiksaurus
5476183
%{_libdir}/*Aiksaurus-*.so.*
5476183
%{_datadir}/aiksaurus
5476183
5476183
%files devel
5476183
%defattr(-, root, root)
2026d90
%dir %{_includedir}/Aiksaurus
5476183
%{_includedir}/Aiksaurus/Aiksaurus.h
5476183
%{_includedir}/Aiksaurus/AiksaurusC.h
5476183
%{_libdir}/*Aiksaurus.so
5476183
%{_libdir}/pkgconfig/aiksaurus-1.0.pc
5476183
5476183
%files gtk
5476183
%defattr(-, root, root)
5476183
%{_bindir}/gaiksaurus
5476183
%{_libdir}/*GTK*.so.*
5476183
%{_datadir}/applications/gnome-gaiksaurus.desktop
5476183
5476183
%post gtk
5476183
/sbin/ldconfig
5476183
update-desktop-database %{_datadir}/applications
5476183
5476183
%postun gtk
5476183
/sbin/ldconfig
5476183
update-desktop-database %{_datadir}/applications
5476183
5476183
%files gtk-devel
5476183
%defattr(-, root, root)
5476183
%{_includedir}/Aiksaurus/AiksaurusGTK*.h
5476183
%{_libdir}/*GTK*.so
5476183
%{_libdir}/pkgconfig/gaiksaurus-1.0.pc
5476183
5476183
%changelog
2026d90
* Thu Mar 31 2005 Michael Schwendt <mschwendt[AT]users.sf.net> 1.2.1-6
2026d90
- add dep gtk2-devel for pkgconfig in -gtk-devel sub-package 
2026d90
- include %%{_includedir}/Aiksaurus dir in -devel sub-package
2026d90
- remove redundant deps "gtk2" and "Aiksaurus" in -gtk sub-package
2026d90
5476183
* Wed Mar  2 2005 Caolan McNamara <caolanm@redhat.com> 1.2.1-5
5476183
- rebuild with gcc4
5476183
5476183
* Mon Jan 24 2005 Caolan McNamara <caolanm@redhat.com> 1.2.1-4
5476183
- RH#145922# wrong location
5476183
5476183
* Mon Jan 24 2005 Caolan McNamara <caolanm@redhat.com> 1.2.1-3
5476183
- RH#145922# make a .desktop for gaiksaurus
5476183
5476183
* Wed Oct 10 2004 Caolan McNamara <caolanm@redhat.com> 1.2.1-2
5476183
- #rh134808# BuildRequires gtk2-devel
5476183
5476183
* Tue Aug 10 2004 Caolan McNamara <caolanm@redhat.com>
5476183
- initially import 1.2.1 and tweak .spec