/[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.1 - (hide annotations) (download)
Wed Oct 28 21:30:04 2020 UTC (4 years ago) by jcrisp
Branch: MAIN
CVS Tags: smeserver-systemd-control-0_1-1
Initial import

1 jcrisp 1.1 %define name smeserver-systemd-control
2     %define version 0.1
3     %define release 1
4     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    
23     %changelog
24     * Wed Oct 14 2020 John Crisp <jcrisp@safeandsoundit.co.uk> 0.1-1.sme
25     - Initial build
26    
27     %prep
28     %setup
29    
30     %build
31     perl createlinks
32    
33     %install
34     rm -rf $RPM_BUILD_ROOT
35     (cd root ; find . -depth -print | cpio -dump $RPM_BUILD_ROOT)
36     rm -f %{name}-%{version}-filelist
37     /sbin/e-smith/genfilelist $RPM_BUILD_ROOT > %{name}-%{version}-filelist
38     echo "%doc COPYING" >> %{name}-%{version}-filelist
39    
40    
41     %clean
42     cd ..
43     rm -rf %{name}-%{version}
44    
45     %files -f %{name}-%{version}-filelist
46    
47     %defattr(-,root,root)
48    
49     %pre
50     %preun
51     %post
52    
53    
54     echo "****************************************"
55     echo "https://wiki.contribs.org/SystemdControl"
56     echo "****************************************"
57    
58     %postun

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