1 |
# $Id: smeserver-sitemaker.spec,v 1.6 2008/04/02 15:03:59 slords Exp $ |
2 |
# Authority: picsone |
3 |
# Name: Normando Hall |
4 |
|
5 |
%define name smeserver-sitemaker |
6 |
%define version 2.0.1 |
7 |
%define release 3 |
8 |
|
9 |
Summary: Site Maker for sme server |
10 |
Name: %{name} |
11 |
Version: %{version} |
12 |
Release: %{release}%{?dist} |
13 |
License: GPL |
14 |
Group: Networking/WWW |
15 |
Source: %{name}-%{version}.tar.gz |
16 |
BuildRoot: /var/tmp/%{name}-%{version}-%{release}-buildroot |
17 |
BuildRequires: e-smith-devtools |
18 |
BuildArchitectures: noarch |
19 |
Patch2: smeserver-sitemaker-2.0.1-FixCGIandHttpdSettingsPlusWarn.patch |
20 |
|
21 |
%description |
22 |
This script is designed to help you when create a new web site under /opt directory. |
23 |
visit http://wiki.contribs.org/SME_Site_Maker for usage. |
24 |
|
25 |
%changelog |
26 |
* Wed Dec 8 2007 Normando Hall <nhall@unixlan.com.ar> |
27 |
- first release |
28 |
- CGI and httpd settings fixed |
29 |
|
30 |
|
31 |
%prep |
32 |
|
33 |
|
34 |
|
35 |
|
36 |
%setup |
37 |
%patch2 -p1 |
38 |
|
39 |
|
40 |
%build |
41 |
|
42 |
%install |
43 |
rm -rf $RPM_BUILD_ROOT |
44 |
(cd root ; find . -depth -print | cpio -dump $RPM_BUILD_ROOT) |
45 |
rm -f %{name}-%{version}-filelist |
46 |
/sbin/e-smith/genfilelist $RPM_BUILD_ROOT > %{name}-%{version}-filelist |
47 |
|
48 |
%clean |
49 |
rm -rf $RPM_BUILD_ROOT |
50 |
|
51 |
%post |
52 |
|
53 |
|
54 |
%postun |
55 |
|
56 |
|
57 |
%files -f %{name}-%{version}-filelist |
58 |
%defattr(-,root,root) |
59 |
|
60 |
|
61 |
%attr(0755,root,root) /usr/local/bin/smesm |