2007-01-09 17:46:54 +01:00
|
|
|
#
|
2009-05-04 18:18:30 +02:00
|
|
|
# spec file for package krusader (Version 2.0.0)
|
2007-01-09 17:46:54 +01:00
|
|
|
#
|
2010-03-31 17:30:29 +02:00
|
|
|
# Copyright (c) 2010 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/
|
|
|
|
#
|
|
|
|
|
|
|
|
# norootforbuild
|
|
|
|
|
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
|
2009-05-04 18:18:30 +02:00
|
|
|
Version: 2.0.0
|
2010-03-31 17:30:29 +02:00
|
|
|
Release: 4
|
|
|
|
License: GPLv2+
|
2007-01-09 17:46:54 +01:00
|
|
|
Group: Productivity/File utilities
|
2009-05-04 18:18:30 +02:00
|
|
|
Url: http://krusader.sourceforge.net/
|
|
|
|
Source: %{name}-%{version}.tar.bz2
|
2010-03-31 17:30:29 +02:00
|
|
|
Source1: krusader_browse_iso.desktop
|
2009-05-04 18:18:30 +02:00
|
|
|
Patch: FIXME.diff
|
2009-05-20 01:27:53 +02:00
|
|
|
Patch1: krusader-gcc44.diff
|
2007-01-09 17:46:54 +01:00
|
|
|
BuildRoot: %{_tmppath}/%{name}-%{version}-build
|
2009-05-04 18:18:30 +02:00
|
|
|
BuildRequires: dos2unix fdupes libkde4-devel update-desktop-files
|
|
|
|
Requires: kio_iso = %{version}
|
|
|
|
Recommends: %{name}-doc
|
|
|
|
Summary: A File Manager
|
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
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
Authors:
|
|
|
|
--------
|
|
|
|
Shie Erlich <krusader@users.sourceforge.net>
|
|
|
|
Rafi Yanai <krusader@users.sourceforge.net>
|
|
|
|
|
|
|
|
%package -n kio_iso
|
2010-03-31 17:30:29 +02:00
|
|
|
License: GPLv2+
|
2007-01-09 17:46:54 +01:00
|
|
|
Group: System/GUI/KDE
|
|
|
|
Summary: KIO slave to access ISO images
|
2008-12-02 15:27:12 +01:00
|
|
|
Provides: kde4-kio_iso = 1.80.99
|
|
|
|
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
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
Authors:
|
|
|
|
--------
|
|
|
|
Szombathelyi Gygy <gyurco@users.sourceforge.net>
|
|
|
|
|
2009-05-04 18:18:30 +02:00
|
|
|
%package doc
|
2010-03-31 17:30:29 +02:00
|
|
|
License: GPLv2+
|
2009-05-04 18:18:30 +02:00
|
|
|
Group: Productivity/File utilities
|
|
|
|
Summary: A File Manager
|
|
|
|
|
|
|
|
%description doc
|
|
|
|
An advanced twin panel (commander style) file manager for KDE.
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
Authors:
|
|
|
|
--------
|
|
|
|
Shie Erlich <krusader@users.sourceforge.net>
|
|
|
|
Rafi Yanai <krusader@users.sourceforge.net>
|
|
|
|
|
2007-01-09 17:46:54 +01:00
|
|
|
%prep
|
2009-05-04 18:18:30 +02:00
|
|
|
%setup -q
|
|
|
|
%patch
|
2009-05-20 01:27:53 +02:00
|
|
|
%patch1
|
2009-02-03 22:19:46 +01:00
|
|
|
mv po/sr\@Latn.po po/sr\@latin.po
|
2009-05-04 18:18:30 +02:00
|
|
|
for file in doc/en/*.docbook;
|
|
|
|
do
|
|
|
|
dos2unix $file
|
|
|
|
done
|
2007-01-09 17:46:54 +01:00
|
|
|
|
|
|
|
%build
|
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
|
2007-01-09 17:46:54 +01:00
|
|
|
%makeinstall
|
2008-09-13 14:34:56 +02:00
|
|
|
popd
|
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}
|
2010-03-31 17:30:29 +02:00
|
|
|
mkdir -p %{buildroot}%{_kde_share_dir}/services/ServiceMenus/
|
|
|
|
cp %{SOURCE1} %{buildroot}%{_kde_share_dir}/services/ServiceMenus/
|
2009-05-04 18:18:30 +02:00
|
|
|
%fdupes %{buildroot}
|
2008-09-13 14:34:56 +02:00
|
|
|
|
|
|
|
%clean
|
2009-05-04 18:18:30 +02:00
|
|
|
test "%{buildroot}" != "/" && %__rm -rf %{buildroot}
|
2008-09-13 14:34:56 +02:00
|
|
|
|
|
|
|
%post -p /sbin/ldconfig
|
|
|
|
|
|
|
|
%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)
|
2009-03-26 01:16:20 +01:00
|
|
|
%doc README AUTHORS COPYING ChangeLog INSTALL TODO SVNNEWS
|
2009-05-04 18:18:30 +02:00
|
|
|
%{_bindir}/krusader
|
|
|
|
%exclude %{_datadir}/doc/kde/HTML/en/krusader
|
|
|
|
%{_kde_share_dir}/apps/krusader
|
|
|
|
%{_kde_share_dir}/services/krarc.protocol
|
|
|
|
%{_kde4_modules}/kio_krarc.so
|
|
|
|
%{_datadir}/applications/kde4/krusader*.desktop
|
|
|
|
%{_datadir}/icons/??color/*/apps/krusader*.png
|
2007-01-09 17:46:54 +01:00
|
|
|
|
|
|
|
%files -n kio_iso
|
|
|
|
%defattr(-,root,root)
|
2009-05-04 18:18:30 +02:00
|
|
|
%config %{_datadir}/kde4/config/kio_isorc
|
|
|
|
%{_kde4_modules}/kio_iso.so*
|
|
|
|
%{_kde_share_dir}/services/iso.protocol
|
2010-03-31 17:30:29 +02:00
|
|
|
%{_kde_share_dir}/services/ServiceMenus/krusader_browse_iso.desktop
|
2009-05-04 18:18:30 +02:00
|
|
|
|
|
|
|
%files doc
|
|
|
|
%defattr(-,root,root)
|
|
|
|
%doc %lang(en) %{_datadir}/doc/kde/HTML/en/krusader
|
2008-03-26 16:18:49 +01:00
|
|
|
|
2007-03-11 00:00:32 +01:00
|
|
|
%changelog
|