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-8f88f4a.tar.gz
Source1: %{name}-rpmlintrc
Patch0: %{name}-quickusbformatter.desktop.patch
BuildRequires: libkde4-devel
%kde4_runtime_requires
BuildRoot: %{_tmppath}/%{name}-%{version}-build
%description
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.
%prep
%setup -q -n chakra%{name}-8f88f4a
%patch0
%build
%cmake_kde4 -d build
%make_jobs
%install
cd build
%make_install
%kde_post_install
cd ..
%find_lang %{oname}
%files -f %{oname}.lang
%defattr(-,root,root,-)
%doc README.txt
%{_bindir}/%{oname}
%config %{_kde4_sysconfdir}/dbus-1/system.d/org.kde.auth.quf.conf
%{_kde4_libexecdir}/helper
%{_kde4_applicationsdir}/%{oname}.desktop
%{_datadir}/dbus-1/system-services/org.kde.auth.quf.service
%dir %{_kde4_appsdir}/solid/
%dir %{_kde4_appsdir}/solid/actions
%{_kde4_appsdir}/solid/actions/%{oname}_solid.desktop
%{_datadir}/polkit-1/actions/org.kde.auth.quf.policy
%changelog