krusader/krusader.spec

179 lines
5.8 KiB
RPMSpec

%define pkgver %(echo %version | tr _ -)
Name: krusader
Version: 2.8.1
Release: 1mamba
Summary: An advanced twin panel (commander style) file manager for KDE
Group: Graphical Desktop/Applications/Utilities
Vendor: openmamba
Distribution: openmamba
Packager: Silvan Calarco <silvan.calarco@mambasoft.it>
URL: https://krusader.org/
Source: http://download.kde.org/stable/krusader/%{version}/krusader-%{version}.tar.xz
#Source: http://downloads.sourceforge.net/project/krusader/krusader/%{pkgver}/krusader-%{pkgver}.tar.bz2
Patch0: %{name}-2.0.0-gcc44.patch
Patch1: %{name}-2.0.0-gcc45.patch
License: GPL
## AUTOBUILDREQ-BEGIN
BuildRequires: glibc-devel
BuildRequires: libX11-devel
BuildRequires: libacl-devel
BuildRequires: libattr-devel
BuildRequires: libgcc
BuildRequires: libkarchive-devel
BuildRequires: libkauth-devel
BuildRequires: libkbookmarks-devel
BuildRequires: libkcodecs-devel
BuildRequires: libkcompletion-devel
BuildRequires: libkconfig-devel
BuildRequires: libkconfigwidgets-devel
BuildRequires: libkcoreaddons-devel
BuildRequires: libkguiaddons-devel
BuildRequires: libki18n-devel
BuildRequires: libkiconthemes-devel
BuildRequires: libkio-devel
BuildRequires: libkitemviews-devel
BuildRequires: libkjobwidgets-devel
BuildRequires: libknotifications-devel
BuildRequires: libkparts-devel
BuildRequires: libkservice-devel
BuildRequires: libktextwidgets-devel
BuildRequires: libkwallet-devel
BuildRequires: libkwidgetsaddons-devel
BuildRequires: libkwindowsystem-devel
BuildRequires: libkxmlgui-devel
BuildRequires: libsolid-devel
BuildRequires: libsonnet-devel
BuildRequires: libstdc++6-devel
BuildRequires: libz-devel
BuildRequires: qt5-qtbase-devel
## AUTOBUILDREQ-END
BuildRequires: gettext-devel
BuildRequires: libxml2-utils
Requires: kget
Requires: kompare
Requires: xxdiff
Requires: krename
Requires: md5deep
Requires: lzma
Requires: /usr/bin/md5sum
Requires: /usr/bin/cfv
Requires: /bin/tar
Requires: /bin/gzip
Requires: /usr/bin/bzip2
Requires: /usr/bin/zip
Requires: /usr/bin/unzip
Requires: /usr/bin/arj
Requires: /usr/bin/unrar
Requires: /bin/cpio
Requires: /usr/bin/rpm
Requires: /usr/bin/7z
Requires: /usr/bin/locate
%description
Krusader is an advanced twin panel (commander style) file manager for KDE and other desktops in the *nix world, similar to Midnight or Total Commander.
It provides all the file management features you could possibly want:
* extensive archive handling
* mounted filesystem support
* FTP
* advanced search module
* viewer/editor
* directory synchronisation
* file content comparisons
* powerful batch renaming
and much much more.
It supports the following archive formats: tar, zip, bzip2, gzip, rar, ace, arj and rpm and can handle other KIOSlaves such as smb or fish.
%debug_package
%prep
%setup -q -n %{name}-%{pkgver}
#%patch0 -p1
#%patch1 -p1
%build
%cmake_kde5 -d build
%make
%install
[ "%{buildroot}" != / ] && rm -rf %{buildroot}
%makeinstall -C build
%find_lang %{name}5_qt --with-qt --with-man --all-name || touch %{name}5_qt.lang
%clean
[ "%{buildroot}" != / ] && rm -rf %{buildroot}
%files -f %{name}5_qt.lang
%defattr(-,root,root)
%{_kde5_bindir}/krusader
%{_libdir}/qt5/plugins/kf5/kio/kio_*.so
%{_datadir}/metainfo/org.kde.krusader.appdata.xml
%{_datadir}/applications/org.kde.krusader*.desktop
%dir %{_datadir}/kxmlgui5/krusader
%{_datadir}/kxmlgui5/krusader/*
%{_kde5_datadir}/krusader
%{_kde5_configdir}/kio_isorc
%doc %lang(en) %{_kde5_htmldir}/*/krusader
%{_kde5_icondir}/hicolor/*/*/*.png
%{_mandir}/man1/krusader.1*
%doc AUTHORS LICENSES
%changelog
* Tue Mar 12 2024 Automatic Build System <autodist@openmamba.org> 2.8.1-1mamba
- automatic version update by autodist
* Wed Nov 23 2022 Automatic Build System <autodist@mambasoft.it> 2.8.0-1mamba
- automatic version update by autodist
* Thu Aug 29 2019 Automatic Build System <autodist@mambasoft.it> 2.7.2-1mamba
- automatic version update by autodist
* Sun Aug 12 2018 Automatic Build System <autodist@mambasoft.it> 2.7.1-1mamba
- automatic version update by autodist
* Tue Jun 05 2018 Automatic Build System <autodist@mambasoft.it> 2.7.0-1mamba
- automatic version update by autodist
* Tue Aug 08 2017 Automatic Build System <autodist@mambasoft.it> 2.6.0-1mamba
- automatic version update by autodist
* Sat Dec 17 2016 Silvan Calarco <silvan.calarco@mambasoft.it> 2.5.0-1mamba
- update to 2.5.0
* Fri Sep 06 2013 Automatic Build System <autodist@mambasoft.it> 2.4.0_beta3-1mamba
- update to 2.4.0_beta3
* Fri Dec 31 2010 Silvan Calarco <silvan.calarco@mambasoft.it> 2.0.0-4mamba
- require /usr/bin/rpm instead of /bin/rpm
- added gcc 4.5 build patch
* Fri May 29 2009 Automatic Build System <autodist@mambasoft.it> 2.0.0-3mamba
- automatic rebuild by autodist
* Mon Apr 20 2009 Davide Madrisan <davide.madrisan@gmail.com> 2.0.0-2mamba
- remove unused macro %%kdedir
- remove build requirements for kde3 packages
- update the list of build requirements and static requirements
* Wed Apr 15 2009 Silvan Calarco <silvan.calarco@mambasoft.it> 2.0.0-1mamba
- automatic update to 2.0.0 by autodist
* Mon May 05 2008 Aleph0 <aleph0@openmamba.org> 1.90-1mamba
- update to 1.90
* Sun Jul 22 2007 Silvan Calarco <silvan.calarco@mambasoft.it> 1.80.0-1mamba
- update to 1.80.0
* Thu Sep 14 2006 Davide Madrisan <davide.madrisan@qilinux.it> 1.70.1-1qilnx
- update to version 1.70.1 by autospec
- also fixes a security issue (bugtraq#203)
- added a requirement for md5deep
* Tue Feb 14 2006 Davide Madrisan <davide.madrisan@qilinux.it> 1.70.0-1qilnx
- update to version 1.70.0 by autospec
- added some requirements for the exernal utilities used by krusader
* Sun Nov 28 2004 Silvan Calarco <silvan.calarco@mambasoft.it> 1.50-1qilnx
- package created by autospec