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

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

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


Revision 1.4 - (show annotations) (download)
Mon Dec 21 10:20:22 2020 UTC (3 years, 5 months ago) by jcrisp
Branch: MAIN
CVS Tags: smeserver-wsdd-0_2-4_el7_sme
Changes since 1.3: +6 -1 lines
* Mon Dec 21 2020 John Crisp <jcrisp@safeandsoundit.co.uk> 0.2-4.sme
- Fix masq template for iptables [SME: 11209]

1 %define name smeserver-wsdd
2 %define version 0.2
3 %define release 4
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 Patch0: smeserver-wsdd-0.2-Add-in-systemd-startup-in-createlinks.patch
20 Patch1: smeserver-wsdd-0.2-Change-WantedBy-to-smeserver.patch
21 Patch2: smeserver-wsdd-0.2-bz11059-update-masq.patch
22
23 AutoReqProv: no
24
25 %description
26 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.
27
28 %changelog
29 * Mon Dec 21 2020 John Crisp <jcrisp@safeandsoundit.co.uk> 0.2-4.sme
30 - Fix masq template for iptables [SME: 11209]
31
32 * Sun Nov 29 2020 Brian Read <brianr@bjsystems.co.uk> 0.2-3.sme
33 - Fix systemd params - WantedBy [SME: 11209]
34
35 * Fri Nov 27 2020 Brian Read <brianr@bjsystems.co.uk> 0.2-2.sme
36 - Add in creatlinks stuff for systemd startup [SME: 11209]
37
38 * Mon Jul 06 2020 John Crisp <jcrisp@safeandsoundit.co.uk> 0.2-1.sme
39 - template unit file
40 - template masq file
41 - systemctl enable after install
42
43 * Wed Jul 03 2020 John Crisp <jcrisp@safeandsoundit.co.uk> 0.1-1.sme
44 - Initial build
45
46 %prep
47 %setup
48 %patch0 -p1
49 %patch1 -p1
50 %patch2 -p1
51
52 %build
53 perl createlinks
54
55 %install
56 rm -rf $RPM_BUILD_ROOT
57 (cd root ; find . -depth -print | cpio -dump $RPM_BUILD_ROOT)
58 rm -f %{name}-%{version}-filelist
59 /sbin/e-smith/genfilelist $RPM_BUILD_ROOT > %{name}-%{version}-filelist
60 echo "%doc COPYING" >> %{name}-%{version}-filelist
61
62
63 %clean
64 cd ..
65 rm -rf %{name}-%{version}
66
67 %files -f %{name}-%{version}-filelist
68
69 %defattr(-,root,root)
70
71 %pre
72 %preun
73 %post
74
75 systemctl enable wsdd
76
77 echo "****************************************"
78 echo "https://wiki.contribs.org/wsdd"
79 echo "****************************************"
80
81 %postun

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