/[smecontribs]/rpms/smeserver-systemd-control/contribs10/smeserver-systemd-control.spec
ViewVC logotype

Annotation of /rpms/smeserver-systemd-control/contribs10/smeserver-systemd-control.spec

Parent Directory Parent Directory | Revision Log Revision Log | View Revision Graph Revision Graph


Revision 1.2 - (hide annotations) (download)
Tue Sep 21 11:04:34 2021 UTC (3 years, 1 month ago) by jcrisp
Branch: MAIN
CVS Tags: smeserver-systemd-control-0_1-2
Changes since 1.1: +6 -1 lines
add source notes

1 jcrisp 1.1 %define name smeserver-systemd-control
2     %define version 0.1
3 jcrisp 1.2 %define release 2
4 jcrisp 1.1 Summary: Perl module to check systemd services
5     Name: %{name}
6     Version: %{version}
7     Release: %{release}
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    
18     AutoReqProv: no
19    
20     %description
21     This module adds some systemd checks and commands for services
22 jcrisp 1.2 https://github.com/NethServer/nethserver-lib/blob/master/lib/perl/NethServer/Service.pm
23     https://raw.githubusercontent.com/NethServer/nethserver-lib/master/lib/perl/NethServer/Service.pm
24 jcrisp 1.1
25     %changelog
26 jcrisp 1.2 * Tue Sep 21 2021 John Crisp <jcrisp@safeandsoundit.co.uk> 0.1-2.sme
27     - Updated description
28    
29 jcrisp 1.1 * Wed Oct 14 2020 John Crisp <jcrisp@safeandsoundit.co.uk> 0.1-1.sme
30     - Initial build
31    
32     %prep
33     %setup
34    
35     %build
36     perl createlinks
37    
38     %install
39     rm -rf $RPM_BUILD_ROOT
40     (cd root ; find . -depth -print | cpio -dump $RPM_BUILD_ROOT)
41     rm -f %{name}-%{version}-filelist
42     /sbin/e-smith/genfilelist $RPM_BUILD_ROOT > %{name}-%{version}-filelist
43     echo "%doc COPYING" >> %{name}-%{version}-filelist
44    
45    
46     %clean
47     cd ..
48     rm -rf %{name}-%{version}
49    
50     %files -f %{name}-%{version}-filelist
51    
52     %defattr(-,root,root)
53    
54     %pre
55     %preun
56     %post
57    
58    
59     echo "****************************************"
60     echo "https://wiki.contribs.org/SystemdControl"
61     echo "****************************************"
62    
63     %postun

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