1 |
slords |
1.8 |
# $Id: smeserver-sitemaker.spec,v 1.7 2008/06/29 08:33:34 picsone Exp $ |
2 |
slords |
1.6 |
# Authority: picsone |
3 |
|
|
# Name: Normando Hall |
4 |
|
|
|
5 |
slords |
1.1 |
%define name smeserver-sitemaker |
6 |
|
|
%define version 2.0.1 |
7 |
picsone |
1.7 |
%define release 3 |
8 |
slords |
1.1 |
|
9 |
|
|
Summary: Site Maker for sme server |
10 |
|
|
Name: %{name} |
11 |
|
|
Version: %{version} |
12 |
slords |
1.2 |
Release: %{release}%{?dist} |
13 |
slords |
1.1 |
License: GPL |
14 |
|
|
Group: Networking/WWW |
15 |
|
|
Source: %{name}-%{version}.tar.gz |
16 |
|
|
BuildRoot: /var/tmp/%{name}-%{version}-%{release}-buildroot |
17 |
slords |
1.5 |
BuildRequires: e-smith-devtools |
18 |
slords |
1.1 |
BuildArchitectures: noarch |
19 |
picsone |
1.7 |
Patch2: smeserver-sitemaker-2.0.1-FixCGIandHttpdSettingsPlusWarn.patch |
20 |
slords |
1.1 |
|
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 |
picsone |
1.7 |
- CGI and httpd settings fixed |
29 |
slords |
1.1 |
|
30 |
|
|
|
31 |
|
|
%prep |
32 |
|
|
|
33 |
|
|
|
34 |
|
|
|
35 |
|
|
|
36 |
|
|
%setup |
37 |
picsone |
1.7 |
%patch2 -p1 |
38 |
|
|
|
39 |
slords |
1.1 |
|
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 |