Name: qt-fsarchiver Version: 0.8.5 Release: 8%{?dist} Summary: Qt GUI for fsarchiver Summary(de): Qt-Oberfläche für fsarchiver URL: http://qt-fsarchiver.sourceforge.net/ License: GPLv2+ and GPLv3+ Source0: http://downloads.sourceforge.net/%{name}/source/%{name}-%{version}-8.tar.gz Source1: http://downloads.sourceforge.net/%{name}/source/%{name}-terminal-%{version}-8.tar.gz BuildRequires: desktop-file-utils BuildRequires: gcc-c++ BuildRequires: qt5-qtbase BuildRequires: qt5-qtbase-devel BuildRequires: qt5-linguist BuildRequires: jfsutils BuildRequires: e2fsprogs-devel => 1.41.4 BuildRequires: libuuid-devel BuildRequires: libblkid-devel BuildRequires: e2fsprogs BuildRequires: libattr-devel BuildRequires: libgcrypt-devel BuildRequires: zlib-devel BuildRequires: bzip2-devel BuildRequires: lzo-devel BuildRequires: lz4-devel BuildRequires: xz-devel BuildRequires: libzstd-devel Requires: gdisk Requires: sshfs Requires: sshpass Requires: nmap Requires: samba Requires: samba-client Requires: nfs-utils Requires: xfsprogs BuildRoot: %{_tmppath}/%{name}-%{version}-%{release} %description qt-fsarchiver is a GUI for the program fsarchiver to save/restore partitions and folders. %description -l de qt-fsarchiver ist eine grafische Oberfläche für das Programm fsarchiver zum Sichern und Wiederherstellen von Partitionen und Ordnern. %prep %setup -q -c -a1 rm -f %{name}/src/sbin/qt-fsarc-terminal %build cd %{name}-terminal %{qmake_qt5} %{name}-terminal.pro make cd - cd %{name} %{qmake_qt5} %{name}.pro make cd - %install cd %{name} %make_install INSTALL_ROOT=%{buildroot} install -m 0644 -p translations/*.ts %{buildroot}%{_datadir}/qt5/translations/ cd - #%docdir /usr/share/doc/qt-fsarchiver/doc #clean doc directory from backup files rm -rf %{buildroot}/usr/share/doc/qt-fsarchiver-terminal/doc/*~ mkdir -p %{buildroot}%{_sbindir} ls -la install -p %{name}/src/sbin/findsmb-qt %{buildroot}/%{_sbindir} install -p %{name}/src/sbin/qt-fsarchiver.sh %{buildroot}/%{_sbindir} install -p %{name}-terminal/bin/%{name}-terminal %{buildroot}/%{_sbindir} %{echo: %{buildroot}%{_datadir}} %{echo: %{buildroot}%{_sbindir}} echo "installierte Oberfläche " echo $XDG_CURRENT_DESKTOP %files %doc %{name}/doc/Aenderungen %{name}/doc/Change %{name}/doc/Liesmich %{name}/doc/Readme %license %{name}/doc/GNU-General-Public-License-2.0.txt %{name}/doc/GNU-General-Public-License-3.0.txt %{_sbindir}/%{name} %{_datadir}/applications/qt-fsarchiver.desktop %{_datadir}/app-install/icons/harddrive2.png %{_datadir}/qt5/translations/%{name}*.qm %exclude %{_docdir}/%name #{_docdir}/* %{_datadir}/qt5/translations/%{name}*.ts %{_sbindir}/findsmb-qt %{_sbindir}/qt-fsarchiver.sh %{_sbindir}/qt-fsarchiver-terminal %changelog # look in /usr/doc/qt-fsarchiver-terminal/doc readme.txt or Aenderungen.txt