/[packages]/cauldron/qt-fsarchiver/current/SPECS/qt-fsarchiver.spec
ViewVC logotype

Contents of /cauldron/qt-fsarchiver/current/SPECS/qt-fsarchiver.spec

Parent Directory Parent Directory | Revision Log Revision Log


Revision 1850442 - (show annotations) (download)
Fri Apr 15 19:35:02 2022 UTC (2 years ago) by papoteur
File size: 3160 byte(s)
- Remove polkit usage
- add warning that sudo is needed
1 %define upver 0.8.6
2 %define subver 7
3
4 Name: qt-fsarchiver
5 Version: %{upver}.%{subver}
6 Release: %mkrel 3
7 Summary: Qt GUI for fsarchiver
8 Group: Archiving/Backup
9 License: GPLv2+ and GPLv3+
10 URL: https://qt-fsarchiver.sourceforge.io/
11 Source0: https://sourceforge.net/projects/qt-fsarchiver/files/source/qt-fsarchiver/%{name}-%{upver}-%{subver}.tar.gz
12 Source1: org.fsarchiver.qt5.policy
13 Source2: qt-fsarchiver.wrapper
14
15 BuildRequires: cmake
16 BuildRequires: qttools5
17 BuildRequires: pkgconfig(Qt5Core)
18 BuildRequires: pkgconfig(Qt5Gui)
19 BuildRequires: pkgconfig(Qt5Widgets)
20 BuildRequires: pkgconfig(ext2fs)
21 BuildRequires: pkgconfig(uuid)
22 BuildRequires: pkgconfig(blkid)
23 BuildRequires: e2fsprogs
24 BuildRequires: pkgconfig(libgcrypt)
25 BuildRequires: pkgconfig(zlib)
26 BuildRequires: pkgconfig(bzip2)
27 BuildRequires: pkgconfig(libzstd)
28 BuildRequires: pkgconfig(lzo2)
29 BuildRequires: pkgconfig(liblzma)
30
31 Requires: qt-fsarchiver-terminal
32
33 %rename qt4-fsarchiver
34 Obsoletes: qt5-fsarchiver < 0.8.5.1-4
35 Provides: qt5-fsarchiver = %{version}-%{release}
36
37 Requires: polkit-agent
38 Requires: fsarchiver
39 Requires: ccrypt
40
41 Recommends: gdisk
42 Recommends: sshfs-fuse
43 Recommends: sshpass
44 Recommends: nmap
45 Recommends: samba
46 Recommends: samba-client
47 Recommends: nfs-utils
48 Recommends: xfsprogs
49
50 %description
51 FSArchiver is a system tool that allows you to save the contents of a
52 file-system to a compressed archive file. The file-system can be restored
53 on a partition which has a different size and it can be restored on a
54 different file-system. Unlike tar/dar, FSArchiver also creates the
55 file-system when it extracts the data to partitions. Everything is
56 checksummed in the archive in order to protect the data. If the archive
57 is corrupt, you just loose the current file, not the whole archive.
58
59 This is a GUI frontend for fsarchiver, written in Qt5.
60
61
62 %prep
63 %autosetup -n %{name} -p1
64
65 %build
66 %qmake_qt5
67
68 %make_build
69
70 %install
71 %make_install INSTALL_ROOT=%{buildroot}
72
73 #Install our desktop file.
74 cat > %{buildroot}%{_datadir}/applications/%{name}.desktop << EOF
75 [Desktop Entry]
76 Name=Qt-Fsarchiver
77 Name[tr]=Qt-Fsarchiver
78 Comment=File-system backup/deployment tool
79 Comment[fr]=Outil de sauvegarde/déploiement de système de fichiers
80 Comment[tr]=Dosya sistemi yedekleme/yükleme aracı
81 Exec=%{_bindir}/%{name}
82 Icon=%{_iconsdir}/harddrive.png
83 Terminal=false
84 Type=Application
85 StartupNotify=true
86 Categories=System;Qt;Archiving;Filesystem;
87 EOF
88
89
90 # remove pre-compiled binaries
91 rm -rf %{buildroot}%{_sbindir}/ccguess
92 rm -rf %{buildroot}%{_sbindir}/de
93
94 cat > README.urpmi <<EOF
95 Important: This application needs that you have sudo configured for your user.
96 EOF
97 %files
98 %doc README.urpmi
99 %{_sbindir}/%{name}
100 %{_sbindir}/%{name}.sh
101 %{_datadir}/applications/%{name}.desktop
102 %{_docdir}/%{name}/
103 %{_datadir}/qt5/translations/%{name}*.qm
104 %{_datadir}/pixmaps/qt-fsarchiver.png

  ViewVC Help
Powered by ViewVC 1.1.30