forked from pool/4pane
- Update to version 8.0 * Compilation fixes when built against wxWidgets 3.2 * When trying to extract an archive, recognise the 'xpi' extension: it's actually a zip * Provide a better context menu for the Terminal Emulator and CommandLine + There are now Copy and Paste entries where appropriate. * Fix Terminal Emulator display glitches * Fix moving/pasting symlinks when Retain Relative Symlinks is true - Drop 0001-Compilation-fixes-for-wxWidgets-3.1.6.patch, 0001-Compilation-fix-for-wxWidgets-3.1.5.patch, 0001-Fix-a-wx-assert-complaining-that-a-panel-was-being-a.patch, 0001-Fix-a-wxAssert-when-showing-the-Command-line-termina.patch and 0001-Prevent-a-wx-build-warning-about-wxPATH_NORM_ALL-bei.patch (merged upstream) OBS-URL: https://build.opensuse.org/request/show/1036843 OBS-URL: https://build.opensuse.org/package/show/X11:Utilities/4pane?expand=0&rev=22
80 lines
2.4 KiB
RPMSpec
80 lines
2.4 KiB
RPMSpec
#
|
|
# spec file for package 4pane
|
|
#
|
|
# Copyright (c) 2022 SUSE LLC
|
|
# Copyright (c) 2016 Packman Team <packman@links2linux.de>
|
|
#
|
|
# 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 https://bugs.opensuse.org/
|
|
#
|
|
|
|
|
|
Name: 4pane
|
|
Version: 8.0
|
|
Release: 0
|
|
Summary: A multi-pane detailed-list file manager
|
|
License: GPL-3.0-only
|
|
URL: http://www.4pane.co.uk/
|
|
Source0: https://sourceforge.net/projects/fourpane/files/%{version}/%{name}-%{version}.tar.gz
|
|
BuildRequires: ImageMagick
|
|
BuildRequires: fdupes
|
|
BuildRequires: gcc-c++
|
|
BuildRequires: wxWidgets-devel >= 3.0
|
|
BuildRequires: pkgconfig(liblzma)
|
|
|
|
%description
|
|
4Pane is a multi-pane detailed-list file manager.
|
|
It favors speed over visual effects.
|
|
In addition to standard file manager features, it offers multiple undo and redo
|
|
of most operations (including deletions), archive management including "virtual
|
|
browsing" inside archives, multiple renaming/duplication of files, a terminal
|
|
emulator and user-defined tools.
|
|
|
|
%lang_package
|
|
|
|
%prep
|
|
%autosetup -p1
|
|
sed -i -e "s|\$(datadir)/doc|%{_docdir}|g" Makefile.in
|
|
sed -i -e "s|/usr/doc/4Pane/|%{_docdir}/4Pane/|g" Configure.cpp
|
|
|
|
%build
|
|
%configure
|
|
%make_build
|
|
|
|
%install
|
|
%make_install
|
|
%find_lang 4Pane
|
|
mkdir -vp %{buildroot}/%{_datadir}/applications
|
|
cd %{buildroot}/%{_datadir}/applications
|
|
ln -s ../4Pane/rc/4Pane.desktop 4Pane.desktop
|
|
pushd %{buildroot}%{_datadir}/icons/hicolor/48x48/apps
|
|
convert -strip -resize 48x48! 4Pane.png 4Pane.png
|
|
popd
|
|
%fdupes -s %{buildroot}/%{_datadir}
|
|
|
|
%files
|
|
%doc LICENCE
|
|
%{_bindir}/%{name}
|
|
%{_bindir}/4Pane
|
|
%dir %{_datadir}/4Pane
|
|
%dir %{_datadir}/4Pane/bitmaps
|
|
%{_datadir}/4Pane/bitmaps/*
|
|
%{_datadir}/4Pane/rc
|
|
%{_datadir}/applications/4Pane.desktop
|
|
%{_datadir}/icons/hicolor/*
|
|
%{_datadir}/metainfo/4Pane.appdata.xml
|
|
%dir %{_docdir}/4Pane
|
|
%{_docdir}/4Pane/*
|
|
|
|
%files lang -f 4Pane.lang
|
|
|
|
%changelog
|