Name: calcurse
Version: 2.0
Release: 1%{?dist}
Summary: Text-based personal organizer
Group: Applications/Productivity
License: GPLv2+
URL: http://culot.org/calcurse/
#Real SourceURL is: http://culot.org/cgi-bin/get.cgi?%{name}-%{version}.tar.gz
#but the ? annoys rpmbuild
Source0: %{name}-%{version}.tar.gz
BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n)
BuildRequires: gettext ncurses-devel
%description
Calcurse is a text-based calendar and scheduling application. It helps
keep track of events, appointments, and everyday tasks.
A configurable notification system reminds the user of upcoming
deadlines, and the curses based interface can be customized to suit user
needs.
%prep
%setup -q
chmod a-x src/*.{c,h} AUTHORS ChangeLog NEWS README TODO
%build
%configure
make %{?_smp_mflags}
%install
rm -rf $RPM_BUILD_ROOT
make install DESTDIR=$RPM_BUILD_ROOT
%find_lang %{name}
%clean
rm -rf $RPM_BUILD_ROOT
%files -f %{name}.lang
%defattr(-,root,root,-)
%doc AUTHORS COPYING ChangeLog NEWS README TODO
%{_bindir}/calcurse
%{_mandir}/man1/calcurse.1.gz
%changelog
* Tue Apr 01 2008 Jon Ciesla <limb@jcomserv.net> 2.0-1
- Update to 2.0.
* Fri Feb 08 2008 Jon Ciesla <limb@jcomserv.net> 1.9-2
- GCC 4.3 rebuild.
* Thu Oct 25 2007 Jon Ciesla <limb@jcomserv.net> 1.9-1
- Update to 1.9.
- License tag correction.
* Wed May 30 2007 Nigel Jones <dev@nigelj.com> 1.8-2
- Minor touchups to spec file
* Wed May 23 2007 Nigel Jones <dev@nigelj.com> 1.8-1
- Initial SPEC file