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 |
slords |
1.5 |
BuildRequires: e-smith-devtools |
14 |
slords |
1.1 |
BuildArchitectures: noarch |
15 |
|
|
|
16 |
|
|
%description |
17 |
|
|
This script is designed to help you when create a new web site under /opt directory. |
18 |
|
|
visit http://wiki.contribs.org/SME_Site_Maker for usage. |
19 |
|
|
|
20 |
|
|
%changelog |
21 |
|
|
* Wed Dec 8 2007 Normando Hall <nhall@unixlan.com.ar> |
22 |
|
|
- first release |
23 |
|
|
|
24 |
|
|
|
25 |
|
|
|
26 |
|
|
%prep |
27 |
|
|
|
28 |
|
|
|
29 |
|
|
|
30 |
|
|
|
31 |
|
|
%setup |
32 |
|
|
|
33 |
|
|
%build |
34 |
|
|
|
35 |
|
|
%install |
36 |
|
|
rm -rf $RPM_BUILD_ROOT |
37 |
|
|
(cd root ; find . -depth -print | cpio -dump $RPM_BUILD_ROOT) |
38 |
|
|
rm -f %{name}-%{version}-filelist |
39 |
|
|
/sbin/e-smith/genfilelist $RPM_BUILD_ROOT > %{name}-%{version}-filelist |
40 |
|
|
|
41 |
|
|
%clean |
42 |
|
|
rm -rf $RPM_BUILD_ROOT |
43 |
|
|
|
44 |
|
|
%post |
45 |
|
|
|
46 |
|
|
|
47 |
|
|
%postun |
48 |
|
|
|
49 |
|
|
|
50 |
|
|
%files -f %{name}-%{version}-filelist |
51 |
|
|
%defattr(-,root,root) |
52 |
|
|
|
53 |
|
|
|
54 |
|
|
%attr(0755,root,root) /usr/local/bin/smesm |