File krename.spec of Package krename

# spec file for package krename
# Copyright (c) 2011 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:           krename
BuildRequires:  libexiv2-devel libkde4-devel taglib-devel
%if %suse_version > 1120
BuildRequires:  libpodofo-devel
License:        GPLv2+
Group:          System/Filesystems
Summary:        A Batch Rename Application
Version:        4.0.6
Release:        1
BuildRoot:      %{_tmppath}/%{name}-%{version}-build
Source0:        %name-%{version}.tar.bz2
Patch0:         desktop-files.diff
Provides:       kde4-krename = 3.9.1
Obsoletes:      kde4-krename <= 3.9.1

Krename is a very powerful batch file renamer for KDE3. Features
include: -renaming a list of files based on a set of expressions
-copying and moving a list of files to another directory -converting
filenames to uppercase or lowercase -adding numbers to filenames
-finding and replacing parts of the filename -renaming MP3 or Ogg
Vorbis files based on their ID3 tags -setting access and modification
dates -managing permissions and file ownership -extending krename's
features with a plug-in API -renaming directories recursively
-supporting KFilePlugins -creating an undo file

    Dominik Seichter <>

%setup -q

  %cmake_kde4 -d build

  cd build
  cd ..
%suse_update_desktop_file -G "Batch File Renamer" krename System FileManager
%find_lang %name


%files -f %name.lang

openSUSE Build Service is sponsored by