1 |
%define name smeserver-sitemaker |
2 |
%define version 2.0.1 |
3 |
%define release 01 |
4 |
|
5 |
Summary: Site Maker for sme server |
6 |
Name: %{name} |
7 |
Version: %{version} |
8 |
Release: %{release} |
9 |
License: GPL |
10 |
Group: Networking/WWW |
11 |
Source: %{name}-%{version}.tar.gz |
12 |
Packager: Normando Hall <nhall@unixlan.com.ar> |
13 |
BuildRoot: /var/tmp/%{name}-%{version}-%{release}-buildroot |
14 |
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 |