Name: artha
Version: 1.0.2
Release: 1%{?dist}
Summary: A handy thesaurus based on WordNet
URL: http://artha.sourceforge.net/
License: GPLv2+
Group: Applications/Productivity
Source0: http://downloads.sourceforge.net/%{name}/%{name}-%{version}.tar.gz
BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n)
BuildRequires: wordnet-devel, desktop-file-utils, gtk2-devel, dbus-glib-devel
#libnotify.so.1 is dlopen'ed, not linked
Requires: libnotify, enchant, hunspell-en
%description
Artha is a handy thesaurus based on WordNet.
%prep
%setup -q
chmod -x TODO
%build
%configure
make %{?_smp_mflags}
%install
rm -rf $RPM_BUILD_ROOT
make install DESTDIR=${RPM_BUILD_ROOT} INSTALL="install -p"
desktop-file-validate ${RPM_BUILD_ROOT}/%{_datadir}/applications/artha.desktop
%clean
rm -rf $RPM_BUILD_ROOT
%files
%defattr(-,root,root,-)
%doc AUTHORS ChangeLog COPYING NEWS README TODO
%dir %{_datadir}/artha
%{_bindir}/artha
%{_datadir}/applications/artha.desktop
%{_datadir}/artha/gui.glade
%{_datadir}/pixmaps/artha.png
%{_mandir}/man1/artha.1.gz
%changelog
* Sat Feb 19 2011 Roshan Kumar Singh <singh.roshan08@gmail.com> 1.0.2-1
- New release for version 1.0.2
* Sun Feb 14 2010 Roshan Kumar Singh <singh.roshan08@gmail.com> 1.0.1-2
- Patch for ImplicitDSOLinking
* Thu Jan 21 2010 Roshan Kumar Singh <singh.roshan08@gmail.com> 1.0.1-1
- New release with bug fixes and making libnotify dynamic rather than dependency
* Tue Dec 2 2009 Roshan Kumar Singh <singh.roshan08@gmail.com> 0.9.1-3
- Fixed error with the URL in the spec
* Tue Dec 1 2009 Roshan Kumar Singh <singh.roshan08@gmail.com> 0.9.1-2
- Fixed problems with the previous rpm
* Fri Nov 27 2009 Roshan Kumar Singh <singh.roshan08@gmail.com> 0.9.1-1
- First rpm release for fedora