File gcal.spec of Package gcal

Name:           gcal
Summary:        A Program for Printing Calendars
License:        GPL v3 or later
Group:          Productivity/Office/Organizers
Version:        3.6
Release:        1
Source:         ftp://ftp.gnu.org/gnu/gcal/gcal-%{version}.tar.bz2
Patch0:         gcal-3.01-longerstrings.patch
Patch1:		gcal-3.6-cleanup.patch
BuildRequires:  ncurses-devel
BuildRoot:      %{_tmppath}/%{name}-%{version}-build
PreReq:         %install_info_prereq

%description
Gcal is a program for printing calendars.  Gcal displays a calendar for
a month or a year, eternal holiday lists, and fixed date lists.  The
program correctly omits the dates that were skipped when the current
Gregorian calendar replaced the earlier Julian calendar.



Authors:
--------
    Thomas Esken <esken@uni-muenster.de>

%prep
%setup -q
%patch0
%patch1

%build
%configure --disable-silent-rules --enable-de
make "CFLAGS=$RPM_OPT_FLAGS" 

%install
make DESTDIR=$RPM_BUILD_ROOT install
%find_lang %name

%post
%install_info --info-dir=%{_infodir} %{_infodir}/%{name}.info.gz

%postun
%install_info_delete --info-dir=%{_infodir} %{_infodir}/%{name}.info.gz

%clean
rm -rf $RPM_BUILD_ROOT

%files -f %name.lang
%defattr(-,root,root)
%doc BUGS ChangeLog LIMITATIONS README TODO AUTHORS COPYING NEWS THANKS
%doc data/gcalrc doc/GREG-REFORM
%_datadir/gcal
%_bindir/gcal
%_bindir/gcal2txt
%_bindir/tcal
%_bindir/txt2gcal
%_infodir/gcal.info.gz

%changelog
openSUSE Build Service is sponsored by