/[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.6 - (hide 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 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 jpp 1.6 Patch4: smeserver-wsdd-0.2-bz11386.patch
24 brianr 1.3
25 jcrisp 1.1 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 jpp 1.5 * 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 jpp 1.6 also add post-action for wsdd
34     - move templated service file as dropin [SME: 11386]
35 jpp 1.5
36 jcrisp 1.4 * Mon Dec 21 2020 John Crisp <jcrisp@safeandsoundit.co.uk> 0.2-4.sme
37     - Fix masq template for iptables [SME: 11209]
38    
39 brianr 1.3 * Sun Nov 29 2020 Brian Read <brianr@bjsystems.co.uk> 0.2-3.sme
40     - Fix systemd params - WantedBy [SME: 11209]
41    
42 brianr 1.2 * 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 jcrisp 1.1 * 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 brianr 1.2 %patch0 -p1
56 brianr 1.3 %patch1 -p1
57 jcrisp 1.4 %patch2 -p1
58 jpp 1.5 %patch3 -p1
59 jpp 1.6 mkdir -p root/usr/lib/systemd/system/wsdd.service.d
60     %patch4 -p1
61 jcrisp 1.1
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