Summary: An X Window System-based calendar program. Name: ical Version: 2.3.1 Release: 5 Source: http://www.annexia.org/freeware/ical/ical-%{PACKAGE_VERSION}.tar.gz Patch0: ical-2.3.1-free.patch Patch1: ical-2.3.1-tcltk-8.5-configure.patch Patch2: ical-2.3.1-upvar.patch Patch3: ical-2.3.1-escape.patch Url: http://www.annexia.org/freeware/ical/ License: distributable Group: Applications/Productivity BuildRoot: %{_tmppath}/%{name}-root %description Ical is an X Window System based calendar program. Ical will create/edit/delete entries, create repeating entries, remind you about upcoming appointments, print and list item occurrences, and allow shared calendars between different users. %prep %setup %patch0 -p0 %patch1 -p0 %patch2 -p0 %patch3 -p0 %build %configure --with-tclconfig=/usr/lib --prefix=/usr --with-tclscripts=/usr/share/tcl8.5 --with-tkscripts=/usr/share/tk8.5 make OPTF="$RPM_OPT_FLAGS" CXXFLAGS="$RPM_OPT_FLAGS" %install rm -rf ${RPM_BUILD_ROOT} mkdir -p ${RPM_BUILD_ROOT}%{_mandir}/man1 %makeinstall MANDIR=${RPM_BUILD_ROOT}%{_mandir} strip ${RPM_BUILD_ROOT}%{_bindir}/ical-* mkdir -p ${RPM_BUILD_ROOT}%{_sysconfdir}/X11/applnk/Applications cat > ${RPM_BUILD_ROOT}%{_sysconfdir}/X11/applnk/Applications/ical.desktop <