2011-08-08 15:40:34 +02:00
|
|
|
#
|
|
|
|
# spec file for package calcurse
|
|
|
|
#
|
2019-05-29 09:32:07 +02:00
|
|
|
# Copyright (c) 2019 SUSE LINUX GmbH, Nuernberg, Germany.
|
2011-08-08 15:40:34 +02:00
|
|
|
#
|
|
|
|
# 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/
|
|
|
|
#
|
|
|
|
|
2012-07-01 11:35:27 +02:00
|
|
|
|
2010-11-11 00:04:04 +01:00
|
|
|
Name: calcurse
|
2019-05-29 09:32:07 +02:00
|
|
|
Version: 4.4.0
|
2011-09-16 10:31:48 +02:00
|
|
|
Release: 0
|
2010-11-11 00:04:04 +01:00
|
|
|
Summary: Text-based Organizer
|
2011-12-17 00:31:02 +01:00
|
|
|
License: BSD-2-Clause
|
2011-12-15 11:29:44 +01:00
|
|
|
Group: Productivity/Office/Organizers
|
2011-08-08 15:40:34 +02:00
|
|
|
Url: http://calcurse.org
|
Accepting request 569767 from home:avindra
- Update to version 4.3.0
* Compatibility notes:
- Month names and abbreviated day names now honor the locale
setting
- The phase of moon feature was removed
* New features:
- The selected day in the calendar now stands out
- Both the position and the date format used for the heading in
the appointments panel are configurable
- Support for CTRL-U and CTRL-G in prompts
- Support for using all keys recognized by ncurses,
particularly UTF-8 keys, in key bindings
- Support for CALCURSE_EDITOR, CALCURSE_PAGER and
CALCURSE_MERGETOOL environment variables to override the
default editor, pager and merge tool
- Several improvements to the reload and save routines. The
save routine now detects external changes to the data files
and no longer blindly overwrites data which was edited
externally. In case of external changes, different options
are offered, one of them being the execution of the merge
tool to merge external changes and changes done from the
running calcurse instance. The reload routine also no longer
performs a reload if both the external data files and the
local data are unchanged.
- Several improvements to the CalDAV synchronization script,
including OAuth2 support and instructions on how to
synchronize calcurse with Google Calendar
- Support for passing the password as a command-line argument
to the CalDAV synchronization script
- A new utility, called calcurse-dateutil, which can be used
to create "extended recurrent events" such as events
occurring on the third Thursday of each month
* Bug Fixes:
- Gracefully parse iCal parameters with colons
- Fixes to the notification feature affecting recurrent
appointments
- Do not crash when changing colors
- Avoid fatal error when using the help command
- Avoid empty warning box when key is already in use
- Several fixes to the calcurse-caldav synchronization script
to allow for synchronizing with NextCloud servers
- Proper support for punctual appointments starting at 00:00
- Proper ISO 8601 week numbering
- The delete key no longer acts as backspace
- Proper parsing of date-time strings
- cleanup with spec-cleaner
- remove chmod line, no longer needed
OBS-URL: https://build.opensuse.org/request/show/569767
OBS-URL: https://build.opensuse.org/package/show/utilities/calcurse?expand=0&rev=39
2018-02-05 05:26:17 +01:00
|
|
|
Source: http://calcurse.org/files/%{name}-%{version}.tar.gz
|
|
|
|
Source1: http://calcurse.org/files/%{name}-%{version}.tar.gz.asc
|
|
|
|
Source2: %{name}.keyring
|
|
|
|
Source3: %{name}.desktop
|
2011-12-15 11:29:44 +01:00
|
|
|
BuildRequires: gettext-devel
|
|
|
|
BuildRequires: glibc-devel
|
|
|
|
BuildRequires: libtool
|
|
|
|
BuildRequires: ncurses-devel
|
2010-11-13 22:43:11 +01:00
|
|
|
BuildRequires: update-desktop-files
|
2010-11-10 20:46:11 +01:00
|
|
|
|
|
|
|
%description
|
|
|
|
Calcurse is a text-based personal organizer which helps keep track of events
|
|
|
|
and everyday tasks. It has a calendar and a "todo" list, and puts your
|
|
|
|
appointments in order. The user interface is configurable, and you can choose
|
|
|
|
between different color schemes and layouts. All of the commands are
|
|
|
|
documented within an online help system.
|
|
|
|
|
2012-12-06 00:47:46 +01:00
|
|
|
%lang_package
|
|
|
|
|
2010-11-10 20:46:11 +01:00
|
|
|
%prep
|
|
|
|
%setup -q
|
2019-05-29 10:33:06 +02:00
|
|
|
sed -i "s/#!\/usr\/bin\/env python3/#!\/usr\/bin\/python3/" contrib/caldav/calcurse-caldav.py
|
2010-11-10 20:46:11 +01:00
|
|
|
|
|
|
|
%build
|
|
|
|
%configure
|
Accepting request 569767 from home:avindra
- Update to version 4.3.0
* Compatibility notes:
- Month names and abbreviated day names now honor the locale
setting
- The phase of moon feature was removed
* New features:
- The selected day in the calendar now stands out
- Both the position and the date format used for the heading in
the appointments panel are configurable
- Support for CTRL-U and CTRL-G in prompts
- Support for using all keys recognized by ncurses,
particularly UTF-8 keys, in key bindings
- Support for CALCURSE_EDITOR, CALCURSE_PAGER and
CALCURSE_MERGETOOL environment variables to override the
default editor, pager and merge tool
- Several improvements to the reload and save routines. The
save routine now detects external changes to the data files
and no longer blindly overwrites data which was edited
externally. In case of external changes, different options
are offered, one of them being the execution of the merge
tool to merge external changes and changes done from the
running calcurse instance. The reload routine also no longer
performs a reload if both the external data files and the
local data are unchanged.
- Several improvements to the CalDAV synchronization script,
including OAuth2 support and instructions on how to
synchronize calcurse with Google Calendar
- Support for passing the password as a command-line argument
to the CalDAV synchronization script
- A new utility, called calcurse-dateutil, which can be used
to create "extended recurrent events" such as events
occurring on the third Thursday of each month
* Bug Fixes:
- Gracefully parse iCal parameters with colons
- Fixes to the notification feature affecting recurrent
appointments
- Do not crash when changing colors
- Avoid fatal error when using the help command
- Avoid empty warning box when key is already in use
- Several fixes to the calcurse-caldav synchronization script
to allow for synchronizing with NextCloud servers
- Proper support for punctual appointments starting at 00:00
- Proper ISO 8601 week numbering
- The delete key no longer acts as backspace
- Proper parsing of date-time strings
- cleanup with spec-cleaner
- remove chmod line, no longer needed
OBS-URL: https://build.opensuse.org/request/show/569767
OBS-URL: https://build.opensuse.org/package/show/utilities/calcurse?expand=0&rev=39
2018-02-05 05:26:17 +01:00
|
|
|
make %{?_smp_mflags}
|
2010-11-10 20:46:11 +01:00
|
|
|
|
|
|
|
%install
|
2017-04-20 14:20:50 +02:00
|
|
|
%make_install
|
2011-05-29 13:52:12 +02:00
|
|
|
|
2016-10-21 21:11:38 +02:00
|
|
|
rm -rf "%{buildroot}%{_datadir}/doc"
|
2011-05-29 13:52:12 +02:00
|
|
|
|
2017-04-20 14:20:50 +02:00
|
|
|
install -D -m 0644 %{SOURCE3} "%{buildroot}%{_datadir}/applications/%{name}.desktop"
|
|
|
|
%if 0%{?suse_version}
|
2010-11-10 20:46:11 +01:00
|
|
|
%suse_update_desktop_file -r "%{name}" Office Calendar
|
2010-11-11 00:04:04 +01:00
|
|
|
%endif
|
2010-11-10 20:46:11 +01:00
|
|
|
|
2017-04-20 14:20:50 +02:00
|
|
|
mv "%{buildroot}%{_datadir}/locale/en" \
|
|
|
|
"%{buildroot}%{_datadir}/locale/en_US"
|
2010-11-10 20:46:11 +01:00
|
|
|
|
2015-03-03 10:21:01 +01:00
|
|
|
%find_lang %{name}
|
2010-11-10 20:46:11 +01:00
|
|
|
|
2012-12-06 00:47:46 +01:00
|
|
|
%files
|
Accepting request 569767 from home:avindra
- Update to version 4.3.0
* Compatibility notes:
- Month names and abbreviated day names now honor the locale
setting
- The phase of moon feature was removed
* New features:
- The selected day in the calendar now stands out
- Both the position and the date format used for the heading in
the appointments panel are configurable
- Support for CTRL-U and CTRL-G in prompts
- Support for using all keys recognized by ncurses,
particularly UTF-8 keys, in key bindings
- Support for CALCURSE_EDITOR, CALCURSE_PAGER and
CALCURSE_MERGETOOL environment variables to override the
default editor, pager and merge tool
- Several improvements to the reload and save routines. The
save routine now detects external changes to the data files
and no longer blindly overwrites data which was edited
externally. In case of external changes, different options
are offered, one of them being the execution of the merge
tool to merge external changes and changes done from the
running calcurse instance. The reload routine also no longer
performs a reload if both the external data files and the
local data are unchanged.
- Several improvements to the CalDAV synchronization script,
including OAuth2 support and instructions on how to
synchronize calcurse with Google Calendar
- Support for passing the password as a command-line argument
to the CalDAV synchronization script
- A new utility, called calcurse-dateutil, which can be used
to create "extended recurrent events" such as events
occurring on the third Thursday of each month
* Bug Fixes:
- Gracefully parse iCal parameters with colons
- Fixes to the notification feature affecting recurrent
appointments
- Do not crash when changing colors
- Avoid fatal error when using the help command
- Avoid empty warning box when key is already in use
- Several fixes to the calcurse-caldav synchronization script
to allow for synchronizing with NextCloud servers
- Proper support for punctual appointments starting at 00:00
- Proper ISO 8601 week numbering
- The delete key no longer acts as backspace
- Proper parsing of date-time strings
- cleanup with spec-cleaner
- remove chmod line, no longer needed
OBS-URL: https://build.opensuse.org/request/show/569767
OBS-URL: https://build.opensuse.org/package/show/utilities/calcurse?expand=0&rev=39
2018-02-05 05:26:17 +01:00
|
|
|
%doc AUTHORS COPYING
|
2011-05-29 13:52:12 +02:00
|
|
|
%doc doc/manual.html
|
Accepting request 569767 from home:avindra
- Update to version 4.3.0
* Compatibility notes:
- Month names and abbreviated day names now honor the locale
setting
- The phase of moon feature was removed
* New features:
- The selected day in the calendar now stands out
- Both the position and the date format used for the heading in
the appointments panel are configurable
- Support for CTRL-U and CTRL-G in prompts
- Support for using all keys recognized by ncurses,
particularly UTF-8 keys, in key bindings
- Support for CALCURSE_EDITOR, CALCURSE_PAGER and
CALCURSE_MERGETOOL environment variables to override the
default editor, pager and merge tool
- Several improvements to the reload and save routines. The
save routine now detects external changes to the data files
and no longer blindly overwrites data which was edited
externally. In case of external changes, different options
are offered, one of them being the execution of the merge
tool to merge external changes and changes done from the
running calcurse instance. The reload routine also no longer
performs a reload if both the external data files and the
local data are unchanged.
- Several improvements to the CalDAV synchronization script,
including OAuth2 support and instructions on how to
synchronize calcurse with Google Calendar
- Support for passing the password as a command-line argument
to the CalDAV synchronization script
- A new utility, called calcurse-dateutil, which can be used
to create "extended recurrent events" such as events
occurring on the third Thursday of each month
* Bug Fixes:
- Gracefully parse iCal parameters with colons
- Fixes to the notification feature affecting recurrent
appointments
- Do not crash when changing colors
- Avoid fatal error when using the help command
- Avoid empty warning box when key is already in use
- Several fixes to the calcurse-caldav synchronization script
to allow for synchronizing with NextCloud servers
- Proper support for punctual appointments starting at 00:00
- Proper ISO 8601 week numbering
- The delete key no longer acts as backspace
- Proper parsing of date-time strings
- cleanup with spec-cleaner
- remove chmod line, no longer needed
OBS-URL: https://build.opensuse.org/request/show/569767
OBS-URL: https://build.opensuse.org/package/show/utilities/calcurse?expand=0&rev=39
2018-02-05 05:26:17 +01:00
|
|
|
%{_bindir}/%{name}
|
|
|
|
%{_bindir}/%{name}-caldav
|
|
|
|
%{_bindir}/%{name}-upgrade
|
|
|
|
%{_mandir}/man1/%{name}.1%{ext_man}
|
2010-11-10 20:46:11 +01:00
|
|
|
%{_datadir}/applications/%{name}.desktop
|
2011-09-16 10:31:48 +02:00
|
|
|
|
2015-03-03 10:21:01 +01:00
|
|
|
%files lang -f %{name}.lang
|
2012-12-06 00:47:46 +01:00
|
|
|
|
2011-08-08 15:40:34 +02:00
|
|
|
%changelog
|