Accepting request 780591 from home:malcolmlewis:TESTING
New package submission. Once accepted need to create security bug report to get polkit-untracked-privilege added to defaults. OBS-URL: https://build.opensuse.org/request/show/780591 OBS-URL: https://build.opensuse.org/package/show/Archiving:Backup/timeshift?expand=0&rev=1
This commit is contained in:
commit
a2052143f5
23
.gitattributes
vendored
Normal file
23
.gitattributes
vendored
Normal file
@ -0,0 +1,23 @@
|
||||
## Default LFS
|
||||
*.7z filter=lfs diff=lfs merge=lfs -text
|
||||
*.bsp filter=lfs diff=lfs merge=lfs -text
|
||||
*.bz2 filter=lfs diff=lfs merge=lfs -text
|
||||
*.gem filter=lfs diff=lfs merge=lfs -text
|
||||
*.gz filter=lfs diff=lfs merge=lfs -text
|
||||
*.jar filter=lfs diff=lfs merge=lfs -text
|
||||
*.lz filter=lfs diff=lfs merge=lfs -text
|
||||
*.lzma filter=lfs diff=lfs merge=lfs -text
|
||||
*.obscpio filter=lfs diff=lfs merge=lfs -text
|
||||
*.oxt filter=lfs diff=lfs merge=lfs -text
|
||||
*.pdf filter=lfs diff=lfs merge=lfs -text
|
||||
*.png filter=lfs diff=lfs merge=lfs -text
|
||||
*.rpm filter=lfs diff=lfs merge=lfs -text
|
||||
*.tbz filter=lfs diff=lfs merge=lfs -text
|
||||
*.tbz2 filter=lfs diff=lfs merge=lfs -text
|
||||
*.tgz filter=lfs diff=lfs merge=lfs -text
|
||||
*.ttf filter=lfs diff=lfs merge=lfs -text
|
||||
*.txz filter=lfs diff=lfs merge=lfs -text
|
||||
*.whl filter=lfs diff=lfs merge=lfs -text
|
||||
*.xz filter=lfs diff=lfs merge=lfs -text
|
||||
*.zip filter=lfs diff=lfs merge=lfs -text
|
||||
*.zst filter=lfs diff=lfs merge=lfs -text
|
1
.gitignore
vendored
Normal file
1
.gitignore
vendored
Normal file
@ -0,0 +1 @@
|
||||
.osc
|
18
_service
Normal file
18
_service
Normal file
@ -0,0 +1,18 @@
|
||||
<services>
|
||||
<service mode="disabled" name="obs_scm">
|
||||
<param name="url">https://github.com/teejee2008/timeshift.git</param>
|
||||
<param name="scm">git</param>
|
||||
<param name="submodules">enable</param>
|
||||
<param name="revision">master</param>
|
||||
<param name="changesgenerate">enable</param>
|
||||
<param name="changesauthor">malcolmlewis@opensuse.org</param>
|
||||
<param name="filename">timeshift</param>
|
||||
<param name="versionformat">19.08.1+git%cd.%h</param>
|
||||
</service>
|
||||
<service mode="buildtime" name="tar" />
|
||||
<service mode="buildtime" name="recompress">
|
||||
<param name="file">*.tar</param>
|
||||
<param name="compression">xz</param>
|
||||
</service>
|
||||
<service mode="disabled" name="set_version" />
|
||||
</services>
|
4
_servicedata
Normal file
4
_servicedata
Normal file
@ -0,0 +1,4 @@
|
||||
<servicedata>
|
||||
<service name="tar_scm">
|
||||
<param name="url">https://github.com/teejee2008/timeshift.git</param>
|
||||
<param name="changesrevision">4447b0a7d27e87c927e756f85411d378b2d102f3</param></service></servicedata>
|
3
timeshift-19.08.1+git20200229.4447b0a.obscpio
Normal file
3
timeshift-19.08.1+git20200229.4447b0a.obscpio
Normal file
@ -0,0 +1,3 @@
|
||||
version https://git-lfs.github.com/spec/v1
|
||||
oid sha256:fd9ffb05975c83054413dd2f7a16916724281cd7ff6bad7251978911f96709fe
|
||||
size 4806156
|
1
timeshift-rpmlintrc
Normal file
1
timeshift-rpmlintrc
Normal file
@ -0,0 +1 @@
|
||||
setBadness('polkit-untracked-privilege', 0)
|
118
timeshift.changes
Normal file
118
timeshift.changes
Normal file
@ -0,0 +1,118 @@
|
||||
-------------------------------------------------------------------
|
||||
Sat Feb 29 15:33:01 UTC 2020 - malcolmlewis@opensuse.org
|
||||
|
||||
- Update to version 19.08.1+git20200229.4447b0a:
|
||||
* Update support message.
|
||||
* Fix bind-mount issues (gh#teejee2008/timeshift#528,
|
||||
gh#teejee2008/timeshift#535, gh#teejee2008/timeshift#536 and
|
||||
gh#teejee2008/timeshift#555).
|
||||
* Mount devices to /run/timeshift instead of /mnt.
|
||||
|
||||
-------------------------------------------------------------------
|
||||
Sun Feb 23 15:35:06 UTC 2020 - malcolmlewis@opensuse.org
|
||||
|
||||
- Update to version 19.08.1+git20200209.8e51d05:
|
||||
* Add dependency: btrfs-tools | btrfs-progs.
|
||||
* Minor changes and yypo fixed.
|
||||
* Improve clarity of column headers.
|
||||
* Translation updates.
|
||||
- Drop timeshift-fix-abstract-class.patch as this has been
|
||||
upstreamed.
|
||||
- No longer recommend -lang: supplements are in use.
|
||||
|
||||
-------------------------------------------------------------------
|
||||
Fri Oct 25 00:19:32 UTC 2019 - malcolmlewis@opensuse.org
|
||||
|
||||
- Add timeshift-fix-abstract-class.patch: Fix build error because
|
||||
creation method of abstract class cannot be public.
|
||||
|
||||
-------------------------------------------------------------------
|
||||
Sun Aug 25 02:34:53 UTC 2019 - malcolmlewis@opensuse.org
|
||||
|
||||
- Update to version 19.08.1:
|
||||
+ Fix build errors with vala 0.42.5; Remove --threads from
|
||||
makefile, (gh#teejee2008/timeshift#375).
|
||||
+ Add support for custom date format; Add new page for Misc
|
||||
settings, (gh#teejee2008/timeshift#443).
|
||||
+ Add OK button to Settings window.
|
||||
+ Improve the layout of Prev/Next/Finish navigation buttons.
|
||||
+ Fix incorrect date format for path string.
|
||||
+ Use the --sparse option with rsync.
|
||||
+ Exclude package manager cache for rsync snapshots,
|
||||
(gh#teejee2008/timeshift#437).
|
||||
+ Add man page, (gh#teejee2008/timeshift#436).
|
||||
+ Fix an issue with check for admin access,
|
||||
(gh#teejee2008/timeshift#386).
|
||||
+ Translation updates.
|
||||
|
||||
-------------------------------------------------------------------
|
||||
Thu Jul 4 01:24:40 UTC 2019 - malcolmlewis@opensuse.org
|
||||
|
||||
- Remove fix for The type name `AppExcludeEntry' could not be
|
||||
found.
|
||||
|
||||
-------------------------------------------------------------------
|
||||
Mon Feb 4 23:14:14 UTC 2019 - malcolmlewis@opensuse.org
|
||||
|
||||
- Update to version 19.01:
|
||||
+ Exclude /snap by default
|
||||
+ Don't delete snapshots older than X interval if count < max,
|
||||
(gh#teejee2008/timeshift#362).
|
||||
+ Snapshots with comments will not be auto-removed,
|
||||
(gh#teejee2008/timeshift#211).
|
||||
+ Translation Updates.
|
||||
- Changes from version 18.9.1:
|
||||
+ Updated donation window.
|
||||
+ Display donation button in toolbar.
|
||||
- Changes from version 18.8:
|
||||
+ Fixed a typo, (gh#teejee2008/timeshift#196).
|
||||
+ Don't exclude /var/spool (gh#teejee2008/timeshift#191).
|
||||
+ Add makepot file.
|
||||
+ Launcher: Explicitly pass DISPLAY and XAUTHORITY to pkexec.
|
||||
+ Use -O3 optimization when compiling with gcc.
|
||||
+ Increased the width of Setup Wizard window,
|
||||
(gh#teejee2008/timeshift#278).
|
||||
+ Fixed: Unencrypted partionless disk could not be used as
|
||||
backup device.
|
||||
+ Added support for using F2FS and ZFS filesystems for RSYNC
|
||||
backups.
|
||||
+ Added support for raid5 and dmraid.
|
||||
+ Translation updates.
|
||||
|
||||
-------------------------------------------------------------------
|
||||
Thu Jul 19 00:49:47 UTC 2018 - malcolmlewis@opensuse.org
|
||||
|
||||
- Update to version 18.6.1 at commit eb2115a (2018-06-24):
|
||||
+ Rsync: Read fstab to exclude devices mounted on non-standard
|
||||
locations.
|
||||
+ UI: Hide snapshot type information behind an expander.
|
||||
+ UI: Added frame around messages; Use smaller bullet
|
||||
characters.
|
||||
+ Wizard: Add "Users" page to Setup Wizard for selecting home
|
||||
directory.
|
||||
+ Fixed build issue with newer version of libvte291.
|
||||
+ Fixed: Filters: 'Cancel' button when adding a folder does not
|
||||
work.
|
||||
- Changes from version 18.6:
|
||||
+ Exclude /swapfile for rsync snapshots.
|
||||
+ Translation updates.
|
||||
- Changes from version 18.4:
|
||||
+ UI Improvements.
|
||||
+ Added option to keep BTRFS qgroups disabled.
|
||||
+ Added a fix for nested subvolume issue.
|
||||
+ Restore: Show an option to skip restore for @home sub volume.
|
||||
- Changes from version 18.1.1:
|
||||
+ Fixed an issue where home directory would get deleted while
|
||||
restoring rsync snapshot. This happened in cases where the
|
||||
user had created a snapshot excluding home directory, and
|
||||
later restored the snapshot after including home directory in
|
||||
Settings.
|
||||
To avoid such scenarios, user-specified include filters
|
||||
will be ignored for restore. Exclude list that was created
|
||||
during snapshot creation will be used instead, along with any
|
||||
additional exclude filters.
|
||||
|
||||
-------------------------------------------------------------------
|
||||
Wed Dec 6 13:22:06 UTC 2017 - malcolmlewis@opensuse.org
|
||||
|
||||
- Initial build at version 4a67dba (2017-11-29).
|
5
timeshift.obsinfo
Normal file
5
timeshift.obsinfo
Normal file
@ -0,0 +1,5 @@
|
||||
name: timeshift
|
||||
version: 19.08.1+git20200229.4447b0a
|
||||
mtime: 1582958569
|
||||
commit: 4447b0a7d27e87c927e756f85411d378b2d102f3
|
||||
|
87
timeshift.spec
Normal file
87
timeshift.spec
Normal file
@ -0,0 +1,87 @@
|
||||
#
|
||||
# spec file for package timeshift.spec
|
||||
#
|
||||
# Copyright (c) 2017-2020 Malcolm J Lewis <malcolmlewis@opensuse.org>
|
||||
#
|
||||
# All modifications and additions to the file contributed by third parties
|
||||
# remain the property of their copyright owners, unless otherwise agreed
|
||||
# upon. The license for this file, and modifications and additions to the
|
||||
# file, is the same license as for the pristine package itself (unless the
|
||||
# license for the pristine package is not an Open Source License, in which
|
||||
# case the license is the MIT License). An "Open Source License" is a
|
||||
# license that conforms to the Open Source Definition (Version 1.9)
|
||||
# published by the Open Source Initiative.
|
||||
|
||||
# Please submit bugfixes or comments via http://bugs.opensuse.org/
|
||||
#
|
||||
|
||||
|
||||
Name: timeshift
|
||||
Version: 19.08.1+git20200229.4447b0a
|
||||
Release: 0
|
||||
URL: http://teejeetech.blogspot.in/
|
||||
Summary: System restore utility
|
||||
License: GPL-3.0
|
||||
Source0: %{name}-%{version}.tar.xz
|
||||
Source99: timeshift-rpmlintrc
|
||||
BuildRequires: chrpath
|
||||
BuildRequires: fdupes
|
||||
BuildRequires: pkgconfig
|
||||
BuildRequires: update-desktop-files
|
||||
BuildRequires: vala
|
||||
BuildRequires: pkgconfig(gee-0.8)
|
||||
BuildRequires: pkgconfig(gtk+-3.0)
|
||||
BuildRequires: pkgconfig(json-glib-1.0)
|
||||
BuildRequires: pkgconfig(polkit-agent-1)
|
||||
BuildRequires: pkgconfig(vte-2.91)
|
||||
#Lets just recommend for btrfs as more likely used with other filesystems
|
||||
Recommends: btrfsprogs
|
||||
Requires: rsync
|
||||
BuildRoot: %{_tmppath}/%{name}-%{version}-build
|
||||
|
||||
%description
|
||||
A system restore utility which takes snapshots of the system at regular
|
||||
intervals. These snapshots can be restored at a later date to undo system
|
||||
changes. Creates incremental snapshots using rsync or BTRFS snapshots
|
||||
using BTRFS tools.
|
||||
|
||||
%lang_package
|
||||
|
||||
%prep
|
||||
%autosetup
|
||||
|
||||
%build
|
||||
make
|
||||
|
||||
%install
|
||||
%make_install
|
||||
#Cleanup rpath references
|
||||
chrpath --delete %{buildroot}%{_bindir}/timeshift
|
||||
chrpath --delete %{buildroot}%{_bindir}/timeshift-gtk
|
||||
#Fix file permissions
|
||||
chmod 0644 %{buildroot}%{_sysconfdir}/default/timeshift.json
|
||||
chmod 0644 %{buildroot}%{_datadir}/metainfo/timeshift.appdata.xml
|
||||
chmod 0644 %{buildroot}%{_datadir}/timeshift/images/*.svg
|
||||
#Remove as we use rpm/zypper
|
||||
rm -f %{buildroot}%{_bindir}/timeshift-uninstall
|
||||
#Remove appdata in preference to metadinfo
|
||||
rm -rf %{buildroot}%{_datadir}/appdata
|
||||
%suse_update_desktop_file -r timeshift-gtk Utility Archiving
|
||||
%find_lang %{name} %{?no_lang_C}
|
||||
%fdupes -s %{buildroot}
|
||||
|
||||
%files
|
||||
%doc AUTHORS
|
||||
%license LICENSE.md
|
||||
%config(noreplace) %{_sysconfdir}/default/timeshift.json
|
||||
%{_bindir}/timeshift*
|
||||
%{_datadir}/applications/timeshift-gtk.desktop
|
||||
%{_datadir}/icons/hicolor/*/apps/*
|
||||
%{_mandir}/man1/timeshift.1%{?ext_man}
|
||||
%{_datadir}/metainfo/timeshift.appdata.xml
|
||||
%{_datadir}/polkit-1/actions/in.teejeetech.pkexec.timeshift.policy
|
||||
%{_datadir}/timeshift/
|
||||
|
||||
%files lang -f %{name}.lang
|
||||
|
||||
%changelog
|
Loading…
Reference in New Issue
Block a user