summaryrefslogtreecommitdiffstats
path: root/everest-site.spec
blob: 76e3ef5b5018052f91056c4fc4da6b18cc91391a (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
Name:           everest-site
Version:        1.0.0
Release:        14%{?dist}
Summary:        Everest web site 

Group:          Applications/System
License:        GPL 
URL:            http://everest-repo.usersys.redhat.com 
Source0:        %{name}-%{version}.tar.gz
BuildRoot:      %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n)
BuildArch:      noarch

Requires:       httpd
Requires:       php

%description
Basic web site for everest

%prep
%setup -c 0

%build

%install
rm -rf $RPM_BUILD_ROOT

mkdir -p $RPM_BUILD_ROOT/pub/site
mkdir -p $RPM_BUILD_ROOT/etc/httpd/conf.d

cp -r content/* $RPM_BUILD_ROOT/pub/site

cp site.conf $RPM_BUILD_ROOT/etc/httpd/conf.d

%clean
rm -rf $RPM_BUILD_ROOT

%files
%defattr(-,root,root,-)
/etc/httpd/conf.d/site.conf
/pub/site

%defattr(755,root,root)

%doc


%changelog