2007-01-09 17:46:54 +01:00
#
2011-06-16 10:39:44 +02:00
# spec file for package krusader
2007-01-09 17:46:54 +01:00
#
2016-10-23 18:55:34 +02:00
# Copyright (c) 2016 SUSE LINUX GmbH, Nuernberg, Germany.
2007-01-09 17:46:54 +01:00
#
2008-09-13 14:34:56 +02:00
# 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.
2007-01-09 17:46:54 +01:00
# Please submit bugfixes or comments via http://bugs.opensuse.org/
#
2011-11-22 17:47:38 +01:00
2007-01-09 17:46:54 +01:00
Name : krusader
2016-10-23 18:55:34 +02:00
Version : 2.5.0
2012-11-13 17:07:05 +01:00
Release : 0
2011-08-25 14:35:21 +02:00
Summary : A File Manager
2012-11-13 17:07:05 +01:00
License : GPL-2.0+
2011-08-25 14:35:21 +02:00
Group : Productivity/File utilities
2016-10-23 19:30:43 +02:00
Url : https://krusader.org/
2016-10-23 18:55:34 +02:00
Source : http://download.kde.org/stable/krusader/%{version} /%{name} -%{version} .tar.xz
2010-03-31 17:30:29 +02:00
Source1 : krusader_browse_iso.desktop
2016-10-23 19:09:40 +02:00
# PATCH-FIX-OPENSUSE krusader-2.5.0-generate-manpage.patch -- generate manpage
Patch0 : krusader-2.5.0-generate-manpage.patch
2016-10-23 19:30:43 +02:00
# PATCH-FIX-UPSTREAM 0001-Don-t-hardcode-appdata-location.patch
Patch1 : 0001-Don-t-hardcode-appdata-location.patch
2016-11-21 21:01:01 +01:00
# PATCH-FIX-UPSTREAM Remove-non-archive-mimetypes-from-krarc-archive-mime-type-list.patch boo#1011320, kde#371765 -- fixes dolphin opening e.g. LibreOffice files as archives
Patch2 : Remove-non-archive-mimetypes-from-krarc-archive-mime-type-list.patch
2016-12-22 20:03:34 +01:00
# PATCH-FIX-UPSTREAM add-service-actions-to-right-click-popup-menu.patch boo#1016980, kde#372231 -- add KDE's service actions to the right click popup menu in krusader again
Patch3 : add-service-actions-to-right-click-popup-menu.patch
2016-10-23 19:21:47 +02:00
BuildRequires : extra-cmake-modules >= 1.1.0
2011-08-25 14:35:21 +02:00
BuildRequires : fdupes
2016-10-23 19:21:47 +02:00
BuildRequires : libacl-devel
BuildRequires : libattr-devel
2016-10-23 18:55:34 +02:00
BuildRequires : update-desktop-files
2016-10-23 19:21:47 +02:00
BuildRequires : cmake(KF5Archive)
BuildRequires : cmake(KF5Bookmarks)
BuildRequires : cmake(KF5Codecs)
BuildRequires : cmake(KF5Completion)
BuildRequires : cmake(KF5Config)
BuildRequires : cmake(KF5CoreAddons)
BuildRequires : cmake(KF5DocTools)
BuildRequires : cmake(KF5GuiAddons)
BuildRequires : cmake(KF5I18n)
BuildRequires : cmake(KF5IconThemes)
BuildRequires : cmake(KF5ItemViews)
BuildRequires : cmake(KF5KIO)
BuildRequires : cmake(KF5Notifications)
BuildRequires : cmake(KF5Parts)
BuildRequires : cmake(KF5Solid)
BuildRequires : cmake(KF5TextWidgets)
BuildRequires : cmake(KF5Wallet)
BuildRequires : cmake(KF5WidgetsAddons)
BuildRequires : cmake(KF5WindowSystem)
BuildRequires : cmake(KF5XmlGui)
BuildRequires : cmake(Qt5Core) >= 5.2.0
BuildRequires : cmake(Qt5DBus) >= 5.2.0
BuildRequires : cmake(Qt5Gui) >= 5.2.0
BuildRequires : cmake(Qt5PrintSupport) >= 5.2.0
BuildRequires : cmake(Qt5Widgets) >= 5.2.0
BuildRequires : cmake(Qt5Xml) >= 5.2.0
2009-05-04 18:18:30 +02:00
Requires : kio_iso = %{version}
2015-05-26 13:36:35 +02:00
Suggests : %{name} -doc
2011-08-25 14:35:21 +02:00
BuildRoot : %{_tmppath} /%{name} -%{version} -build
2007-01-09 17:46:54 +01:00
%description
2008-03-26 16:18:49 +01:00
An advanced twin panel (commander style) file manager for KDE.
2007-01-09 17:46:54 +01:00
%package -n kio_iso
Summary : KIO slave to access ISO images
2011-08-25 14:35:21 +02:00
Group : System/GUI/KDE
2008-12-02 15:27:12 +01:00
Provides : kde4-kio_iso = 1.80.99
2011-09-19 17:33:03 +02:00
Obsoletes : kde4-kio_iso < 1.80.99
2007-01-09 17:46:54 +01:00
%description -n kio_iso
2008-03-26 16:18:49 +01:00
KIO slave to access ISO images like zip- or tar.gz-archives in your
file-browser.
2007-01-09 17:46:54 +01:00
2009-05-04 18:18:30 +02:00
%package doc
Summary : A File Manager
2011-08-25 14:35:21 +02:00
Group : Productivity/File utilities
2009-05-04 18:18:30 +02:00
%description doc
An advanced twin panel (commander style) file manager for KDE.
2007-01-09 17:46:54 +01:00
%prep
2016-10-23 19:00:23 +02:00
%setup -q -n %{name} -%{version}
2016-10-23 19:09:40 +02:00
%patch0 -p1
2016-10-23 19:30:43 +02:00
%patch1 -p1
2016-11-21 21:01:01 +01:00
%patch2 -p1
2016-12-22 20:03:34 +01:00
%patch3 -p1
2007-01-09 17:46:54 +01:00
%build
2011-08-25 14:35:21 +02:00
export RPM_OPT_FLAGS=" %{optflags} - f p e r m i s s i v e "
2016-10-23 18:55:34 +02:00
%cmake_kf5 -d build
2008-09-13 14:34:56 +02:00
%make_jobs
2007-01-09 17:46:54 +01:00
%install
2016-10-23 18:55:34 +02:00
%kf5_makeinstall -C build
mkdir -p %{buildroot} %{_kf5_servicesdir}/ServiceMenus/
cp %{SOURCE1} %{buildroot} %{_kf5_servicesdir}/ServiceMenus/
%suse_update_desktop_file org.kde.krusader.root-mode FileManager Utility
2008-09-13 14:34:56 +02:00
%find_lang %{name}
2009-05-04 18:18:30 +02:00
%fdupes %{buildroot}
2008-09-13 14:34:56 +02:00
2011-09-19 17:33:03 +02:00
%post -p /sbin/ldconfig
2011-11-22 17:47:38 +01:00
2008-09-13 14:34:56 +02:00
%postun -p /sbin/ldconfig
2007-01-09 17:46:54 +01:00
2008-09-13 14:34:56 +02:00
%files -f %{name}.lang
2007-01-09 17:46:54 +01:00
%defattr (-,root,root)
2011-09-19 17:33:03 +02:00
%doc README AUTHORS COPYING ChangeLog TODO SVNNEWS
2016-10-23 19:04:31 +02:00
%{_kf5_applicationsdir}/org.kde.krusader*.desktop
2016-10-23 18:55:34 +02:00
%{_kf5_appsdir}/krusader
%{_kf5_bindir}/krusader
%{_kf5_iconsdir}/??color/*/apps/krusader*.png
%{_kf5_plugindir}/kio_krarc.so
%{_kf5_servicesdir}/krarc.protocol
2016-10-23 20:08:43 +02:00
%{_kf5_kxmlguidir}/
2016-10-23 19:09:40 +02:00
%{_kf5_mandir}/man1/krusader.1.gz
2016-10-23 18:55:34 +02:00
%exclude %{_kf5_htmldir}/*/krusader
2016-10-23 19:30:43 +02:00
%dir %{_kf5_appstreamdir}
%{_kf5_appstreamdir}/org.kde.krusader.appdata.xml
2007-01-09 17:46:54 +01:00
%files -n kio_iso
%defattr (-,root,root)
2016-10-23 18:55:34 +02:00
%config %{_kf5_configdir}/kio_isorc
%{_kf5_plugindir}/kio_iso.so*
%{_kf5_servicesdir}/iso.protocol
2016-10-23 20:19:35 +02:00
%dir %{_kf5_servicesdir}/ServiceMenus
2016-10-23 18:55:34 +02:00
%{_kf5_servicesdir}/ServiceMenus/krusader_browse_iso.desktop
2009-05-04 18:18:30 +02:00
%files doc
%defattr (-,root,root)
2016-10-23 18:55:34 +02:00
%doc %lang(en) %{_kf5_htmldir}/en/krusader
%doc %lang(uk) %{_kf5_htmldir}/uk/krusader
%doc %lang(sv) %{_kf5_htmldir}/sv/krusader
2016-10-23 21:31:32 +02:00
%dir %{_kf5_htmldir}/pt_BR
2016-10-23 18:55:34 +02:00
%doc %lang(pt_BR) %{_kf5_htmldir}/pt_BR/krusader
2008-03-26 16:18:49 +01:00
2007-03-11 00:00:32 +01:00
%changelog