| 1 |
# norootforbuild |
| 2 |
|
| 3 |
%define doublecmd doublecmd |
| 4 |
|
| 5 |
Name: doublecmd-qt5 |
| 6 |
Summary: Twin-panel (commander-style) file manager (Qt5) |
| 7 |
Version: 1.1.0 |
| 8 |
Release: 1 |
| 9 |
URL: https://doublecmd.sourceforge.io |
| 10 |
Source0: %{doublecmd}-%{version}.tar.gz |
| 11 |
License: GPL |
| 12 |
Group: Applications/File |
| 13 |
BuildRequires: fpc >= 3.0.0 fpc-src glib2-devel libQt5Pas6-devel >= 2.6 lazarus >= 1.7.0 |
| 14 |
%if 0%{?mandriva_version} |
| 15 |
BuildRequires: libncurses-devel libdbus-1-devel libbzip2-devel |
| 16 |
%endif |
| 17 |
%if 0%{?fedora_version} || 0%{?rhel} |
| 18 |
BuildRequires: dbus-devel bzip2-devel |
| 19 |
%endif |
| 20 |
%if 0%{?suse_version} >= 1110 |
| 21 |
BuildRequires: ncurses-devel dbus-1-devel libbz2-devel |
| 22 |
%endif |
| 23 |
Provides: doublecmd |
| 24 |
Conflicts: doublecmd-gtk doublecmd-qt |
| 25 |
BuildRoot: %{_tmppath}/%{doublecmd}-%{version}-build |
| 26 |
|
| 27 |
%define debug_package %{nil} |
| 28 |
|
| 29 |
%description |
| 30 |
Double Commander is a cross platform open source file manager with two panels side by side. |
| 31 |
It is inspired by Total Commander and features some new ideas. |
| 32 |
|
| 33 |
%prep |
| 34 |
%setup -q -n %{doublecmd}-%{version} |
| 35 |
|
| 36 |
%build |
| 37 |
./build.sh release qt5 |
| 38 |
|
| 39 |
%install |
| 40 |
install/linux/install.sh --install-prefix=%{buildroot} |
| 41 |
|
| 42 |
%clean |
| 43 |
[ %{buildroot} != "/" ] && ( rm -rf %{buildroot} ) |
| 44 |
|
| 45 |
%files |
| 46 |
%defattr(-,root,root) |
| 47 |
%{_libdir}/%{doublecmd} |
| 48 |
%{_bindir}/%{doublecmd} |
| 49 |
%{_datadir}/%{doublecmd} |
| 50 |
%{_datadir}/man/man1/%{doublecmd}.* |
| 51 |
%{_datadir}/pixmaps/%{doublecmd}.* |
| 52 |
%{_datadir}/applications/%{doublecmd}.desktop |
| 53 |
%{_datadir}/icons/hicolor/scalable/apps/%{doublecmd}.svg |
| 54 |
|
| 55 |
%changelog |
| 56 |
* Sun Jan 01 2017 - Alexander Koblov <[email protected]> - 0.8.0 |
| 57 |
- Initial package, version 0.8.0 |