From a2052143f51046b4c4993114cf92be1b6bbece7994c14ef499d0cc1a7f6cf64b Mon Sep 17 00:00:00 2001 From: Martin Pluskal Date: Mon, 2 Mar 2020 09:16:47 +0000 Subject: [PATCH] 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 --- .gitattributes | 23 ++++ .gitignore | 1 + _service | 18 +++ _servicedata | 4 + timeshift-19.08.1+git20200229.4447b0a.obscpio | 3 + timeshift-rpmlintrc | 1 + timeshift.changes | 118 ++++++++++++++++++ timeshift.obsinfo | 5 + timeshift.spec | 87 +++++++++++++ 9 files changed, 260 insertions(+) create mode 100644 .gitattributes create mode 100644 .gitignore create mode 100644 _service create mode 100644 _servicedata create mode 100644 timeshift-19.08.1+git20200229.4447b0a.obscpio create mode 100644 timeshift-rpmlintrc create mode 100644 timeshift.changes create mode 100644 timeshift.obsinfo create mode 100644 timeshift.spec diff --git a/.gitattributes b/.gitattributes new file mode 100644 index 0000000..9b03811 --- /dev/null +++ b/.gitattributes @@ -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 diff --git a/.gitignore b/.gitignore new file mode 100644 index 0000000..57affb6 --- /dev/null +++ b/.gitignore @@ -0,0 +1 @@ +.osc diff --git a/_service b/_service new file mode 100644 index 0000000..7efaa82 --- /dev/null +++ b/_service @@ -0,0 +1,18 @@ + + + https://github.com/teejee2008/timeshift.git + git + enable + master + enable + malcolmlewis@opensuse.org + timeshift + 19.08.1+git%cd.%h + + + + *.tar + xz + + + diff --git a/_servicedata b/_servicedata new file mode 100644 index 0000000..59d5f6f --- /dev/null +++ b/_servicedata @@ -0,0 +1,4 @@ + + + https://github.com/teejee2008/timeshift.git + 4447b0a7d27e87c927e756f85411d378b2d102f3 \ No newline at end of file diff --git a/timeshift-19.08.1+git20200229.4447b0a.obscpio b/timeshift-19.08.1+git20200229.4447b0a.obscpio new file mode 100644 index 0000000..458c82f --- /dev/null +++ b/timeshift-19.08.1+git20200229.4447b0a.obscpio @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:fd9ffb05975c83054413dd2f7a16916724281cd7ff6bad7251978911f96709fe +size 4806156 diff --git a/timeshift-rpmlintrc b/timeshift-rpmlintrc new file mode 100644 index 0000000..4c1e8b8 --- /dev/null +++ b/timeshift-rpmlintrc @@ -0,0 +1 @@ +setBadness('polkit-untracked-privilege', 0) diff --git a/timeshift.changes b/timeshift.changes new file mode 100644 index 0000000..a4ed2dd --- /dev/null +++ b/timeshift.changes @@ -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). diff --git a/timeshift.obsinfo b/timeshift.obsinfo new file mode 100644 index 0000000..4858d8e --- /dev/null +++ b/timeshift.obsinfo @@ -0,0 +1,5 @@ +name: timeshift +version: 19.08.1+git20200229.4447b0a +mtime: 1582958569 +commit: 4447b0a7d27e87c927e756f85411d378b2d102f3 + diff --git a/timeshift.spec b/timeshift.spec new file mode 100644 index 0000000..f30e7d4 --- /dev/null +++ b/timeshift.spec @@ -0,0 +1,87 @@ +# +# spec file for package timeshift.spec +# +# Copyright (c) 2017-2020 Malcolm J Lewis +# +# 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