Compare commits
2 Commits
11245d1140
...
7acc6563db
Author | SHA1 | Date | |
---|---|---|---|
7acc6563db | |||
4f6f7d0cd5 |
2
.gitignore
vendored
2
.gitignore
vendored
@ -2,3 +2,5 @@
|
|||||||
|
|
||||||
/remind-04.02.07.tar.gz
|
/remind-04.02.07.tar.gz
|
||||||
/remind-04.02.07.tar.gz.sig
|
/remind-04.02.07.tar.gz.sig
|
||||||
|
/remind-04.02.08.tar.gz
|
||||||
|
/remind-04.02.08.tar.gz.sig
|
||||||
|
68
remind.spec
68
remind.spec
@ -1,5 +1,5 @@
|
|||||||
Name: remind
|
Name: remind
|
||||||
Version: 04.02.07
|
Version: 04.02.08
|
||||||
Release: %autorelease
|
Release: %autorelease
|
||||||
Summary: Sophisticated calendar and alarm program
|
Summary: Sophisticated calendar and alarm program
|
||||||
|
|
||||||
@ -16,8 +16,10 @@ URL: https://dianne.skoll.ca/projects/remind/
|
|||||||
Source: %url/download/%{name}-%{version}.tar.gz
|
Source: %url/download/%{name}-%{version}.tar.gz
|
||||||
Source: %url/download/%{name}-%{version}.tar.gz.sig
|
Source: %url/download/%{name}-%{version}.tar.gz.sig
|
||||||
Source: 685A5A5E511D30E2.gpg
|
Source: 685A5A5E511D30E2.gpg
|
||||||
|
Source: tkremind.desktop
|
||||||
# stolen from Debian
|
# stolen from Debian
|
||||||
Patch: use-system-libjsonparser.diff
|
Patch: use-system-libjsonparser.diff
|
||||||
|
Patch: remove-timezone-tests-from-compare.patch
|
||||||
|
|
||||||
BuildRequires: gcc
|
BuildRequires: gcc
|
||||||
BuildRequires: gnupg2
|
BuildRequires: gnupg2
|
||||||
@ -29,8 +31,10 @@ BuildRequires: perl(Pango)
|
|||||||
BuildRequires: perl-generators
|
BuildRequires: perl-generators
|
||||||
BuildRequires: perl-interpreter
|
BuildRequires: perl-interpreter
|
||||||
BuildRequires: pkgconfig(json-parser)
|
BuildRequires: pkgconfig(json-parser)
|
||||||
|
BuildRequires: desktop-file-utils
|
||||||
Recommends: remind-tools
|
Recommends: remind-tools
|
||||||
Recommends: remind-gui
|
Recommends: remind-gui
|
||||||
|
Recommends: remind-doc
|
||||||
|
|
||||||
%description
|
%description
|
||||||
Remind is a sophisticated calendar and alarm program. It includes the following
|
Remind is a sophisticated calendar and alarm program. It includes the following
|
||||||
@ -45,6 +49,27 @@ features:
|
|||||||
- Facilities for both the Gregorian and Hebrew calendars
|
- Facilities for both the Gregorian and Hebrew calendars
|
||||||
- Support for 12 different languages
|
- Support for 12 different languages
|
||||||
|
|
||||||
|
%package doc
|
||||||
|
Summary: Documentation for remind, a sophisticated calendar and alarm program
|
||||||
|
License: GPL-2.0-only
|
||||||
|
BuildArch: noarch
|
||||||
|
|
||||||
|
%description doc
|
||||||
|
Documentation and information on how to use remind
|
||||||
|
|
||||||
|
%package gui
|
||||||
|
Summary: GUI for remind, a sophisticated calendar and alarm program
|
||||||
|
License: GPL-2.0-only
|
||||||
|
BuildArch: noarch
|
||||||
|
Provides: tkremind = %{?epoch:%{epoch}:}%{version}-%{release}
|
||||||
|
Requires: %{name}%{?_isa} = %{version}-%{release}
|
||||||
|
Requires: tcl
|
||||||
|
Requires: tcllib
|
||||||
|
Requires: tk >= 8.0
|
||||||
|
|
||||||
|
%description gui
|
||||||
|
Tkremind provides a GUI which allows viewing a calendar and adding or editing
|
||||||
|
reminders without learning the syntax of Remind.
|
||||||
|
|
||||||
%package tools
|
%package tools
|
||||||
Summary: Additional tools for remind
|
Summary: Additional tools for remind
|
||||||
@ -61,20 +86,6 @@ License: GPL-2.0-only AND GPL-2.0-or-later AND GPL-3.0-only
|
|||||||
%description tools
|
%description tools
|
||||||
Tools to convert the remind output to ps, pdf or html as well as example files.
|
Tools to convert the remind output to ps, pdf or html as well as example files.
|
||||||
|
|
||||||
%package gui
|
|
||||||
Summary: GUI for remind, a sophisticated calendar and alarm program
|
|
||||||
License: GPL-2.0-only
|
|
||||||
BuildArch: noarch
|
|
||||||
Provides: tkremind = %{?epoch:%{epoch}:}%{version}-%{release}
|
|
||||||
Requires: %{name} = %{?epoch:%{epoch}:}%{version}-%{release}
|
|
||||||
Requires: tcl
|
|
||||||
Requires: tcllib
|
|
||||||
Requires: tk >= 8.0
|
|
||||||
|
|
||||||
%description gui
|
|
||||||
Tkremind provides a GUI which allows viewing a calendar and adding or editing
|
|
||||||
reminders without learning the syntax of Remind.
|
|
||||||
|
|
||||||
%prep
|
%prep
|
||||||
%{gpgverify} --keyring='%{SOURCE2}' --signature='%{SOURCE1}' --data='%{SOURCE0}'
|
%{gpgverify} --keyring='%{SOURCE2}' --signature='%{SOURCE1}' --data='%{SOURCE0}'
|
||||||
%autosetup -p1 -n %{name}-%{version}
|
%autosetup -p1 -n %{name}-%{version}
|
||||||
@ -88,21 +99,33 @@ sed -i 's|\$(PERL) Makefile.PL|\$(PERL) Makefile.PL NO_PACKLIST=1 NO_PERLLOCAL=1
|
|||||||
%install
|
%install
|
||||||
%make_install
|
%make_install
|
||||||
|
|
||||||
|
desktop-file-install --dir=%{buildroot}%{_datadir}/applications %{SOURCE3}
|
||||||
|
|
||||||
|
%check
|
||||||
|
# NOTE(neil): 2024-01-09 disabling tz.rem as it is broken
|
||||||
|
|
||||||
|
sed -iE 's,^TZ=America.*,,;s,^TZ=Europe.*,,' tests/test-rem
|
||||||
|
|
||||||
|
make test
|
||||||
|
|
||||||
%files
|
%files
|
||||||
%doc README docs/
|
%doc README
|
||||||
%license COPYRIGHT MICROSOFT-AND-APPLE
|
%license COPYRIGHT MICROSOFT-AND-APPLE
|
||||||
|
%attr(0755,-,-) %{_bindir}/%{name}
|
||||||
%{_bindir}/rem
|
%{_bindir}/rem
|
||||||
%{_bindir}/%{name}
|
|
||||||
%{_datadir}/remind/
|
%{_datadir}/remind/
|
||||||
%{_mandir}/man1/rem.1*
|
%{_mandir}/man1/rem.1*
|
||||||
%{_mandir}/man1/%{name}.1*
|
%{_mandir}/man1/%{name}.1*
|
||||||
|
|
||||||
%files tools
|
%files doc
|
||||||
|
%doc README docs/
|
||||||
%doc www/ examples/ contrib/
|
%doc www/ examples/ contrib/
|
||||||
|
|
||||||
|
%files tools
|
||||||
%license COPYRIGHT MICROSOFT-AND-APPLE
|
%license COPYRIGHT MICROSOFT-AND-APPLE
|
||||||
%{_bindir}/rem2html
|
%attr(0755,-,-) %{_bindir}/rem2html
|
||||||
%{_bindir}/rem2pdf
|
%attr(0755,-,-) %{_bindir}/rem2pdf
|
||||||
%{_bindir}/rem2ps
|
%attr(0755,-,-) %{_bindir}/rem2ps
|
||||||
%{perl_vendorlib}/*
|
%{perl_vendorlib}/*
|
||||||
%{_mandir}/man1/rem2html.1*
|
%{_mandir}/man1/rem2html.1*
|
||||||
%{_mandir}/man1/rem2pdf.1*
|
%{_mandir}/man1/rem2pdf.1*
|
||||||
@ -111,8 +134,9 @@ sed -i 's|\$(PERL) Makefile.PL|\$(PERL) Makefile.PL NO_PACKLIST=1 NO_PERLLOCAL=1
|
|||||||
%{_mandir}/man3/Remind::PDF::Entry.3pm*
|
%{_mandir}/man3/Remind::PDF::Entry.3pm*
|
||||||
|
|
||||||
%files gui
|
%files gui
|
||||||
%{_bindir}/tkremind
|
%attr(0755,-,-) %{_bindir}/tkremind
|
||||||
%{_mandir}/man1/tkremind.1*
|
%{_mandir}/man1/tkremind.1*
|
||||||
|
%{_datadir}/applications/tkremind.desktop
|
||||||
|
|
||||||
%changelog
|
%changelog
|
||||||
%autochangelog
|
%autochangelog
|
||||||
|
127
remove-timezone-tests-from-compare.patch
Normal file
127
remove-timezone-tests-from-compare.patch
Normal file
@ -0,0 +1,127 @@
|
|||||||
|
--- a/tests/test.cmp 2023-12-14 16:08:46.000000000 -0500
|
||||||
|
+++ b/tests/test.cmp 2024-01-09 15:07:11.299509756 -0500
|
||||||
|
@@ -11510,123 +11510,7 @@
|
||||||
|
│ │ │ │and │ │ │ │
|
||||||
|
│ │ │ │spaces │ │ │ │
|
||||||
|
└──────────┴──────────┴──────────┴──────────┴──────────┴──────────┴──────────┘
|
||||||
|
-# Test conversion between local time and UTC
|
||||||
|
-
|
||||||
|
-set a localtoutc('2022-01-01@12:00')
|
||||||
|
-localtoutc(2022-01-01@12:00) => 2022-01-01@17:00
|
||||||
|
-set a localtoutc('2022-03-13@03:59')
|
||||||
|
-localtoutc(2022-03-13@03:59) => 2022-03-13@07:59
|
||||||
|
-set a localtoutc('2022-03-13@04:00')
|
||||||
|
-localtoutc(2022-03-13@04:00) => 2022-03-13@08:00
|
||||||
|
-set a localtoutc('2022-03-13@04:01')
|
||||||
|
-localtoutc(2022-03-13@04:01) => 2022-03-13@08:01
|
||||||
|
-set a localtoutc('2022-06-01@12:00')
|
||||||
|
-localtoutc(2022-06-01@12:00) => 2022-06-01@16:00
|
||||||
|
-set a localtoutc('2022-11-06@02:59')
|
||||||
|
-localtoutc(2022-11-06@02:59) => 2022-11-06@07:59
|
||||||
|
-set a localtoutc('2022-11-06@03:00')
|
||||||
|
-localtoutc(2022-11-06@03:00) => 2022-11-06@08:00
|
||||||
|
-set a localtoutc('2022-11-06@03:01')
|
||||||
|
-localtoutc(2022-11-06@03:01) => 2022-11-06@08:01
|
||||||
|
-set a localtoutc('2022-12-01@12:00')
|
||||||
|
-localtoutc(2022-12-01@12:00) => 2022-12-01@17:00
|
||||||
|
-
|
||||||
|
-set b utctolocal('2022-01-01@17:00')
|
||||||
|
-utctolocal(2022-01-01@17:00) => 2022-01-01@12:00
|
||||||
|
-set b utctolocal('2022-03-13@06:00')
|
||||||
|
-utctolocal(2022-03-13@06:00) => 2022-03-13@01:00
|
||||||
|
-set b utctolocal('2022-03-13@07:01')
|
||||||
|
-utctolocal(2022-03-13@07:01) => 2022-03-13@03:01
|
||||||
|
-set b utctolocal('2022-03-13@07:59')
|
||||||
|
-utctolocal(2022-03-13@07:59) => 2022-03-13@03:59
|
||||||
|
-set b utctolocal('2022-03-13@07:00')
|
||||||
|
-utctolocal(2022-03-13@07:00) => 2022-03-13@03:00
|
||||||
|
-set b utctolocal('2022-03-13@07:01')
|
||||||
|
-utctolocal(2022-03-13@07:01) => 2022-03-13@03:01
|
||||||
|
-set b utctolocal('2022-03-13@07:59')
|
||||||
|
-utctolocal(2022-03-13@07:59) => 2022-03-13@03:59
|
||||||
|
-set b utctolocal('2022-06-01@16:00')
|
||||||
|
-utctolocal(2022-06-01@16:00) => 2022-06-01@12:00
|
||||||
|
-set b utctolocal('2022-11-06@03:59')
|
||||||
|
-utctolocal(2022-11-06@03:59) => 2022-11-05@23:59
|
||||||
|
-set b utctolocal('2022-11-06@07:00')
|
||||||
|
-utctolocal(2022-11-06@07:00) => 2022-11-06@02:00
|
||||||
|
-set b utctolocal('2022-11-06@07:01')
|
||||||
|
-utctolocal(2022-11-06@07:01) => 2022-11-06@02:01
|
||||||
|
-set b utctolocal('2022-11-06@07:59')
|
||||||
|
-utctolocal(2022-11-06@07:59) => 2022-11-06@02:59
|
||||||
|
-set b utctolocal('2022-11-06@08:00')
|
||||||
|
-utctolocal(2022-11-06@08:00) => 2022-11-06@03:00
|
||||||
|
-set b utctolocal('2022-11-06@08:01')
|
||||||
|
-utctolocal(2022-11-06@08:01) => 2022-11-06@03:01
|
||||||
|
-set b utctolocal('2022-12-01@18:00')
|
||||||
|
-utctolocal(2022-12-01@18:00) => 2022-12-01@13:00
|
||||||
|
-
|
||||||
|
-set c timezone('2022-07-01')
|
||||||
|
-timezone(2022-07-01) => "EDT"
|
||||||
|
-set c timezone('2022-12-01')
|
||||||
|
-timezone(2022-12-01) => "EST"
|
||||||
|
-
|
||||||
|
-No reminders.
|
||||||
|
-# Test conversion between local time and UTC
|
||||||
|
-
|
||||||
|
-set a localtoutc('2022-01-01@12:00')
|
||||||
|
-localtoutc(2022-01-01@12:00) => 2022-01-01@11:00
|
||||||
|
-set a localtoutc('2022-03-13@03:59')
|
||||||
|
-localtoutc(2022-03-13@03:59) => 2022-03-13@02:59
|
||||||
|
-set a localtoutc('2022-03-13@04:00')
|
||||||
|
-localtoutc(2022-03-13@04:00) => 2022-03-13@03:00
|
||||||
|
-set a localtoutc('2022-03-13@04:01')
|
||||||
|
-localtoutc(2022-03-13@04:01) => 2022-03-13@03:01
|
||||||
|
-set a localtoutc('2022-06-01@12:00')
|
||||||
|
-localtoutc(2022-06-01@12:00) => 2022-06-01@10:00
|
||||||
|
-set a localtoutc('2022-11-06@02:59')
|
||||||
|
-localtoutc(2022-11-06@02:59) => 2022-11-06@01:59
|
||||||
|
-set a localtoutc('2022-11-06@03:00')
|
||||||
|
-localtoutc(2022-11-06@03:00) => 2022-11-06@02:00
|
||||||
|
-set a localtoutc('2022-11-06@03:01')
|
||||||
|
-localtoutc(2022-11-06@03:01) => 2022-11-06@02:01
|
||||||
|
-set a localtoutc('2022-12-01@12:00')
|
||||||
|
-localtoutc(2022-12-01@12:00) => 2022-12-01@11:00
|
||||||
|
-
|
||||||
|
-set b utctolocal('2022-01-01@17:00')
|
||||||
|
-utctolocal(2022-01-01@17:00) => 2022-01-01@18:00
|
||||||
|
-set b utctolocal('2022-03-13@06:00')
|
||||||
|
-utctolocal(2022-03-13@06:00) => 2022-03-13@07:00
|
||||||
|
-set b utctolocal('2022-03-13@07:01')
|
||||||
|
-utctolocal(2022-03-13@07:01) => 2022-03-13@08:01
|
||||||
|
-set b utctolocal('2022-03-13@07:59')
|
||||||
|
-utctolocal(2022-03-13@07:59) => 2022-03-13@08:59
|
||||||
|
-set b utctolocal('2022-03-13@07:00')
|
||||||
|
-utctolocal(2022-03-13@07:00) => 2022-03-13@08:00
|
||||||
|
-set b utctolocal('2022-03-13@07:01')
|
||||||
|
-utctolocal(2022-03-13@07:01) => 2022-03-13@08:01
|
||||||
|
-set b utctolocal('2022-03-13@07:59')
|
||||||
|
-utctolocal(2022-03-13@07:59) => 2022-03-13@08:59
|
||||||
|
-set b utctolocal('2022-06-01@16:00')
|
||||||
|
-utctolocal(2022-06-01@16:00) => 2022-06-01@18:00
|
||||||
|
-set b utctolocal('2022-11-06@03:59')
|
||||||
|
-utctolocal(2022-11-06@03:59) => 2022-11-06@04:59
|
||||||
|
-set b utctolocal('2022-11-06@07:00')
|
||||||
|
-utctolocal(2022-11-06@07:00) => 2022-11-06@08:00
|
||||||
|
-set b utctolocal('2022-11-06@07:01')
|
||||||
|
-utctolocal(2022-11-06@07:01) => 2022-11-06@08:01
|
||||||
|
-set b utctolocal('2022-11-06@07:59')
|
||||||
|
-utctolocal(2022-11-06@07:59) => 2022-11-06@08:59
|
||||||
|
-set b utctolocal('2022-11-06@08:00')
|
||||||
|
-utctolocal(2022-11-06@08:00) => 2022-11-06@09:00
|
||||||
|
-set b utctolocal('2022-11-06@08:01')
|
||||||
|
-utctolocal(2022-11-06@08:01) => 2022-11-06@09:01
|
||||||
|
-set b utctolocal('2022-12-01@18:00')
|
||||||
|
-utctolocal(2022-12-01@18:00) => 2022-12-01@19:00
|
||||||
|
-
|
||||||
|
-set c timezone('2022-07-01')
|
||||||
|
-timezone(2022-07-01) => "CEST"
|
||||||
|
-set c timezone('2022-12-01')
|
||||||
|
-timezone(2022-12-01) => "CET"
|
||||||
|
-
|
||||||
|
-No reminders.
|
||||||
|
-Solstice/Equinox Tests
|
||||||
|
+Solstice/Equinox Tests
|
||||||
|
March Solstice 2022 is 2022-03-20@15:34 UTC
|
||||||
|
June Equinox 2022 is 2022-06-21@09:14 UTC
|
||||||
|
September Solstice 2022 is 2022-09-23@01:05 UTC
|
4
sources
4
sources
@ -1,2 +1,2 @@
|
|||||||
SHA512 (remind-04.02.07.tar.gz) = cfa644fc9532f53a4b0c2566643955a3ce915822ab2fe09ad2ac9dd857dbe15b4738000e1ffab3c5b9b23a368a28236bc61b7560bac07f3967b1bf446bf7f7e3
|
SHA512 (remind-04.02.08.tar.gz) = c09a69003d19f7b0cbebe98bb0fdae028ecbed1dc14b72b2447dfd120f82bcff149b5aa0b16c921ec45448731371f8e98a6d9080bd064a05eadf5b2df5abdb1e
|
||||||
SHA512 (remind-04.02.07.tar.gz.sig) = a6cfd33f553fde1d7914169dd4993efb1490692781ab194ee12e4f2fba5f99d1d274ffeb8a95aa894164581e14c289e7949d629a7c91cde417d0e19310644125
|
SHA512 (remind-04.02.08.tar.gz.sig) = 1ae14c5b28b78c2e9a50262788d5d5dee42f4bde3f038331de7202174b2d47d3037e5c103c81b3cb71a02f04ca70c029e1b62ddef5f0389443253529b0a6e5f9
|
||||||
|
8
tkremind.desktop
Normal file
8
tkremind.desktop
Normal file
@ -0,0 +1,8 @@
|
|||||||
|
[Desktop Entry]
|
||||||
|
Encoding=UTF-8
|
||||||
|
Name=tkremind
|
||||||
|
GenericName=Remind Tk GUI
|
||||||
|
Exec=tkremind
|
||||||
|
Terminal=false
|
||||||
|
Type=Application
|
||||||
|
Categories=Office;
|
Loading…
x
Reference in New Issue
Block a user