File plan.spec of Package plan

Name: plan
Summary: An X/Motif day planner
Version: 1.10
Release: 1
License: GPL
Group: Applications/Publishing
Source: %{name}-%{version}.tar.gz
Patch0:  %{name}-debug.diff
Patch1:  %{name}-64bit.diff
Patch2: oss112.diff
BuildRoot: %{_tmppath}/build-root-%{name}
Distribution: openSUSE
Prefix: /usr
BuildRequires: motif-devel xorg-x11-devel bison flex

%if 0%{?suse_version} > 1010
BuildRequires: xorg-x11-libSM-devel

Plan is a schedule planner based on X/Motif. It displays a month calendar
similar to xcal, but every day box is large enough to show appointments in
small print. By pressing on a day box, the appointments for that day can be
listed and edited. Appointments are entered with the following information
(everything except the time is optional):

- the date, time, and length (time and days) of the appointment,
- an optional text message to be printed,
- an optional script to be executed,
- early-warn and late-warn triggers that precede the alarm time
- repetitions: [n-th] weekdays, days-of-the-month, every n days, yearly
- optional fast command-line appointment entry
- flexible ways to specify holidays and vacations
- extensive context help
- multiuser capability using an IP server program (with access lists),
- grouping of appointments into files, per-user, private, and others

The action being taken when a warn or alarm time is reached is programmable;
by default a window pops up. In addition, a program can be executed, or mail
can be sent. Other methods of listing appointments (today, this week, next
week, or a keyword search for regular expressions) are also available. Plan
can be configured to display times in 12-hour or 24-hour formats, mmddyy and
ddmmyy date formats, and can show either Monday or Sunday in the leftmost
column. Four view modes are supported: month, year, week, day, and a 365-day
overview. The day, week, and overview plot appointments as colored and
labeled bars on a time chart.


%setup -q

%patch0 -p1

%ifarch x86_64
%patch1 -p1
%if 0%{?suse_version} > 1110
%patch2 -p1


cd src
%if 0%{?suse_version} > 1110
./configure 6
./configure 5

%ifarch x86_64


cd src



%if 0%{?suse_version} > 1110

* Fri Jun 26 2008
- more buildservice rules adhered
* Tue Apr 24 2007
- update to 1.10
* Thu Apr 12 2007
- initital packaging after a packman request