A new user interface for you!

File quick-usb-formatter.spec of Package quick-usb-formatter

# spec file for package quick-usb-formatter
# Copyright (c) 2016 SUSE LINUX 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/

%define oname   quickusbformatter

Name:           quick-usb-formatter
Version:        0.6
Release:        0
License:        GPL-2.0+
Group:          System/GUI/KDE
Summary:        Tiny app for format usb sticks and devices
Url:            http://gitorious.org/chakra/quick-usb-formatter
# Downloaded from http://gitorious.org/chakra/quick-usb-formatter
# and renamed
Source0:        %{name}-%{version}+git-95f78d4.tar.gz
Source1:        %{name}-rpmlintrc
Patch0:         %{name}-quickusbformatter.desktop.patch
Patch1:		%{name}-fix-qt5.patch
BuildRequires:	extra-cmake-modules
BuildRequires:  cmake(Qt5Core)
BuildRequires:  cmake(Qt5Gui)
BuildRequires:  cmake(Qt5Widgets)
BuildRequires:  cmake(Qt5DBus)
BuildRequires:  cmake(KF5CoreAddons)
BuildRequires:  cmake(KF5I18n)
BuildRequires:  cmake(KF5Auth)
BuildRequires:  cmake(KF5Solid)
BuildRequires:  cmake(KF5XmlGui)
BuildRequires:  cmake(KF5KDELibs4Support)
BuildRoot:      %{_tmppath}/%{name}-%{version}-build

Quick Usb Formatter it is a tiny app designed for enhance the usability
of the device notifier plasmoid, adding an additional option for quick
format usb sticks. It also works as a standalone tool.

%setup -q
%patch1 -p1

%cmake_kf5 -d build

cd build
cd ..
%find_lang %{oname}

%files -f %{oname}.lang
%doc README.txt
%config %{_sysconfdir}/dbus-1/system.d/org.kde.auth.quf.conf
%dir %{_datadir}/solid
%dir %{_datadir}/solid/actions