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

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

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


Revision 1.6 - (show annotations) (download)
Fri Oct 22 02:13:39 2021 UTC (3 years, 1 month ago) by jpp
Branch: MAIN
CVS Tags: smeserver-migratehelper-1_0-5_el7_sme
Changes since 1.5: +5 -1 lines
* Thu Oct 21 2021 Jean-Philippe Pialasse <tests@pialasse.com> 1.0-5.sme
- fix missing samba domain user [SME: 11706]
- fix missing user cron jobs [SME: 11664]

1 %define version 1.0
2 %define release 5
3 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 #Source: %{name}-%{version}.tar.gz
11 Source: migratehelper.sh
12 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 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
22 * Thu Oct 21 2021 Jean-Philippe Pialasse <tests@pialasse.com> 1.0-5.sme
23 - fix missing samba domain user [SME: 11706]
24 - fix missing user cron jobs [SME: 11664]
25
26 * Tue Jun 01 2021 Jean-Philippe Pialasse <tests@pialasse.com> 1.0-4.sme
27 - fix fail2ban listing [SME: 11576]
28
29 * Sun Apr 25 2021 Jean-Philippe Pialasse <tests@pialasse.com> 1.0-3.sme
30 - reduce noise for tar [SME: 11576]
31
32 * Thu Apr 01 2021 Jean-Philippe Pialasse <tests@pialasse.com> 1.0-2.sme
33 - add backup of spamassassin admin config
34 - add search for non rpm owned folder in /usr/local
35
36 * Sat Jan 05 2019 Jean-Philipe Pialasse <tests@pialasse.com> 1.0-1.sme
37 - initial release [SME: 11275]
38 - TODO use SME 10 includes / excludes
39
40 %prep
41 #%setup
42 pwd >&2
43 ls >&2
44 mkdir -p %{name}-%{version}-%{release}/root/usr/bin
45 cp %{SOURCE0} %{name}-%{version}-%{release}/root/usr/bin
46 cd %{name}-%{version}-%{release}
47
48 %build
49 #perl createlinks
50
51 %install
52
53 rm -rf $RPM_BUILD_ROOT
54 (cd %{name}-%{version}-%{release}/root ; find . -depth -print | cpio -dump $RPM_BUILD_ROOT)
55 rm -f %{name}-%{version}-filelist
56 /sbin/e-smith/genfilelist $RPM_BUILD_ROOT \
57 > %{name}-%{version}-filelist
58
59 %clean
60 rm -rf $RPM_BUILD_ROOT
61
62 %post
63
64 %postun
65
66 %files -f %{name}-%{version}-filelist
67 %defattr(-,root,root)

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