Summary: A simple script and cron job to build Fedora Documentation Name: build-docs Version: 0.0.7 Release: 1 URL: http://fedoraproject.org/wiki/DocsProject License: GPL ExclusiveOS: Linux Group: Applications/Publishing BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root BuildArch: noarch Source0: %{name}-%{version}.tar.bz2 Requires: xmlto docbook-utils docbook-utils-pdf cvs make %{!?_without_cron:Requires: crontabs} %description build-docs is a script that builds Fedora Documentation. rpmbuild options: --define "_without_cron 1" Disables installation of hourly cron job (default: cron job is installed but disabled) %prep %setup -q %build make %install make INSTROOT=$RPM_BUILD_ROOT %{?_without_cron:DISABLECRON=1} install %clean rm -rf $RPM_BUILD_ROOT %post %preun %postun %files %defattr(-,root,root) %doc README %dir /var/lib/%{name} %attr(0744,root,root) /usr/bin/%{name} %if 0%{!?_without_cron:1} %attr(0744,root,root) /etc/cron.hourly/%{name}.cron %attr(0644,root,root) %config /etc/%{name}.conf %endif %changelog * Mon Apr 17 2006 Tommy Reynolds - 0.0.7-1 - Compute ${LANGUAGES} so that docs build again. Put all logs in output dir * Sun Feb 12 2006 Patrick Barnes - 0.0.6-1 - Fix empty INSTROOT Makefile flaw * Sun Feb 12 2006 Paul W. Frields - 0.0.5-1 - Provide SRPM and specfile builds for use with FE * Sat Jan 28 2006 Patrick Barnes - Fixed potentially nasty typo in Makefile (only affects non-rpm installs) - Incremented version to 0.0.4 * Sat Dec 17 2005 Patrick Barnes - Renamed package to build-docs - Updated script now allows -k flag - Incremented version to 0.0.3 * Fri Dec 02 2005 Patrick Barnes - Added last Requires - Allowed disabling of cron job - Incremented version to 0.0.2 * Fri Dec 2 2005 Paul W. Frields - Added Requires and changed to valid Group * Thu Dec 01 2005 Patrick Barnes - Initial packaging