/[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.6 - (show annotations) (download)
Tue Feb 23 21:53:20 2021 UTC (3 years, 8 months ago) by jpp
Branch: MAIN
CVS Tags: smeserver-wsdd-0_2-5_el7_sme, HEAD
Changes since 1.5: +5 -0 lines
* Tue Feb 23 2021 Jean-Philipe Pialasse <tests@pialasse.com> 0.2-5.sme
- improve update event to restart service and expand all necessary elements [SME: 11209]
  also add post-action for wsdd
- move templated service file as dropin [SME: 11386]

1 %define name smeserver-wsdd
2 %define version 0.2
3 %define release 5
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 Patch3: smeserver-wsdd-0.2-bz11209-improveUpdateEvent.patch
23 Patch4: smeserver-wsdd-0.2-bz11386.patch
24
25 AutoReqProv: no
26
27 %description
28 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.
29
30 %changelog
31 * Tue Feb 23 2021 Jean-Philipe Pialasse <tests@pialasse.com> 0.2-5.sme
32 - improve update event to restart service and expand all necessary elements [SME: 11209]
33 also add post-action for wsdd
34 - move templated service file as dropin [SME: 11386]
35
36 * Mon Dec 21 2020 John Crisp <jcrisp@safeandsoundit.co.uk> 0.2-4.sme
37 - Fix masq template for iptables [SME: 11209]
38
39 * Sun Nov 29 2020 Brian Read <brianr@bjsystems.co.uk> 0.2-3.sme
40 - Fix systemd params - WantedBy [SME: 11209]
41
42 * Fri Nov 27 2020 Brian Read <brianr@bjsystems.co.uk> 0.2-2.sme
43 - Add in creatlinks stuff for systemd startup [SME: 11209]
44
45 * Mon Jul 06 2020 John Crisp <jcrisp@safeandsoundit.co.uk> 0.2-1.sme
46 - template unit file
47 - template masq file
48 - systemctl enable after install
49
50 * Wed Jul 03 2020 John Crisp <jcrisp@safeandsoundit.co.uk> 0.1-1.sme
51 - Initial build
52
53 %prep
54 %setup
55 %patch0 -p1
56 %patch1 -p1
57 %patch2 -p1
58 %patch3 -p1
59 mkdir -p root/usr/lib/systemd/system/wsdd.service.d
60 %patch4 -p1
61
62 %build
63 perl createlinks
64
65 %install
66 rm -rf $RPM_BUILD_ROOT
67 (cd root ; find . -depth -print | cpio -dump $RPM_BUILD_ROOT)
68 rm -f %{name}-%{version}-filelist
69 /sbin/e-smith/genfilelist $RPM_BUILD_ROOT > %{name}-%{version}-filelist
70 echo "%doc COPYING" >> %{name}-%{version}-filelist
71
72
73 %clean
74 cd ..
75 rm -rf %{name}-%{version}
76
77 %files -f %{name}-%{version}-filelist
78
79 %defattr(-,root,root)
80
81 %pre
82 %preun
83 %post
84
85 systemctl enable wsdd
86
87 echo "****************************************"
88 echo "https://wiki.contribs.org/wsdd"
89 echo "****************************************"
90
91 %postun

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