SHA256
1
0
forked from pool/calcurse
calcurse/calcurse.spec

80 lines
2.3 KiB
RPMSpec
Raw Normal View History

#
# spec file for package calcurse
#
Accepting request 705899 from home:jubalh:branches:utilities - Update to 4.4.0: Compatibility notes: * The -F option is superseded by -P which can be used to remove certain entries from the data file (instead of keeping them). Please consult the man page for details. New features: * Major overhaul of the input routines in interactive mode (implemented by Lars Henriksen). * Support for separate data and configuration file directories (partly implemented by Quentin Hibon). * A --filter-invert option which inverts the other filter options (implemented by Lars Henriksen). * Support for negative date ranges when using the -d command line option. New calcurse-caldav features: * The SyncFilter configuration option which allows for specifying the types of items synced from/to the server (implemented by Satvik Sharma). * Support for a CALCURSE_CALDAV_PASSWORD environment variable which can be used to pass a password securely from another program (implemented by Randy Ramos). * HTTP support (implemented by Dino Macri). * Authorization removed from debug logs by default. Bug fixes: * Fix for an appointment becoming an event when entering an invalid start time (implemented by Lars Henriksen). * Fix for the deletion of a multi-day recurrent appointment (implemented by Lars Henriksen). * Fixes for potential database inconsistencies caused by appointments which end before they begin (implemented by Lars Henriksen). * Several fixes dealing with DST (implemented by Lars Henriksen). * Fixes for date range queries (implemented by Lars Henriksen). * Fix for segmentation fault with recent ncurses implementations. * Fix for potential segmentation fault in mutex handling. * RFC5545-compliant DTSTART in iCal exports (patch by Quentin Hibon). * Fix for not closing the stream after exporting iCal items (patch by crvs). * Fix for priority parsing in iCal imports (patch by dott). * Various improvements to the change detection and save conflict resolution code (implemented by Lars Henriksen). * Several improvements to concurrency control (implemented by Lars Henriksen). * Various fixes to the scrollbar (implemented by Lars Henriksen). * Various potential buffer overflow fixes. * A more robust command line argument parser (implemented by Lars Henriksen). * Various improvements to the UTF-8 handling code (implemented by Lars Henriksen). OBS-URL: https://build.opensuse.org/request/show/705899 OBS-URL: https://build.opensuse.org/package/show/utilities/calcurse?expand=0&rev=41
2019-05-29 09:32:07 +02:00
# Copyright (c) 2019 SUSE LINUX GmbH, Nuernberg, Germany.
#
# 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: calcurse
Accepting request 705899 from home:jubalh:branches:utilities - Update to 4.4.0: Compatibility notes: * The -F option is superseded by -P which can be used to remove certain entries from the data file (instead of keeping them). Please consult the man page for details. New features: * Major overhaul of the input routines in interactive mode (implemented by Lars Henriksen). * Support for separate data and configuration file directories (partly implemented by Quentin Hibon). * A --filter-invert option which inverts the other filter options (implemented by Lars Henriksen). * Support for negative date ranges when using the -d command line option. New calcurse-caldav features: * The SyncFilter configuration option which allows for specifying the types of items synced from/to the server (implemented by Satvik Sharma). * Support for a CALCURSE_CALDAV_PASSWORD environment variable which can be used to pass a password securely from another program (implemented by Randy Ramos). * HTTP support (implemented by Dino Macri). * Authorization removed from debug logs by default. Bug fixes: * Fix for an appointment becoming an event when entering an invalid start time (implemented by Lars Henriksen). * Fix for the deletion of a multi-day recurrent appointment (implemented by Lars Henriksen). * Fixes for potential database inconsistencies caused by appointments which end before they begin (implemented by Lars Henriksen). * Several fixes dealing with DST (implemented by Lars Henriksen). * Fixes for date range queries (implemented by Lars Henriksen). * Fix for segmentation fault with recent ncurses implementations. * Fix for potential segmentation fault in mutex handling. * RFC5545-compliant DTSTART in iCal exports (patch by Quentin Hibon). * Fix for not closing the stream after exporting iCal items (patch by crvs). * Fix for priority parsing in iCal imports (patch by dott). * Various improvements to the change detection and save conflict resolution code (implemented by Lars Henriksen). * Several improvements to concurrency control (implemented by Lars Henriksen). * Various fixes to the scrollbar (implemented by Lars Henriksen). * Various potential buffer overflow fixes. * A more robust command line argument parser (implemented by Lars Henriksen). * Various improvements to the UTF-8 handling code (implemented by Lars Henriksen). OBS-URL: https://build.opensuse.org/request/show/705899 OBS-URL: https://build.opensuse.org/package/show/utilities/calcurse?expand=0&rev=41
2019-05-29 09:32:07 +02:00
Version: 4.4.0
Release: 0
Summary: Text-based Organizer
License: BSD-2-Clause
Group: Productivity/Office/Organizers
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
BuildRequires: gettext-devel
BuildRequires: glibc-devel
BuildRequires: libtool
BuildRequires: ncurses-devel
BuildRequires: update-desktop-files
%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.
%lang_package
%prep
%setup -q
sed -i "s/#!\/usr\/bin\/env python3/#!\/usr\/bin\/python3/" contrib/caldav/calcurse-caldav.py
%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}
%install
%make_install
rm -rf "%{buildroot}%{_datadir}/doc"
install -D -m 0644 %{SOURCE3} "%{buildroot}%{_datadir}/applications/%{name}.desktop"
%if 0%{?suse_version}
%suse_update_desktop_file -r "%{name}" Office Calendar
%endif
mv "%{buildroot}%{_datadir}/locale/en" \
"%{buildroot}%{_datadir}/locale/en_US"
%find_lang %{name}
%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
%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}
%{_datadir}/applications/%{name}.desktop
%files lang -f %{name}.lang
%changelog