File kerry.spec of Package kerry
#
# spec file for package kerry (Version 0.2.2)
#
# Copyright (c) 2008 SUSE LINUX Products GmbH, Nuernberg, Germany.
# This file and all modifications and additions to the pristine
# package are under the same license as the package itself.
#
# Please submit bugfixes or comments via http://bugs.opensuse.org/
#
# norootforbuild
Name: kerry
BuildRequires: kdebase3-devel libbeagle-devel
License: GPL v2 or later
Group: System/GUI/KDE
Summary: Desktop search tool
BuildRoot: %{_tmppath}/%{name}-%{version}-build
Version: 0.2.2
Release: 136
Source: %{name}-%{version}.tar.bz2
%if %suse_version > 1030
Requires: beagle >= 0.3.0
Requires: libbeagle1 >= 0.3.0
%else
Requires: beagle >= 0.2.6
Requires: libbeagle >= 0.2.6
%endif
%if %suse_version > 1020
Requires: %{name}-lang = %{version}
%endif
Patch: svn.diff
Patch2: fix-desktop-file.diff
Patch3: new-beagle-autostart.diff
Patch4: hu-po.diff
Patch5: beagle-0.3.diff
%description
A desktop search tool integrated with Beagle and KDE.
Authors:
--------
Stephan Binner <binner@kde.org>
%lang_package
%prep
%setup -q
cd kerry
%patch
%patch2 -p1
cd ..
%if %suse_version > 1020
%patch3
%endif
%patch4
%if %suse_version > 1030
%patch5
%endif
. /etc/opt/kde3/common_options
update_admin
%build
. /etc/opt/kde3/common_options
./configure $configkde
make %{?jobs:-j%jobs}
%install
. /etc/opt/kde3/common_options
make DESTDIR=$RPM_BUILD_ROOT $INSTALL_TARGET
%suse_update_desktop_file kerry
%suse_update_desktop_file $RPM_BUILD_ROOT/opt/kde3/share/autostart/kerry.autostart.desktop
%if %suse_version < 1030
%suse_update_desktop_file $RPM_BUILD_ROOT/opt/kde3/share/autostart/beagled.desktop
%endif
%suse_update_desktop_file $RPM_BUILD_ROOT/opt/kde3/share/applications/kde/kcmbeagle.desktop
%if %suse_version > 1000
%find_lang %name --all-name
%else
%find_lang %name
%endif
%if %suse_version > 1020
%files lang -f %name.lang
%files
%else
%files -f %name.lang
%endif
%defattr(-,root,root)
%doc AUTHORS ChangeLog COPYING README TODO
/opt/kde3/bin/kerry
/opt/kde3/%_lib/kde3/kerry.*
/opt/kde3/%_lib/libkdeinit_kerry.*
/opt/kde3/%_lib/kde3/kcm_beagle.*
/opt/kde3/share/icons/*/*/*/kerry.*
/opt/kde3/share/icons/*/*/*/kerry_arrow.*
/opt/kde3/share/icons/*/*/*/kerry_info.*
/opt/kde3/share/icons/*/*/*/kerry_systemtray.*
/opt/kde3/share/applications/kde/kerry.desktop
/opt/kde3/share/applications/kde/kcmbeagle.desktop
/opt/kde3/share/applnk/.hidden/kcmkerry.desktop
%dir /opt/kde3/share/apps/kerry
/opt/kde3/share/apps/kerry/search-running.mng
%if %suse_version < 1030
/opt/kde3/share/autostart/beagled.desktop
%endif
/opt/kde3/share/autostart/kerry.autostart.desktop
%dir /opt/kde3/shutdown
/opt/kde3/shutdown/beagled-shutdown.sh
%changelog
* Mon Jan 28 2008 stbinner@suse.de
- fix build against libbeagle 0.3
* Fri Sep 28 2007 stbinner@suse.de
- update Hungarian translation (#174614)
* Thu Sep 20 2007 stbinner@suse.de
- adapt Kerry to changed beagled autostart mechanism (#326741)
* Mon Jun 04 2007 stbinner@suse.de
- fix build on older distributions
* Sun May 20 2007 stbinner@suse.de
- seperate translations in special package
* Sat May 19 2007 coolo@suse.de
- remove X-SuSE-translate from desktop file
* Mon Apr 30 2007 stbinner@suse.de
- fix build with desktop-file-validate run
* Fri Feb 09 2007 stbinner@suse.de
- expand leading tilde when defining privacy dirs
- show Kopete ICQ username instead of UIN
- support for Beagle Konversation backend
- fix build against SUSE Linux 10.0
* Thu Jan 18 2007 stbinner@suse.de
- add support for Beagle KOrganizer backend (Fate 3591 and 3592)
* Wed Dec 06 2006 stbinner@suse.de
- fix check for running beagleindex process
* Fri Nov 24 2006 stbinner@suse.de
- revert last change
* Wed Nov 22 2006 stbinner@suse.de
- dependency on libbeagle is sufficient
* Mon Nov 20 2006 stbinner@suse.de
- update to version 0.2.1:
* translation updates
* make max needed width of search dialog smaller (#220888)
* improve English popup about Beagle cron job (#220752)
* show phone numbers in kabc hits
* Mon Nov 06 2006 stbinner@suse.de
- update to final version 0.2:
* translation updates
* nicer info/collapse icons and toolstip for them
* always allow to collapse, even if details are displayed initially
* add "Collapse All", "Expand All" context menu
* also indicate still running search in the status bar
* ignore KDE bookmarks Beagle backend to prevent dupes
* check the age of /tmp/.beagleindexwapi dirs before warning
* fix opening of Thunderbird hits
* remember which tiles were expanded when rebuilding display
* Thu Oct 26 2006 stbinner@suse.de
- hide kcmkerry.desktop from the menu system
* Mon Oct 23 2006 stbinner@suse.de
- update to version 0.2 release candidate:
* rewrote configuration as kcm modules
* support new Beagle backend for KNotes
* allow to display all hits at once in listview
* require a minimum of 3 chars for search
* option to show results as expandable one liners
* Wed Oct 18 2006 stbinner@suse.de
- update to svn version:
* smaller minimum height
* add dcop search call with scope for Kickoff
* Mon Oct 16 2006 stbinner@suse.de
- update to svn version:
* OR, - and "" for non-Beagle searches/path name filtering
* added headers in search sidebar and a "Configure..." button
* fix/change again umlaut handling
* fix global shortcut handling
* Tue Sep 19 2006 stbinner@suse.de
- add "Sort by Type" option
* Mon Sep 18 2006 stbinner@suse.de
- update to version 0.2 beta 2:
* added sidebar for scope and sorting with date filter
* added non-Beagle based KDE addressbook searching
* added non-Beagle based Konqueror bookmark searching
* added non-Beagle application menu search
* passive popup at start if beagle-crawl-system is running
* added tile for "Packages" such as Gentoo Ebuild, RPM, Debian
* added "Index data while on battery power" Beagle 0.2.8 setting
* made GUI during search non-blocking, add a spinner
* Fri Sep 01 2006 stbinner@suse.de
- update from SVN:
* icon converted to SVG and revised by Robert Lihm
* default just to Alt+Space keyboard shortcut for now
* fix preview for URLs with escaped chars within
* start beagle daemon by default
* fixed a memory leak
* Wed Jun 21 2006 stbinner@suse.de
- update to version 0.2 beta
* add Beagle backends configuration
* add Beagle status / control tab to configuration
* rich tooltips for search results (bigger thumbnails etc.)
* Fri May 19 2006 stbinner@suse.de
- try to detect file uris with other encoding (#176053)
* Mon Apr 24 2006 stbinner@suse.de
- work around initially shown tips not being properly formatted
- beagled.desktop: --autostarted now to be considered harmful
* Tue Apr 18 2006 stbinner@suse.de
- fix markup and escaped char errors in 7 translations (#167079)
* Wed Apr 12 2006 stbinner@suse.de
- update de, km and pl translations
* Fri Apr 07 2006 stbinner@suse.de
- add translations to .desktop files
* Wed Apr 05 2006 stbinner@suse.de
- fix dialog maybe not appearing when called from menu (#159317)
- don't hardcode hit font point size at all, use KDE setting
- fix location of kerry.desktop
- updated application icon
- add Danish translation
* Fri Mar 31 2006 stbinner@suse.de
- fix German translation
* Sat Mar 25 2006 stbinner@suse.de
- allow to minimize dialog to fit on 800x600
- increase hit font point size from 8 to 10
- most translations are now complete
* Mon Mar 13 2006 stbinner@suse.de
- update from SVN (fixes several bugs)
(Bug 157374 - kerry translations (German) partly lacking)
(Bug 157372 - kerry crashes when only one result, and result is
deleted)
(Bug 157371 - Kerry Beagle initial help text is not localized to
German yet)
* Tue Mar 07 2006 stbinner@suse.de
- update from SVN (drag & context menu changes, more translations)
* Mon Feb 27 2006 stbinner@suse.de
- call beagle-shutdown on KDE logout
* Tue Feb 21 2006 stbinner@suse.de
- don't start as root because beagled doesn't run as root
- ease application search path configuration
* Tue Feb 14 2006 stbinner@suse.de
- don't show individual subparts of multipart/alternative messages
(like changed in beagle-search upstream, GNOME #328497)
- updated translations
* Mon Feb 13 2006 stbinner@suse.de
- fix opening of IRC log files
* Fri Feb 10 2006 stbinner@suse.de
- run beagle-shutdown on requested quit (#147578)
* Mon Feb 06 2006 stbinner@suse.de
- install translations
* Fri Feb 03 2006 stbinner@suse.de
- update to version 0.06 with latest svn.suse.de changes:
* kdeinit patch to improve memory usage/startup time from Lubos
* fix Firefox history title display and Evolution mail opening
* dumb fallback if beagle-imlogviewer is not installed
* better layout of hit cells
* Sun Jan 22 2006 stbinner@suse.de
- update to version 0.05 (make build with newest libbeagle API)
* Wed Jan 11 2006 stbinner@suse.de
- update to version 0.04
* Mon Jan 09 2006 stbinner@suse.de
- update to version 0.03
* Mon Jan 02 2006 stbinner@suse.de
- update from SVN to fix compilation with new Beagle version
* Fri Dec 16 2005 stbinner@suse.de
- initial package