1 |
# $Id$ |
2 |
# Authority: picsone |
3 |
# Name: Normando Hall |
4 |
|
5 |
%define name smeserver-sitemaker |
6 |
%define version 2.0.1 |
7 |
%define release 2 |
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 |
|
20 |
%description |
21 |
This script is designed to help you when create a new web site under /opt directory. |
22 |
visit http://wiki.contribs.org/SME_Site_Maker for usage. |
23 |
|
24 |
%changelog |
25 |
* Wed Dec 8 2007 Normando Hall <nhall@unixlan.com.ar> |
26 |
- first release |
27 |
|
28 |
|
29 |
|
30 |
%prep |
31 |
|
32 |
|
33 |
|
34 |
|
35 |
%setup |
36 |
|
37 |
%build |
38 |
|
39 |
%install |
40 |
rm -rf $RPM_BUILD_ROOT |
41 |
(cd root ; find . -depth -print | cpio -dump $RPM_BUILD_ROOT) |
42 |
rm -f %{name}-%{version}-filelist |
43 |
/sbin/e-smith/genfilelist $RPM_BUILD_ROOT > %{name}-%{version}-filelist |
44 |
|
45 |
%clean |
46 |
rm -rf $RPM_BUILD_ROOT |
47 |
|
48 |
%post |
49 |
|
50 |
|
51 |
%postun |
52 |
|
53 |
|
54 |
%files -f %{name}-%{version}-filelist |
55 |
%defattr(-,root,root) |
56 |
|
57 |
|
58 |
%attr(0755,root,root) /usr/local/bin/smesm |