/[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.3 - (show annotations) (download)
Sun Nov 29 18:52:24 2020 UTC (3 years, 11 months ago) by brianr
Branch: MAIN
CVS Tags: smeserver-wsdd-0_2-3_el7_sme
Changes since 1.2: +7 -1 lines
* Sun Nov 29 2020 Brian Read <brianr@bjsystems.co.uk> 0.2-3.sme
- Fix systemd params - WantedBy [SME: 11209]

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

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