File gcal.spec of Package gcal
#
# spec file for package gcal (Version 3.6)
#
# Copyright (c) 2010 SUSE LINUX Products GmbH, Nuernberg, Germany.
#
# All modifications and additions to the file contributed by third parties
# remain the property of their copyright owners, unless otherwise agreed
# upon. The license for this file, and modifications and additions to the
# file, is the same license as for the pristine package itself (unless the
# license for the pristine package is not an Open Source License, in which
# case the license is the MIT License). An "Open Source License" is a
# license that conforms to the Open Source Definition (Version 1.9)
# published by the Open Source Initiative.
# Please submit bugfixes or comments via http://bugs.opensuse.org/
#
Name: gcal
Summary: A Program for Printing Calendars
License: GPLv3+
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