dolphin-plugins/dolphin-plugins.spec

78 lines
2.2 KiB
RPMSpec
Raw Normal View History

#
# spec file for package dolphin-plugins
#
# Copyright (c) 2015 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/
#
Name: dolphin-plugins
Version: 15.04.1
Release: 0
Summary: Version control plugins for Dolphin
License: GPL-2.0+
Group: System/GUI/KDE
Url: http://www.kde.org/
Source0: %{name}-%{version}.tar.xz
BuildRequires: libkde4-devel
BuildRequires: libkonq-devel
BuildRoot: %{_tmppath}/%{name}-%{version}-build
%kde4_runtime_requires
%description
Dolphin file manager specific version control plugins that:
- Show the version state of a file by an emblem + color
- Provide a context menu with version control specific actions
%prep
%setup -q
%build
%ifarch ppc64
RPM_OPT_FLAGS="%{optflags} -mminimal-toc"
%endif
%cmake_kde4 -d build
%make_jobs
%install
cd build
%kde4_makeinstall
cd ..
%kde_post_install
%post -p /sbin/ldconfig
%postun -p /sbin/ldconfig
%clean
rm -rf %{buildroot}
%files
%defattr(-,root,root)
%doc COPYING
%_kde4_servicesdir/fileviewgitplugin.desktop
%_kde4_configdir.kcfg/fileviewgitpluginsettings.kcfg
%_kde4_modulesdir/fileviewgitplugin.so
%_kde4_servicesdir/fileviewsvnplugin.desktop
%_kde4_configdir.kcfg/fileviewsvnpluginsettings.kcfg
%_kde4_modulesdir/fileviewsvnplugin.so
%_kde4_servicesdir/fileviewhgplugin.desktop
%_kde4_configdir.kcfg/fileviewhgpluginsettings.kcfg
%_kde4_modulesdir/fileviewhgplugin.so
%_kde4_modulesdir/fileviewbazaarplugin.so
%_kde4_servicesdir/fileviewbazaarplugin.desktop
%_kde4_modulesdir/fileviewdropboxplugin.so
%_kde4_servicesdir/fileviewdropboxplugin.desktop
%changelog