1 |
Summary: smeserver - configure nfs server |
2 |
%define name smeserver-nfs |
3 |
Name: %{name} |
4 |
%define version 1.0.0 |
5 |
%define release 1 |
6 |
Version: %{version} |
7 |
Release: %{release}%{?dist} |
8 |
License: GPL |
9 |
Group: Networking/Daemons |
10 |
Source: %{name}-%{version}.tar.gz |
11 |
BuildRoot: /var/tmp/%{name}-%{version}-%{release}-buildroot |
12 |
Requires: e-smith-base >= 4.13.16-27 |
13 |
Requires: nfs-utils |
14 |
Requires: portmap |
15 |
Requires: e-smith-lib >= 1.15.1-16 |
16 |
Requires: e-smith-packetfilter >= 1.13.0-22 |
17 |
BuildRequires: e-smith-devtools >= 1.13.1-03 |
18 |
BuildArchitectures: noarch |
19 |
|
20 |
%description |
21 |
e-smith server and gateway - configure nfs server |
22 |
|
23 |
%changelog |
24 |
* Sun Apr 29 2007 Shad L. Lords <slords@mail.com> |
25 |
- Clean up spec so package can be built by koji/plague |
26 |
|
27 |
* Thu Dec 07 2006 Shad L. Lords <slords@mail.com> |
28 |
- Update to new release naming. No functional changes. |
29 |
- Make Packager generic |
30 |
|
31 |
* Mon Jan 30 2006 Shad L. Lords <slords@mail.com> |
32 |
- initial |
33 |
|
34 |
%prep |
35 |
%setup |
36 |
|
37 |
%build |
38 |
perl createlinks |
39 |
|
40 |
%install |
41 |
rm -rf $RPM_BUILD_ROOT |
42 |
(cd root ; find . -depth -print | cpio -dump $RPM_BUILD_ROOT) |
43 |
rm -f %{name}-%{version}-%{release}-filelist |
44 |
/sbin/e-smith/genfilelist $RPM_BUILD_ROOT \ |
45 |
> %{name}-%{version}-%{release}-filelist |
46 |
echo "%doc COPYING" >> %{name}-%{version}-%{release}-filelist |
47 |
|
48 |
%postun |
49 |
|
50 |
%clean |
51 |
rm -rf $RPM_BUILD_ROOT |
52 |
|
53 |
%files -f %{name}-%{version}-%{release}-filelist |
54 |
%defattr(-,root,root) |
55 |
|