source: spec/trunk/SPECS/luckybackup.spec@ 1696

Last change on this file since 1696 was 1695, checked in by tellie, 6 years ago

spec: fribidi: Release version 0.19.5-1

File size: 2.8 KB
Line 
1#
2# spec file for package luckybackup
3#
4# Copyright (c) 2019 SUSE LINUX GmbH, Nuernberg, Germany.
5#
6# All modifications and additions to the file contributed by third parties
7# remain the property of their copyright owners, unless otherwise agreed
8# upon. The license for this file, and modifications and additions to the
9# file, is the same license as for the pristine package itself (unless the
10# license for the pristine package is not an Open Source License, in which
11# case the license is the MIT License). An "Open Source License" is a
12# license that conforms to the Open Source Definition (Version 1.9)
13# published by the Open Source Initiative.
14
15# Please submit bugfixes or comments via https://bugs.opensuse.org/
16#
17Name: luckybackup
18Version: 0.5.0
19Release: 1
20Summary: A powerful, fast and reliable backup & sync tool
21License: GPL-3.0-or-later
22Group: Productivity/Archiving/Backup
23URL: http://luckybackup.sourceforge.net/
24Source0: http://downloads.sourceforge.net/%{name}/%{name}-%{version}.tar.gz
25BuildRequires: pkgconfig
26BuildRequires: pkgconfig(Qt5Core)
27BuildRequires: pkgconfig(Qt5Gui)
28BuildRequires: pkgconfig(Qt5Network)
29BuildRequires: pkgconfig(Qt5Widgets)
30#Requires: polkit
31Requires: rsync
32%if 0%{?suse_version}
33BuildRequires: update-desktop-files
34%endif
35
36%description
37luckyBackup is an application that backs-up and/or synchronizes any directories
38with the power of rsync.
39
40It is simple to use, fast (transfers over only changes made and not all data),
41safe (keeps your data safe by checking all declared directories before
42proceeding in any data manipulation), reliable and fully customizable.
43
44%prep
45%setup -q
46# Fix permissions (fixes rpmlint errors "spurious-executable-perm" and "executable-docs")
47chmod 644 manual/index.html
48
49%build
50#export QMAKE_SH=$SHELL
51# do a fast qt build, as runmapsym and wmapsym is not needed here
52#export FAST_BUILD=1
53LDFLAGS="-Zhigh-mem -Zomf -Zargs-wild -Zargs-resp"
54
55#qmake-qt5 QMAKE_CXXFLAGS+="%{optflags}" -config release luckybackup.pro
56qmake-qt5
57make %{?_smp_mflags}
58
59%install
60make INSTALL_ROOT=%{buildroot} install
61
62# Remove unneeded files
63rm -rf %{buildroot}%{_bindir}/translations/*.ts
64rm -rf %{buildroot}%{_datadir}/doc/luckybackup/
65rm -rf %{buildroot}%{_datadir}/menu/
66
67%if 0%{?suse_version}
68%suse_update_desktop_file -r %{name} Qt Utility Archiving
69%suse_update_desktop_file -r %{name}-su Qt Utility Archiving
70%endif
71
72%files
73%doc license/ manual/ readme/*
74#%dir %{_datadir}/polkit-1
75#%dir %{_datadir}/polkit-1/actions
76%{_bindir}/luckybackup.exe
77#%exclude %{_bindir}/luckybackup-pkexec
78#%{_datadir}/applications/luckybackup*.desktop
79%{_bindir}/
80%{_datadir}/pixmaps/luckybackup.*
81#%{_datadir}/polkit-1/actions/net.luckybackup.su.policy
82%{_mandir}/man8/luckybackup*8*
83
84%changelog
Note: See TracBrowser for help on using the repository browser.