2010-11-11 00:04:04 +01:00
|
|
|
# vim: set ts=4 sw=4 et:
|
2010-11-10 20:46:11 +01:00
|
|
|
|
2010-11-11 00:04:04 +01:00
|
|
|
Name: calcurse
|
|
|
|
Version: 2.8
|
2010-11-10 20:46:11 +01:00
|
|
|
Release: 0
|
2010-11-11 00:04:04 +01:00
|
|
|
Summary: Text-based Organizer
|
2010-11-10 20:46:11 +01:00
|
|
|
# http://culot.org/cgi-bin/get.cgi?calcurse-%{version}.tar.gz
|
2010-11-11 00:04:04 +01:00
|
|
|
Source: calcurse-%{version}.tar.bz2
|
|
|
|
Source1: %{name}.desktop
|
|
|
|
URL: http://culot.org/calcurse/
|
|
|
|
Group: Productivity/Office/Organizers
|
|
|
|
License: BSD License
|
|
|
|
BuildRoot: %{_tmppath}/build-%{name}-%{version}
|
|
|
|
BuildRequires: ncurses-devel gcc make glibc-devel gettext gettext-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.
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
Authors:
|
|
|
|
--------
|
|
|
|
Frédéric Culot <frederic@culot.org>
|
|
|
|
|
|
|
|
%prep
|
|
|
|
%setup -q
|
|
|
|
|
|
|
|
%build
|
|
|
|
%configure
|
|
|
|
%__make %{?jobs:-j%{jobs}}
|
|
|
|
|
|
|
|
%install
|
|
|
|
%makeinstall
|
|
|
|
%__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}"
|
|
|
|
|
|
|
|
%__chmod 0644 AUTHORS ChangeLog NEWS README TODO
|
|
|
|
|
|
|
|
%clean
|
|
|
|
%{?buildroot:%__rm -rf "%{buildroot}"}
|
|
|
|
|
|
|
|
%files -f "%{name}.lang"
|
|
|
|
%defattr(-,root,root)
|
|
|
|
%doc AUTHORS ChangeLog NEWS README TODO
|
|
|
|
%{_bindir}/calcurse
|
|
|
|
%doc %{_mandir}/man1/calcurse.1%{ext_man}
|
|
|
|
%{_datadir}/applications/%{name}.desktop
|
|
|
|
|