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

88 lines
2.4 KiB
RPMSpec
Raw Normal View History

#
# spec file for package calcurse
#
Accepting request 416697 from home:dmacvicar:branches:utilities - Update to version 4.1.0 * Hook support: Run scripts before/after loading or saving items. This feature can be used to automatically make Git commits or synchronize with a server when the data files are written. Example hooks can be found in the calcurse source tree. * Experimental CalDAV support: The calcurse distribution tarball now includes an experimental script called calcurse-caldav that can be used to synchronize calcurse with your mobile devices or any other computer. For details, please refer to contrib/caldav/README in the calcurse source tree. * Support for a filter mode -F that is identical to -G but writes the filtered items back to the calcurse data files instead of stdout. Can be used to remove certain items from a script. Use with care! * New long format specifiers "raw" and "hash". * A --daemon command line option to start calcurse in daemon mode. * A --quiet command line option to disable system dialogs. * Support for todo items with an undefined priority. * Support for durations when specifying recurrence end dates. * Support for decimal values when specifying durations. * Support for UTC times when importing iCal events. * Support for sending notifications for all appointments (both flagged and unflagged items). * The "Add Item" key binding now works from the calendar panel. * Week numbers in the monthly view (requested by Hakan Jerning). * Fixes to the slice computation (reported by Hakan Jerning). * Various fixes to the iCal import and export functionality. OBS-URL: https://build.opensuse.org/request/show/416697 OBS-URL: https://build.opensuse.org/package/show/utilities/calcurse?expand=0&rev=33
2016-08-03 14:36:26 +02:00
# Copyright (c) 2016 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 416697 from home:dmacvicar:branches:utilities - Update to version 4.1.0 * Hook support: Run scripts before/after loading or saving items. This feature can be used to automatically make Git commits or synchronize with a server when the data files are written. Example hooks can be found in the calcurse source tree. * Experimental CalDAV support: The calcurse distribution tarball now includes an experimental script called calcurse-caldav that can be used to synchronize calcurse with your mobile devices or any other computer. For details, please refer to contrib/caldav/README in the calcurse source tree. * Support for a filter mode -F that is identical to -G but writes the filtered items back to the calcurse data files instead of stdout. Can be used to remove certain items from a script. Use with care! * New long format specifiers "raw" and "hash". * A --daemon command line option to start calcurse in daemon mode. * A --quiet command line option to disable system dialogs. * Support for todo items with an undefined priority. * Support for durations when specifying recurrence end dates. * Support for decimal values when specifying durations. * Support for UTC times when importing iCal events. * Support for sending notifications for all appointments (both flagged and unflagged items). * The "Add Item" key binding now works from the calendar panel. * Week numbers in the monthly view (requested by Hakan Jerning). * Fixes to the slice computation (reported by Hakan Jerning). * Various fixes to the iCal import and export functionality. OBS-URL: https://build.opensuse.org/request/show/416697 OBS-URL: https://build.opensuse.org/package/show/utilities/calcurse?expand=0&rev=33
2016-08-03 14:36:26 +02:00
Version: 4.1.0
Release: 0
Summary: Text-based Organizer
License: BSD-2-Clause
Group: Productivity/Office/Organizers
Source: http://calcurse.org/files/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
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_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 COPYING NEWS README
%files
%defattr(-,root,root)
%doc AUTHORS COPYING NEWS README
%doc doc/manual.html
%{_bindir}/calcurse
Accepting request 416697 from home:dmacvicar:branches:utilities - Update to version 4.1.0 * Hook support: Run scripts before/after loading or saving items. This feature can be used to automatically make Git commits or synchronize with a server when the data files are written. Example hooks can be found in the calcurse source tree. * Experimental CalDAV support: The calcurse distribution tarball now includes an experimental script called calcurse-caldav that can be used to synchronize calcurse with your mobile devices or any other computer. For details, please refer to contrib/caldav/README in the calcurse source tree. * Support for a filter mode -F that is identical to -G but writes the filtered items back to the calcurse data files instead of stdout. Can be used to remove certain items from a script. Use with care! * New long format specifiers "raw" and "hash". * A --daemon command line option to start calcurse in daemon mode. * A --quiet command line option to disable system dialogs. * Support for todo items with an undefined priority. * Support for durations when specifying recurrence end dates. * Support for decimal values when specifying durations. * Support for UTC times when importing iCal events. * Support for sending notifications for all appointments (both flagged and unflagged items). * The "Add Item" key binding now works from the calendar panel. * Week numbers in the monthly view (requested by Hakan Jerning). * Fixes to the slice computation (reported by Hakan Jerning). * Various fixes to the iCal import and export functionality. OBS-URL: https://build.opensuse.org/request/show/416697 OBS-URL: https://build.opensuse.org/package/show/utilities/calcurse?expand=0&rev=33
2016-08-03 14:36:26 +02:00
%{_bindir}/calcurse-caldav
%{_bindir}/calcurse-upgrade
%doc %{_mandir}/man1/calcurse.1*
%{_datadir}/applications/%{name}.desktop
%files lang -f %{name}.lang
%defattr(-,root,root)
%changelog