artha/artha.spec
2024-01-05 20:34:03 +01:00

57 lines
2.7 KiB
RPMSpec

Name: artha
Version: 1.0.3
Release: 1mamba
Summary: A handy thesaurus based on wordnet
Group: Graphical Desktop/Applications/Office
Vendor: openmamba
Distribution: openmamba
Packager: openmamba WebBuild System <webbuild@openmamba.org>
URL: http://artha.sourceforge.net/wiki/index.php/Home
Source: http://garr.dl.sourceforge.net/project/artha/artha/%{version}/artha-%{version}.tar.bz2
License: GPL
## AUTOBUILDREQ-BEGIN
## note: run 'autospec -u -a6 artha' to get the list of build requirements.
## AUTOBUILDREQ-END
BuildRequires: libwordnet-devel
BuildRoot: %{_tmppath}/%{name}-%{version}-root
%description
Artha is a handy thesaurus that focuses on high usability, without trading off simplicity and ease of use. It has the following distinct features that increases its usability:
WordNet - Artha harnesses the extensive & in-depth database provided by WordNet. Unlike other dictionaries which goes on-line for every single lookup, Artha works completely off-line; thanks to WordNet for its excellent and cognitive database.
Hot key Lookup - When you press a pre-set hot key, after selecting some text on any window, Artha pops up with the selection's definitions looked-up.
Regular Expressions Search - When a word is vaguely known I.e. the user is unclear of its spelling or when it's start/end alone is known or when the number of characters is known; one can speed up/narrow the search using regular expression to locate the particular word they have in mind.
Notifications - Artha can show passive notifications (balloon tips) instead of the application's window popping up, so that you can continue what you were doing, uninterrupted. (like reading, writing, etc.)
Suggestions - When a misspelled word is queried for, Artha gives you its near-match suggestions.
Relative to Sense Mapping - Relative words like synonyms, antonyms, etc. that are displayed are many. You might not know to which sense/definition of a word does a relative map to. In Artha, when you select a relative, its corresponding definition is scrolled to and highlighted for easy comprehension.
%debug_package
%prep
%setup -q
%build
CFLAGS="%{optflags} `pkg-config --libs gio-2.0`" \
%configure
%make
%install
[ "%{buildroot}" != / ] && rm -rf "%{buildroot}"
%makeinstall
%clean
[ "%{buildroot}" != / ] && rm -rf "%{buildroot}"
%files
%defattr(-,root,root)
%{_bindir}/artha
%{_datadir}/applications/artha.desktop
%dir %{_datadir}/artha
%{_datadir}/artha/gui.glade
%{_datadir}/pixmaps/artha.png
%{_mandir}/man1/artha.1*
%doc AUTHORS COPYING
%changelog
* Mon Oct 08 2012 openmamba WebBuild System <webbuild@openmamba.org> 1.0.3-1mamba
- package created by autospec