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