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

Diff of /rpms/smeserver-migratehelper/contribs10/smeserver-migratehelper.spec

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

Revision 1.1 by brianr, Sat Dec 19 21:27:12 2020 UTC Revision 1.7 by jcrisp, Sat Nov 13 14:52:02 2021 UTC
# Line 1  Line 1 
1  %define version 1.0  %define version 1.0
2  %define release 1  %define release 6
3  Summary: Set up a migration helper script for SME Server.  Summary: Set up a migration helper script for SME Server.
4  Name: smeserver-migratehelper  Name: smeserver-migratehelper
5  Version: %{version}  Version: %{version}
# Line 7  Release: %{release}%{?dist} Line 7  Release: %{release}%{?dist}
7  License: GNU GPL version 2  License: GNU GPL version 2
8  URL: http://www.contribs.org  URL: http://www.contribs.org
9  Group: SMEserver/addon  Group: SMEserver/addon
10  Source: %{name}-%{version}.tar.gz  #Source: %{name}-%{version}.tar.gz
11    Source: migratehelper.sh
12  BuildRoot: /var/tmp/%{name}-%{version}-%{release}-buildroot  BuildRoot: /var/tmp/%{name}-%{version}-%{release}-buildroot
13  BuildArchitectures: noarch  BuildArchitectures: noarch
14  BuildRequires: e-smith-devtools >= 1.13.1-03  BuildRequires: e-smith-devtools >= 1.13.1-03
# Line 16  Requires: e-smith-release >= 8.0 Line 16  Requires: e-smith-release >= 8.0
16  AutoReqProv: no  AutoReqProv: no
17    
18  %description  %description
19  rpm to setup zoneminder  rpm backup all contribs data and bare essential to have a working system and then rsync data while the new system is up
20    
21  %changelog  %changelog
22    * Fri Oct 29 2021 John Crisp <jcrisp@safeandsoundit.co.uk> 1.0-6.sme
23    - add check/create for a /mnt/backup dir
24    - Fix typos
25    - Fix bash syntax errors via the IDE plugin
26    - Add some switches for help, test, no confirm
27    
28    * Thu Oct 21 2021 Jean-Philippe Pialasse <tests@pialasse.com> 1.0-5.sme
29    - fix missing samba domain user [SME: 11706]
30    - fix missing user cron jobs [SME: 11664]
31    
32    * Tue Jun 01 2021 Jean-Philippe Pialasse <tests@pialasse.com> 1.0-4.sme
33    - fix fail2ban listing  [SME: 11576]
34    
35    * Sun Apr 25 2021 Jean-Philippe Pialasse <tests@pialasse.com> 1.0-3.sme
36    - reduce noise for tar [SME: 11576]
37    
38    * Thu Apr 01 2021 Jean-Philippe Pialasse <tests@pialasse.com> 1.0-2.sme
39    - add backup of spamassassin admin config
40    - add search for non rpm owned folder in /usr/local
41    
42  * Sat Jan 05 2019 Jean-Philipe Pialasse <tests@pialasse.com> 1.0-1.sme  * Sat Jan 05 2019 Jean-Philipe Pialasse <tests@pialasse.com> 1.0-1.sme
43  - initial release [SME: ]  - initial release [SME: 11275]
44    - TODO use SME 10 includes / excludes
45    
46  %prep  %prep
47  %setup  #%setup
48    pwd  >&2
49    ls >&2
50    mkdir -p  %{name}-%{version}-%{release}/root/usr/bin
51    cp %{SOURCE0} %{name}-%{version}-%{release}/root/usr/bin
52    cd %{name}-%{version}-%{release}
53    
54  %build  %build
55  perl createlinks  #perl createlinks
56    
57  %install  %install
58    
59  rm -rf $RPM_BUILD_ROOT  rm -rf $RPM_BUILD_ROOT
60  (cd root ; find . -depth -print | cpio -dump $RPM_BUILD_ROOT)  (cd %{name}-%{version}-%{release}/root ; find . -depth -print | cpio -dump $RPM_BUILD_ROOT)
61  rm -f %{name}-%{version}-filelist  rm -f %{name}-%{version}-filelist
62  /sbin/e-smith/genfilelist $RPM_BUILD_ROOT \  /sbin/e-smith/genfilelist $RPM_BUILD_ROOT \
63       > %{name}-%{version}-filelist       > %{name}-%{version}-filelist


Legend:
Removed lines/characters  
Changed lines/characters
  Added lines/characters

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