/[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.2 - (show annotations) (download)
Fri Nov 27 19:30:05 2020 UTC (3 years, 11 months ago) by brianr
Branch: MAIN
CVS Tags: smeserver-wsdd-0_2-2_el7_sme
Changes since 1.1: +6 -1 lines
* Fri Nov 27 2020 Brian Read <brianr@bjsystems.co.uk> 0.2-2.sme
- Add in creatlinks stuff for systemd startup [SME: 11209]

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

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