File imgSeek.spec of Package imgSeek

# spec file for package imgSeek (Version 0.8.6)
# 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

# norootforbuild

Name:           imgSeek
BuildRequires:  ImageMagick libdrm-devel libjpeg-devel python-devel python-imaging python-qt qt3-devel update-desktop-files
License:        GPL v2 or later
Group:          Productivity/Graphics/Viewers
Requires:       PyQt, ImageMagick, python-imaging
AutoReqProv:    on
Version:        0.8.6
Release:        143
Summary:        Photo Collection Manager and Viewer with Content-Based Query
Source:         %{name}-%{version}.tar.bz2
Patch:          %name.diff
Patch1:         %{name}-uninitialized.patch
Patch2:         %name-gcc43.patch
Patch3:         imgSeek-0.8.6-with-keyword.patch
BuildRoot:      %{_tmppath}/%{name}-%{version}-build

imgSeek is a photo collection manager and viewer with content-based
search and many other features. The query is expressed either as a
rough sketch painted by the user or as another image you supply (or an
image in your collection).

    Ricardo Niederberger Cabral <>
    Steffen Neumann <sneumann@TechFak.Uni-Bielefeld.DE>

%setup -q
# we want python distutils
rm -rf distutils
# lib64 fix
if [ %{_lib} != lib ] ; then
    sed -i 's/"lib"/"%{_lib}"/'

python build

python install --prefix=%{_prefix} --root=$RPM_BUILD_ROOT --record-rpm=INSTALLED_FILES
%suse_update_desktop_file -i %name Graphics Viewer
mkdir -p $RPM_BUILD_ROOT/usr/share/pixmaps/
install -m 0644 imgSeek.png $RPM_BUILD_ROOT/usr/share/pixmaps/



* Fri Sep 12 2008
- renamed "self.with" member, because "with" is now a keyword
* Thu Oct 11 2007
- update to 0.8.6
    - apparently a bugfix-only release, no changelog was included
- added missing includes for gcc4.3
* Wed Jan 03 2007
- fixed "uninitialized variable" warning (#231223)
* Tue Feb 28 2006
- updated to reflect python changes due to #149809
* Wed Jan 25 2006
- converted neededforbuild to BuildRequires
* Sun Nov 27 2005
- respect kdebindings3 split
* Sun Oct 02 2005
- fixed .desktop patch
* Tue May 10 2005
- update to 0.8.5
- still doesn't build due to PyQT
* Mon Feb 21 2005
- revert back to using PyQt to be more flexible with packaging the
* Thu Dec 23 2004
- update to 0.8.4
* Thu Nov 25 2004
- install desktop file
* Tue Sep 21 2004
- use kdebindings3-python instead of PyQt
* Fri May 28 2004
- update to 0.8.3
* Fri Jan 30 2004
- include more docs
* Sat Jan 10 2004
- build as user
* Mon Sep 29 2003
- updated to 0.8.2:
  A bug related to settings and image preview on Python 2.3 was fixed.
  The broken thumbnail generation for non-database images on HTML
  albums was fixed. The code for adding images to the database
  recursively was improved.
* Mon Sep 08 2003
- updated to 0.8.1:
    - startup speed improvement (code is byte compiled)
    - many bugfixes
* Mon Aug 11 2003
- updated to 0.7.2:
    - HTML album improvements
    - more speed improvements when adding images to database using QT
    - added option (on by default) to create group name automatically
  when adding images. New group name will be current system time.
  Later this could evolve to something better, like the top level
  dir of images to be added, appended with something to make it
    - improved IPTC metadata import. Repeated fields should be properly
  imported now
    - show image filesize and dimensions on the bottom label @ preview
    - misc. bugfixes everywhere
    - full persistency for all kinds of similarity grouping
  (color,date,filename would get lost on 0.7.1)
    - speedup when moving/copying images across groups
    - improved startup time
* Tue Jun 17 2003
- no more needded to explicitly list directory
* Mon Jun 16 2003
- use record-rpm
* Mon Jun 02 2003
- use python distutils instead of the one distributed with imgSeek
- fixed lib64 build
* Mon Jun 02 2003
- new package