Mageia Bugzilla – Attachment 13206 Details for
Bug 28791
qt-fsarchiver on Mageia 8
Home
|
New
|
Browse
|
Search
|
[?]
|
Reports
|
Requests
|
Help
|
Log In
[x]
|
New Account
|
Forgot Password
qt-fsarchiver.spec
qt-fsarchiver.spec (text/x-rpm-spec), 3.50 KB, created by
sturmvogel
on 2022-03-28 01:12:48 CEST
(
hide
)
Description:
qt-fsarchiver.spec
Filename:
MIME Type:
Creator:
sturmvogel
Created:
2022-03-28 01:12:48 CEST
Size:
3.50 KB
patch
obsolete
>%define upver 0.8.6 >%define subver 7 > >Name: qt-fsarchiver >Version: %{upver}.%{subver} >Release: %mkrel 1 >Summary: Qt GUI for fsarchiver >Group: Archiving/Backup >License: GPLv2+ and GPLv3+ >URL: https://qt-fsarchiver.sourceforge.io/ >Source0: https://sourceforge.net/projects/qt-fsarchiver/files/source/qt-fsarchiver/%{name}-%{upver}-%{subver}.tar.gz >#Source1: org.fsarchiver.qt5.policy >#Source2: qt-fsarchiver.wrapper > >BuildRequires: cmake >BuildRequires: qttools5 >BuildRequires: pkgconfig(Qt5Core) >BuildRequires: pkgconfig(Qt5Gui) >BuildRequires: pkgconfig(Qt5Widgets) >BuildRequires: pkgconfig(ext2fs) >BuildRequires: pkgconfig(uuid) >BuildRequires: pkgconfig(blkid) >BuildRequires: e2fsprogs >BuildRequires: libgcrypt-devel >BuildRequires: pkgconfig(zlib) >BuildRequires: pkgconfig(bzip2) >BuildRequires: pkgconfig(libzstd) >BuildRequires: liblzo-devel >BuildRequires: pkgconfig(liblzma) > >%rename qt4-fsarchiver >Obsoletes: qt5-fsarchiver < 0.8.5.1-4 >Provides: qt5-fsarchiver = %{version}-%{release} > >Requires: polkit-agent >Requires: fsarchiver > >Recommends: gdisk >Recommends: sshfs-fuse >Recommends: sshpass >Recommends: nmap >Recommends: samba >Recommends: samba-client >Recommends: nfs-utils >Recommends: xfsprogs > >%description >FSArchiver is a system tool that allows you to save the contents of a >file-system to a compressed archive file. The file-system can be restored >on a partition which has a different size and it can be restored on a >different file-system. Unlike tar/dar, FSArchiver also creates the >file-system when it extracts the data to partitions. Everything is >checksummed in the archive in order to protect the data. If the archive >is corrupt, you just loose the current file, not the whole archive. > >This is a GUI frontend for fsarchiver, written in Qt5. > > >%prep >%autosetup -n %{name} -p1 > >%build >%qmake_qt5 > >%make_build > >%install >%make_install INSTALL_ROOT=%{buildroot} > >#clean doc directory from backup files >#mv %{buildroot}%{_docdir}/qt-fsarchiver/doc/doc/* %{buildroot}%{_docdir}/qt-fsarchiver/doc/ >#rm -rf %{buildroot}%{_docdir}/qt-fsarchiver/doc/doc/ > >mkdir -p %{buildroot}%{_iconsdir} >mv %{buildroot}%{_datadir}/pixmaps/qt-fsarchiver.png %{buildroot}%{_iconsdir}/qt-fsarchiver.png > >#Install our desktop file. >cat > %{buildroot}%{_datadir}/applications/%{name}.desktop << EOF >[Desktop Entry] >Name=Qt-Fsarchiver >Name[tr]=Qt-Fsarchiver >Comment=File-system backup/deployment tool >Comment[fr]=Outil de sauvegarde/déploiement de système de fichiers >Comment[tr]=Dosya sistemi yedekleme/yükleme aracı >Exec=%{_sbindir}/%{name} >Icon=%{_iconsdir}/qt-fsarchiver.png >Terminal=false >Type=Application >StartupNotify=true >Categories=System;Qt;Archiving;Filesystem; >EOF > >#PolKit execution scheme >#install -m 755 -d %{buildroot}%{_datadir}/polkit-1/actions/ >#install -m 644 %{SOURCE1} %{buildroot}%{_datadir}/polkit-1/actions/ > ># Install wrapper file to avoid double forking with polkit: >#mkdir -p %{buildroot}%{_bindir} >#install -m 755 %{SOURCE2} %{buildroot}%{_bindir}/%{name} > ># remove pre-compiled binaries >rm -rf %{buildroot}%{_sbindir}/ccguess >rm -rf %{buildroot}%{_sbindir}/de > >%files >%{_sbindir}/%{name} >%{_sbindir}/%{name}.sh >%{_datadir}/applications/%{name}.desktop >%{_iconsdir}/qt-fsarchiver.png >%{_docdir}/%{name}/ >%{_datadir}/qt5/translations/%{name}*.qm
%define upver 0.8.6 %define subver 7 Name: qt-fsarchiver Version: %{upver}.%{subver} Release: %mkrel 1 Summary: Qt GUI for fsarchiver Group: Archiving/Backup License: GPLv2+ and GPLv3+ URL: https://qt-fsarchiver.sourceforge.io/ Source0: https://sourceforge.net/projects/qt-fsarchiver/files/source/qt-fsarchiver/%{name}-%{upver}-%{subver}.tar.gz #Source1: org.fsarchiver.qt5.policy #Source2: qt-fsarchiver.wrapper BuildRequires: cmake BuildRequires: qttools5 BuildRequires: pkgconfig(Qt5Core) BuildRequires: pkgconfig(Qt5Gui) BuildRequires: pkgconfig(Qt5Widgets) BuildRequires: pkgconfig(ext2fs) BuildRequires: pkgconfig(uuid) BuildRequires: pkgconfig(blkid) BuildRequires: e2fsprogs BuildRequires: libgcrypt-devel BuildRequires: pkgconfig(zlib) BuildRequires: pkgconfig(bzip2) BuildRequires: pkgconfig(libzstd) BuildRequires: liblzo-devel BuildRequires: pkgconfig(liblzma) %rename qt4-fsarchiver Obsoletes: qt5-fsarchiver < 0.8.5.1-4 Provides: qt5-fsarchiver = %{version}-%{release} Requires: polkit-agent Requires: fsarchiver Recommends: gdisk Recommends: sshfs-fuse Recommends: sshpass Recommends: nmap Recommends: samba Recommends: samba-client Recommends: nfs-utils Recommends: xfsprogs %description FSArchiver is a system tool that allows you to save the contents of a file-system to a compressed archive file. The file-system can be restored on a partition which has a different size and it can be restored on a different file-system. Unlike tar/dar, FSArchiver also creates the file-system when it extracts the data to partitions. Everything is checksummed in the archive in order to protect the data. If the archive is corrupt, you just loose the current file, not the whole archive. This is a GUI frontend for fsarchiver, written in Qt5. %prep %autosetup -n %{name} -p1 %build %qmake_qt5 %make_build %install %make_install INSTALL_ROOT=%{buildroot} #clean doc directory from backup files #mv %{buildroot}%{_docdir}/qt-fsarchiver/doc/doc/* %{buildroot}%{_docdir}/qt-fsarchiver/doc/ #rm -rf %{buildroot}%{_docdir}/qt-fsarchiver/doc/doc/ mkdir -p %{buildroot}%{_iconsdir} mv %{buildroot}%{_datadir}/pixmaps/qt-fsarchiver.png %{buildroot}%{_iconsdir}/qt-fsarchiver.png #Install our desktop file. cat > %{buildroot}%{_datadir}/applications/%{name}.desktop << EOF [Desktop Entry] Name=Qt-Fsarchiver Name[tr]=Qt-Fsarchiver Comment=File-system backup/deployment tool Comment[fr]=Outil de sauvegarde/déploiement de système de fichiers Comment[tr]=Dosya sistemi yedekleme/yükleme aracı Exec=%{_sbindir}/%{name} Icon=%{_iconsdir}/qt-fsarchiver.png Terminal=false Type=Application StartupNotify=true Categories=System;Qt;Archiving;Filesystem; EOF #PolKit execution scheme #install -m 755 -d %{buildroot}%{_datadir}/polkit-1/actions/ #install -m 644 %{SOURCE1} %{buildroot}%{_datadir}/polkit-1/actions/ # Install wrapper file to avoid double forking with polkit: #mkdir -p %{buildroot}%{_bindir} #install -m 755 %{SOURCE2} %{buildroot}%{_bindir}/%{name} # remove pre-compiled binaries rm -rf %{buildroot}%{_sbindir}/ccguess rm -rf %{buildroot}%{_sbindir}/de %files %{_sbindir}/%{name} %{_sbindir}/%{name}.sh %{_datadir}/applications/%{name}.desktop %{_iconsdir}/qt-fsarchiver.png %{_docdir}/%{name}/ %{_datadir}/qt5/translations/%{name}*.qm
View Attachment As Raw
Actions:
View
Attachments on
bug 28791
:
13204
|
13205
|
13206
|
13207