1 |
slords |
1.6 |
# $Id$ |
2 |
|
|
# Authority: picsone |
3 |
|
|
# Name: Normando Hall |
4 |
|
|
|
5 |
slords |
1.1 |
%define name smeserver-sitemaker |
6 |
|
|
%define version 2.0.1 |
7 |
slords |
1.3 |
%define release 2 |
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 |
|
|
|
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 |