forked from pool/calcurse
2d7f25e77e
- New features: - Full UTF-8 support. - Much more powerful formatting options for printing items in non-interactive mode. Format strings can be specified using "--format-apt", "--format-event", "--format-recur-apt" and "--format-recur-event". - Support for vim-style count prefixes for displacement keys. - Powerful duration strings: Allows using extended duration strings, such as "+3:10" or "+1d20h5m". - A feature that allows piping items to external commands. - New key bindings to jump to the previous/next month/year. - A new configuration file format. `calcurse-upgrade` can be used to convert existing configuration files. - Several performance improvements. - Notes are now stored using hash-based file names which results in lower disk space usage. - A test suite that can be used to test the core functionality of calcurse. - "-D" and "-c" can now be used simultaneously, whereby "-c" has precedence over "-D". - A "--read-only" command line option to discard all changes to data files. - Bug fixes: - Do not hardcode paths to the default editor/pager. Rely on the "$PATH" variable instead. - Update the number of todo items when importing an iCal file to prevent some items from being inaccessible. - Fix a segmentation fault when importing iCal data (reported by Andraz Levstik). OBS-URL: https://build.opensuse.org/package/show/utilities/calcurse?expand=0&rev=21
85 lines
2.4 KiB
RPMSpec
85 lines
2.4 KiB
RPMSpec
#
|
|
# spec file for package calcurse
|
|
#
|
|
# Copyright (c) 2012 SUSE LINUX Products 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: 3.0.0
|
|
Release: 0
|
|
Summary: Text-based Organizer
|
|
License: BSD-2-Clause
|
|
Group: Productivity/Office/Organizers
|
|
# http://calcurse.org/files/calcurse-%{version}.tar.gz
|
|
Source: calcurse-%{version}.tar.gz
|
|
Source1: %{name}.desktop
|
|
Url: http://calcurse.org
|
|
BuildRoot: %{_tmppath}/%{name}-%{version}-build
|
|
BuildRequires: autoconf
|
|
BuildRequires: automake
|
|
BuildRequires: gcc
|
|
BuildRequires: gettext
|
|
BuildRequires: gettext-devel
|
|
BuildRequires: glibc-devel
|
|
BuildRequires: libtool
|
|
BuildRequires: make
|
|
BuildRequires: ncurses-devel
|
|
%if 0%{?suse_version} > 0
|
|
BuildRequires: update-desktop-files
|
|
%endif
|
|
|
|
%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.
|
|
|
|
%prep
|
|
%setup -q
|
|
|
|
%build
|
|
%configure
|
|
%__make %{?_smp_flags}
|
|
|
|
%install
|
|
%makeinstall
|
|
|
|
%__rm -rf "%{buildroot}%{_datadir}/doc"
|
|
|
|
%__install -D -m 0644 "%{SOURCE1}" "%{buildroot}%{_datadir}/applications/%{name}.desktop"
|
|
%if 0%{?suse_version} > 0
|
|
%suse_update_desktop_file -r "%{name}" Office Calendar
|
|
%endif
|
|
|
|
%__mv \
|
|
"%{buildroot}%{_datadir}/locale/en" \
|
|
"%{buildroot}%{_datadir}/locale/en_US"
|
|
|
|
%find_lang "%{name}"
|
|
|
|
%__chmod 0644 AUTHORS NEWS README TODO
|
|
|
|
%files -f "%{name}.lang"
|
|
%defattr(-,root,root)
|
|
%doc AUTHORS NEWS README TODO
|
|
%doc doc/manual.html
|
|
%{_bindir}/calcurse
|
|
%{_bindir}/calcurse-upgrade
|
|
%doc %{_mandir}/man1/calcurse.1*
|
|
%{_datadir}/applications/%{name}.desktop
|
|
|
|
%changelog
|