/[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.5 - (hide annotations) (download)
Tue Feb 23 21:38:41 2021 UTC (3 years, 9 months ago) by jpp
Branch: MAIN
Changes since 1.4: +6 -1 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]

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

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