Name: ccal License: GPLv2+ Group: System/Base Version: 2.5 Release: %mkrel 1 URL: http://ccal.chinesebay.com/ccal/ccal.htm Summary: A program to display a calendar together with Chinese calendar Source: http://ccal.chinesebay.com/ccal/%{name}-%{version}.tar.gz BuildRoot: %{_tmppath}/%name-%version-%release-root Patch0: ccal-2.4-fix-prefix.patch Requires: ghostscript %description The ccal utility writes a Gregorian calendar together with Chinese calendar to standard output. %prep %setup -q %patch0 -p0 %build export CXXFLAGS="%optflags" %make %install [ "$RPM_BUILD_ROOT" != "/" ] && [ -d $RPM_BUILD_ROOT ] && rm -rf $RPM_BUILD_ROOT %makeinstall_std %makeinstall_std-man %files %defattr(-, root, root) %doc ChangeLog README %{_mandir}/man1/* %attr(0755, root, root) %{_bindir}/ccal %attr(0755, root, root) %{_bindir}/ccalpdf %clean rm -rf ${RPM_BUILD_ROOT} %changelog * Tue Jun 16 2009 Jérôme Brenier <incubusss@mandriva.org> 2.5-1mdv2010.0 + Revision: 386392 - update to new version 2.5 - fix URL / Source * Wed Jul 23 2008 Thierry Vignaud <tvignaud@mandriva.com> 2.4-3mdv2009.0 + Revision: 243439 - rebuild - kill re-definition of %%buildroot on Pixel's request + Olivier Blin <oblin@mandriva.com> - restore BuildRoot * Sat Dec 08 2007 Funda Wang <fundawang@mandriva.org> 2.4-1mdv2008.1 + Revision: 116474 - requires ghostscript (for ccalpdf) - Import source and spec - Created package structure for ccal.