2011-08-08 15:40:34 +02:00
|
|
|
#
|
|
|
|
# spec file for package calcurse
|
|
|
|
#
|
|
|
|
# Copyright (c) 2011 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/
|
|
|
|
#
|
|
|
|
|
|
|
|
|
2010-11-10 20:46:11 +01:00
|
|
|
|
2010-11-11 00:04:04 +01:00
|
|
|
Name: calcurse
|
2011-09-16 10:31:48 +02:00
|
|
|
Version: 2.9.2
|
|
|
|
Release: 0
|
2010-11-11 00:04:04 +01:00
|
|
|
Summary: Text-based Organizer
|
2011-05-29 13:52:12 +02:00
|
|
|
# http://calcurse.org/files/calcurse-%{version}.tar.gz
|
2010-11-11 00:04:04 +01:00
|
|
|
Source: calcurse-%{version}.tar.bz2
|
|
|
|
Source1: %{name}.desktop
|
2011-08-08 15:40:34 +02:00
|
|
|
Url: http://calcurse.org
|
2010-11-11 00:04:04 +01:00
|
|
|
Group: Productivity/Office/Organizers
|
|
|
|
License: BSD License
|
2011-08-08 15:40:34 +02:00
|
|
|
BuildRoot: %{_tmppath}/%{name}-%{version}-build
|
|
|
|
BuildRequires: gcc gettext gettext-devel glibc-devel make ncurses-devel
|
2010-11-13 22:43:11 +01:00
|
|
|
BuildRequires: autoconf automake libtool
|
2010-11-14 01:08:52 +01:00
|
|
|
%if 0%{?suse_version} > 0
|
2010-11-13 22:43:11 +01:00
|
|
|
BuildRequires: update-desktop-files
|
|
|
|
%endif
|
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.
|
|
|
|
|
|
|
|
%prep
|
|
|
|
%setup -q
|
|
|
|
|
|
|
|
%build
|
|
|
|
%configure
|
2011-05-29 13:52:12 +02:00
|
|
|
%__make %{?_smp_flags}
|
2010-11-10 20:46:11 +01:00
|
|
|
|
|
|
|
%install
|
|
|
|
%makeinstall
|
2011-05-29 13:52:12 +02:00
|
|
|
|
|
|
|
%__rm -rf "%{buildroot}%{_datadir}/doc"
|
|
|
|
|
2010-11-10 20:46:11 +01:00
|
|
|
%__install -D -m 0644 "%{SOURCE1}" "%{buildroot}%{_datadir}/applications/%{name}.desktop"
|
2010-11-14 01:08:52 +01:00
|
|
|
%if 0%{?suse_version} > 0
|
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
|
|
|
|
|
|
|
%__mv \
|
|
|
|
"%{buildroot}%{_datadir}/locale/en" \
|
|
|
|
"%{buildroot}%{_datadir}/locale/en_US"
|
|
|
|
|
|
|
|
%find_lang "%{name}"
|
|
|
|
|
2011-05-29 13:52:12 +02:00
|
|
|
%__chmod 0644 AUTHORS NEWS README TODO
|
2010-11-10 20:46:11 +01:00
|
|
|
|
|
|
|
%files -f "%{name}.lang"
|
|
|
|
%defattr(-,root,root)
|
2011-05-29 13:52:12 +02:00
|
|
|
%doc AUTHORS NEWS README TODO
|
|
|
|
%doc doc/manual.html
|
2010-11-10 20:46:11 +01:00
|
|
|
%{_bindir}/calcurse
|
2011-05-30 01:23:15 +02:00
|
|
|
%doc %{_mandir}/man1/calcurse.1*
|
2010-11-10 20:46:11 +01:00
|
|
|
%{_datadir}/applications/%{name}.desktop
|
2011-09-16 10:31:48 +02:00
|
|
|
|
2011-08-08 15:40:34 +02:00
|
|
|
%changelog
|