LogoopenSUSE Build Service > Projects
Sign Up | Log In

View File kraft.spec of Package kraft (Project devel:openSUSE:Factory)

# spec file for package kraft
# Copyright (c) 2007-2011 Klaas Freitag <freitag@kde.org>
# This file and all modifications and additions to the pristine
# package are under the same license as the package itself.

Name:           kraft
Url:            http://volle-kraft-voraus.de

Version:        0.50
Release:        1
License:        GPL-2.0 and LGPL-2.1
Summary:        KDE software to manage office documents in the office
Group:          Productivity/Office/Other
Source0:        kraft-%{version}.tar.bz2
BuildRoot:      %{_tmppath}/%{name}-%{version}-build

Requires:       python-pypdf
Requires:       python-reportlab
Requires:       sqlite3

BuildRequires:  libctemplate-devel
BuildRequires:  libkde4-devel
BuildRequires:  libkdepimlibs4-devel

%if 0%{?suse_version}
BuildRequires:  update-desktop-files



Kraft is KDE software to help to create and manage office documents such as
offers and invoices in the small enterprise.

It supports easy document creation, templates with calculation, customer management
through the KDE addressbook, highly configurable PDF output and more.

See the website http://volle-kraft-voraus.de for more information.

%setup -q

  %cmake_kde4 -d build

  cd build
  cd ..
  %find_lang %{name}
  chmod 755 %{buildroot}%{_datadir}/kde4/apps/kraft/tools/erml2pdf.py

%if %{?suse_version:1}0
%suse_update_desktop_file %{name} Office Finance

%post -p /sbin/ldconfig
%postun -p /sbin/ldconfig
  rm -rf %{buildroot}

%files -f %{name}.lang
%if 0%{?fedora_version} >= 5