File katalog.spec of Package katalog
#
# spec file for package katalog (Version 0.4)
#
# Copyright (c) 2008 SUSE LINUX Products GmbH, Nuernberg, Germany.
#
# All modifications and additions to the file contributed by third parties
# remain the property of their copyright owners, unless otherwise agreed
# upon. The license for this file, and modifications and additions to the
# file, is the same license as for the pristine package itself (unless the
# license for the pristine package is not an Open Source License, in which
# case the license is the MIT License). An "Open Source License" is a
# license that conforms to the Open Source Definition (Version 1.9)
# published by the Open Source Initiative.
# Please submit bugfixes or comments via http://bugs.opensuse.org/
#
# norootforbuild
Name: katalog
BuildRequires: kdelibs3-devel sqlite-devel
Url: http://salvaste.altervista.org/
License: GPL v2 or later
Group: Productivity/File utilities
Summary: Create Catalog Files from Media and Search Them
Version: 0.4
Release: 205
Source0: %name-%{version}.tar.bz2
BuildRoot: %{_tmppath}/%{name}-%{version}-build
Patch: katalog-gcc43.diff
Patch1: scons-mini.diff
%description
Katalog integrates into Konqueror and allows the creation of .katalog
files from a file system tree (from any CD or DVD, for example). These
files can be opened with Konqueror and then searched for specific data.
Right-click a directory and select 'Actions' -> 'Create Katalog' to
index a tree.
Authors:
--------
Stefano Salvador <salva_ste@tin.it>
%prep
%setup -q
%patch
. /etc/opt/kde3/common_options
%build
QTDIR_bak=$QTDIR
. /etc/opt/kde3/common_options
export QTDIR=$QTDIR_bak
tar xf admin/scons-mini.tar.bz2
patch -p0 -s < %{PATCH1}
export SCONS=./scons
./configure
%ifarch x86_64 ppc64 s390x
$SCONS configure libdir=%_libdir qtlibs=/usr/lib/qt3/%_lib libsuffix=64
%else
$SCONS configure libdir=%_libdir qtlibs=/usr/lib/qt3/%_lib
%endif
$SCONS .
%install
. /etc/opt/kde3/common_options
./scons DESTDIR=%{buildroot} install
kde_post_install
%post -p /sbin/ldconfig
%postun -p /sbin/ldconfig
%files
%defattr(-,root,root)
%doc AUTHORS ChangeLog COPYING
/opt/kde3/bin/*
/opt/kde3/%_lib/kde3/*
%dir /usr/lib/qt3/plugins/sqldrivers
/usr/lib/qt3/plugins/sqldrivers/libqsqlite3.*
/opt/kde3/share/icons/*
/opt/kde3/share/mimelnk/*/*.desktop
%dir /opt/kde3/share/apps/katalog
/opt/kde3/share/apps/katalog/katalog-xslt.xml
/opt/kde3/share/apps/katalog/katalog_info.css
/opt/kde3/share/apps/konqueror
%dir /opt/kde3/share/apps/konqsidebartng
%dir /opt/kde3/share/apps/konqsidebartng/virtual_folders
%dir /opt/kde3/share/apps/konqsidebartng/virtual_folders/services
/opt/kde3/share/apps/konqsidebartng/virtual_folders/services/katalog_service.desktop
/opt/kde3/share/services/*
%changelog
* Wed Oct 15 2008 dmueller@suse.de
- fix build after python 2.6 update
* Tue Jun 03 2008 dmueller@suse.de
- fix build
* Fri Apr 25 2008 dmueller@suse.de
- switch away from system provided scons package
to fix the build
* Tue Oct 23 2007 stbinner@suse.de
- fix build with gcc 4.3
* Thu Jun 21 2007 stbinner@suse.de
- call kde_post_install
* Tue Jan 02 2007 stbinner@suse.de
- update to version 0.4:
* migration from an XML file format to a database. Old file format
is supported, currently only reading
* navigation of catalogs is greatly simplified: now you can find
a katalog folder in Konqueror sidebar in the services tab, from
there you can find all catalogs and an experimental navigation
through mimetypes.
* catalog creation widget now shows a progress indicator with the
possibility to stop current jobs.
* Wed Jan 25 2006 mls@suse.de
- converted neededforbuild to BuildRequires
* Thu Sep 16 2004 adrian@suse.de
- package also directories
* Wed Sep 15 2004 adrian@suse.de
- initial package of version 0.3