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