SHA256
1
0
forked from pool/calcurse
calcurse/calcurse.spec
OBS User mrdocs 90b47a70a0 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 04:26:17 +00:00

79 lines
2.2 KiB
RPMSpec

#
# spec file for package calcurse
#
# Copyright (c) 2018 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
Version: 4.3.0
Release: 0
Summary: Text-based Organizer
License: BSD-2-Clause
Group: Productivity/Office/Organizers
Url: http://calcurse.org
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
%build
%configure
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
%doc AUTHORS COPYING
%doc doc/manual.html
%{_bindir}/%{name}
%{_bindir}/%{name}-caldav
%{_bindir}/%{name}-upgrade
%{_mandir}/man1/%{name}.1%{ext_man}
%{_datadir}/applications/%{name}.desktop
%files lang -f %{name}.lang
%changelog