doublecmd-qt5.spec 1.5 KB

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