1 |
slords |
1.4 |
# $Id: smeserver-xinetd.spec,v 1.3 2008/11/25 16:20:35 slords Exp $ |
2 |
slords |
1.1 |
# Authority: dungog |
3 |
|
|
# Name: Stephen Noble |
4 |
|
|
|
5 |
|
|
%define name smeserver-xinetd |
6 |
|
|
%define version 0.1 |
7 |
|
|
%define release 1 |
8 |
|
|
Summary: Set up xinetd for services. |
9 |
|
|
Name: %{name} |
10 |
|
|
Version: %{version} |
11 |
|
|
Release: %{release}%{?dist} |
12 |
|
|
License: GNU GPL version 2 |
13 |
|
|
Group: SMEserver/addon |
14 |
|
|
Source: %{name}-%{version}.tar.gz |
15 |
|
|
BuildRoot: /var/tmp/%{name}-%{version} |
16 |
|
|
BuildArchitectures: noarch |
17 |
|
|
BuildRequires: e-smith-devtools >= 1.13.1-03 |
18 |
|
|
Requires: e-smith-release >= 7.0 |
19 |
|
|
Requires: xinetd >= 2.3.13 |
20 |
|
|
AutoReqProv: no |
21 |
|
|
|
22 |
|
|
%description |
23 |
|
|
Integration package to enable xinetd on SME Server. |
24 |
|
|
|
25 |
|
|
%changelog |
26 |
slords |
1.4 |
* Wed Apr 18 2008 Shad L. Lords <slords@mail.com> 0.1-1 |
27 |
slords |
1.1 |
- initial release |
28 |
|
|
|
29 |
|
|
%prep |
30 |
|
|
%setup |
31 |
|
|
|
32 |
|
|
%build |
33 |
|
|
perl createlinks |
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 |
|
|
echo "%doc COPYING" >> %{name}-%{version}-filelist |
41 |
|
|
|
42 |
|
|
%clean |
43 |
|
|
rm -rf $RPM_BUILD_ROOT |
44 |
|
|
|
45 |
|
|
%files -f %{name}-%{version}-filelist |
46 |
|
|
%defattr(-,root,root) |