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

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

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


Revision 1.8 - (hide annotations) (download)
Sun Nov 14 12:47:20 2021 UTC (3 years ago) by jcrisp
Branch: MAIN
CVS Tags: smeserver-migratehelper-1_0-7_el7_sme
Changes since 1.7: +4 -1 lines
* Sun Nov 14 2021 John Crisp <jcrisp@safeandsoundit.co.uk> 1.0-7.sme
- remove debug line left by mistake

* Fri Oct 29 2021 John Crisp <jcrisp@safeandsoundit.co.uk> 1.0-6.sme
- add check/create for a /mnt/backup dir
- Fix typos
- Fix bash syntax errors via the IDE plugin
- Add some switches for help, test, no confirm

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

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