File kvirustotal.spec of Package kvirustotal

# spec file for package kvirustotal
# Copyright (c) 2012 SUSE LINUX Products GmbH, Nuernberg, Germany.
# Copyright (c) 8/2011 open-slx GmbH <>
# Copyright (c) 2/2011 Sascha Manns <>
# 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

%define _gitver 20120721

Name:           kvirustotal
Version:        0.30.0.%{_gitver}
Release:        0
Summary:        Online-based Antivirus and Anti-Phising tool
License:        GPL-3.0+
Group:          Productivity/Security
Source:         %{name}-%{_gitver}.tar.bz2
BuildRequires:  cmake
BuildRequires:  fdupes
BuildRequires:  gcc-c++
BuildRequires:  kdelibs4
BuildRequires:  kdelibs4-core
BuildRequires:  kdesdk4-scripts
BuildRequires:  libkde4-devel
BuildRequires:  libqca2-devel
BuildRequires:  libqjson-devel
BuildRequires:  update-desktop-files
Requires:       %{name}-lang = %{version}
Requires:       kdelibs4
Requires:       kdelibs4-core
Requires:       libqjson0
BuildRoot:      %{_tmppath}/%{name}-%{version}-build

KVirusTotal is an online-based antivirus and anti-phising tool. It 
allows you to submit files that will be analysed by more than 40 
up-to-dated antivirus. Besides, it will accept URLs that will be 
tested against the main anti-phising sytems.

%setup -q -n kvirustotal

export CFLAGS="%{optflags}" CXXFLAGS="%{optflags}"

%suse_update_desktop_file -r %{name} System Security

%find_lang %{name} --with-kde

%dir %{_datadir}/kde4/apps/%{name}
%dir %{_datadir}/kde4/apps/%{name}/pics

%files lang -f %{name}.lang