blob: eaad788a524cb24c2a483a550111863538b8a9b1 (
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
|
Name: genome-docs
Version: 1.0.0
Release: 24%{?dist}
Summary: Genome documentation
Group: Applications/System
License: GPL
URL: http://genome.et.redhat.com
Source0: %{name}-%{version}.tar.gz
BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n)
BuildArch: noarch
BuildRequires: publican-genome
Requires: httpd
%description
Genome publican documentation
%prep
%setup -c 0
%build
make clean pdf html html-single
%install
rm -rf $RPM_BUILD_ROOT
mkdir -p $RPM_BUILD_ROOT/pub/docs/genome
mkdir -p $RPM_BUILD_ROOT/etc/httpd/conf.d
cp -r tmp/* $RPM_BUILD_ROOT/pub/docs/genome
cp docs.conf $RPM_BUILD_ROOT/etc/httpd/conf.d
%clean
rm -rf $RPM_BUILD_ROOT
%files
%defattr(-,root,root,-)
/etc/httpd/conf.d/docs.conf
/pub/docs
%doc
%changelog
|