/[smecontribs]/rpms/smeserver-wsdd/contribs10/smeserver-wsdd.spec
ViewVC logotype

Annotation of /rpms/smeserver-wsdd/contribs10/smeserver-wsdd.spec

Parent Directory Parent Directory | Revision Log Revision Log | View Revision Graph Revision Graph


Revision 1.1 - (hide annotations) (download)
Wed Oct 28 14:31:22 2020 UTC (4 years, 1 month ago) by jcrisp
Branch: MAIN
CVS Tags: smeserver-wsdd-0_2-1_el7_sme
Initial import

1 jcrisp 1.1 %define name smeserver-wsdd
2     %define version 0.2
3     %define release 1
4     Summary: Plugin to enable wsdd
5     Name: %{name}
6     Version: %{version}
7     Release: %{release}%{?dist}
8     License: GNU GPL version 2
9     URL: http://libreswan.org/
10     Group: SMEserver/addon
11     Source: %{name}-%{version}.tar.gz
12     BuildRoot: /var/tmp/%{name}-%{version}
13     BuildArchitectures: noarch
14     BuildRequires: e-smith-devtools
15     Requires: e-smith-release >= 10.0
16     Requires: python3
17     Requires: wsdd >= 0.6
18    
19     AutoReqProv: no
20    
21     %description
22     wsdd implements a Web Service Discovery host daemon. This enables (Samba) hosts, like your local NAS device, to be found by Web Service Discovery Clients like Windows.
23    
24     %changelog
25     * Mon Jul 06 2020 John Crisp <jcrisp@safeandsoundit.co.uk> 0.2-1.sme
26     - template unit file
27     - template masq file
28     - systemctl enable after install
29    
30     * Wed Jul 03 2020 John Crisp <jcrisp@safeandsoundit.co.uk> 0.1-1.sme
31     - Initial build
32    
33     %prep
34     %setup
35    
36     %build
37     perl createlinks
38    
39     %install
40     rm -rf $RPM_BUILD_ROOT
41     (cd root ; find . -depth -print | cpio -dump $RPM_BUILD_ROOT)
42     rm -f %{name}-%{version}-filelist
43     /sbin/e-smith/genfilelist $RPM_BUILD_ROOT > %{name}-%{version}-filelist
44     echo "%doc COPYING" >> %{name}-%{version}-filelist
45    
46    
47     %clean
48     cd ..
49     rm -rf %{name}-%{version}
50    
51     %files -f %{name}-%{version}-filelist
52    
53     %defattr(-,root,root)
54    
55     %pre
56     %preun
57     %post
58    
59     systemctl enable wsdd
60    
61     echo "****************************************"
62     echo "https://wiki.contribs.org/wsdd"
63     echo "****************************************"
64    
65     %postun

admin@koozali.org
ViewVC Help
Powered by ViewVC 1.2.1 RSS 2.0 feed