summaryrefslogtreecommitdiffstats
path: root/bin/build-docs/build-docs.spec
blob: 008b64a3de884bff57ecf96b399dc1359cd23cea (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
Summary: A simple script and cron job to build Fedora Documentation
Name: build-docs
Version: 0.0.3
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
%{!?_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
* Sat Dec 17 2005 Patrick Barnes <nman64@n-man.com>
- Renamed package to build-docs
- Updated script now allows -k flag
- Incremented version to 0.0.3

* Fri Dec 02 2005 Patrick Barnes <nman64@n-man.com>
- Added last Requires
- Allowed disabling of cron job
- Incremented version to 0.0.2

* Fri Dec  2 2005 Paul W. Frields <stickster@gmail.com>
- Added Requires and changed to valid Group

* Thu Dec 01 2005 Patrick Barnes <nman64@n-man.com>
- Initial packaging