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
|
|
|
#
|
2012-11-13 17:07:05 +01:00
|
|
|
# Copyright (c) 2012 SUSE LINUX Products 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
|
|
|
|
2009-05-04 18:18:30 +02:00
|
|
|
%define jobs $(( `/usr/bin/getconf _NPROCESSORS_ONLN` + 1 ))
|
2008-03-26 16:18:49 +01:00
|
|
|
|
2007-01-09 17:46:54 +01:00
|
|
|
Name: krusader
|
2012-11-13 17:07:05 +01:00
|
|
|
Version: 2.4.0~beta3
|
|
|
|
Release: 0
|
|
|
|
%define tar_version 2.4.0-beta3
|
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
|
2012-11-13 17:07:05 +01:00
|
|
|
Url: http://krusader.sourceforge.net/
|
|
|
|
Source: %{name}-%{tar_version}.tar.bz2
|
2010-03-31 17:30:29 +02:00
|
|
|
Source1: krusader_browse_iso.desktop
|
2012-11-13 17:07:05 +01:00
|
|
|
# PATCH-FIX-OPENSUSE krusader-2.4.0-beta2-generate-manpage.patch -- generate manpage
|
|
|
|
Patch0: krusader-2.4.0-beta2-generate-manpage.patch
|
|
|
|
# PATCH-FIX-UPSTREAM bug309159.patch [kde#309159]
|
|
|
|
Patch1: bug309159.patch
|
2011-08-25 14:35:21 +02:00
|
|
|
BuildRequires: fdupes
|
|
|
|
BuildRequires: libkde4-devel
|
2012-11-13 17:07:05 +01:00
|
|
|
BuildRequires: libkonq-devel
|
2015-03-29 20:16:09 +02:00
|
|
|
Requires: libktexteditor
|
2009-05-04 18:18:30 +02:00
|
|
|
Requires: kio_iso = %{version}
|
|
|
|
Recommends: %{name}-doc
|
2011-08-25 14:35:21 +02:00
|
|
|
BuildRoot: %{_tmppath}/%{name}-%{version}-build
|
2008-09-24 17:00:47 +02:00
|
|
|
%kde4_runtime_requires
|
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
|
|
|
|
%kde4_runtime_requires
|
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
|
2012-11-13 17:07:05 +01:00
|
|
|
%setup -q -n %{name}-%{tar_version}
|
|
|
|
%patch0 -p1
|
|
|
|
%patch1 -p1
|
2007-01-09 17:46:54 +01:00
|
|
|
|
|
|
|
%build
|
2011-08-25 14:35:21 +02:00
|
|
|
export RPM_OPT_FLAGS="%{optflags} -fpermissive"
|
2008-09-13 14:34:56 +02:00
|
|
|
%cmake_kde4 -d build
|
|
|
|
%make_jobs
|
2007-01-09 17:46:54 +01:00
|
|
|
|
|
|
|
%install
|
2008-09-13 14:34:56 +02:00
|
|
|
pushd build
|
2011-08-25 14:35:21 +02:00
|
|
|
%make_install
|
2008-09-13 14:34:56 +02:00
|
|
|
popd
|
2011-09-19 17:33:03 +02:00
|
|
|
mkdir -p %{buildroot}%{_kde4_servicesdir}/ServiceMenus/
|
|
|
|
cp %{SOURCE1} %{buildroot}%{_kde4_servicesdir}/ServiceMenus/
|
2009-08-10 22:42:48 +02:00
|
|
|
%suse_update_desktop_file krusader_root-mode FileManager Utility
|
|
|
|
%kde_post_install
|
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
|
|
|
|
%{_kde4_applicationsdir}/krusader*.desktop
|
|
|
|
%{_kde4_appsdir}/krusader
|
|
|
|
%{_kde4_bindir}/krusader
|
|
|
|
%{_kde4_iconsdir}/??color/*/apps/krusader*.png
|
2009-05-04 18:18:30 +02:00
|
|
|
%{_kde4_modules}/kio_krarc.so
|
2011-09-19 17:33:03 +02:00
|
|
|
%{_kde4_servicesdir}/krarc.protocol
|
2012-11-13 17:07:05 +01:00
|
|
|
%{_kde4_mandir}/man1/krusader.1.gz
|
|
|
|
%exclude %{_kde4_htmldir}/*/krusader
|
2007-01-09 17:46:54 +01:00
|
|
|
|
|
|
|
%files -n kio_iso
|
|
|
|
%defattr(-,root,root)
|
2011-09-19 17:33:03 +02:00
|
|
|
%config %{_kde4_configdir}/kio_isorc
|
2009-05-04 18:18:30 +02:00
|
|
|
%{_kde4_modules}/kio_iso.so*
|
2011-09-19 17:33:03 +02:00
|
|
|
%{_kde4_servicesdir}/iso.protocol
|
|
|
|
%{_kde4_servicesdir}/ServiceMenus/krusader_browse_iso.desktop
|
2009-05-04 18:18:30 +02:00
|
|
|
|
|
|
|
%files doc
|
|
|
|
%defattr(-,root,root)
|
2011-09-19 17:33:03 +02:00
|
|
|
%doc %lang(en) %{_kde4_htmldir}/en/krusader
|
2012-11-13 17:07:05 +01:00
|
|
|
%doc %lang(uk) %{_kde4_htmldir}/uk/krusader
|
|
|
|
%doc %lang(sv) %{_kde4_htmldir}/sv/krusader
|
|
|
|
%doc %lang(pt) %{_kde4_htmldir}/pt/krusader
|
|
|
|
%doc %lang(pt_BR) %{_kde4_htmldir}/pt_BR/krusader
|
2008-03-26 16:18:49 +01:00
|
|
|
|
2007-03-11 00:00:32 +01:00
|
|
|
%changelog
|