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 |
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 |
* 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 |
23 |
- initial release [SME: ] |
- initial release [SME: 11275] |
24 |
|
- TODO use SME 10 includes / excludes |
25 |
|
|
26 |
%prep |
%prep |
27 |
%setup |
#%setup |
28 |
|
pwd >&2 |
29 |
|
ls >&2 |
30 |
|
mkdir -p %{name}-%{version}-%{release}/root/usr/bin |
31 |
|
cp %{SOURCE0} %{name}-%{version}-%{release}/root/usr/bin |
32 |
|
cd %{name}-%{version}-%{release} |
33 |
|
|
34 |
%build |
%build |
35 |
perl createlinks |
#perl createlinks |
36 |
|
|
37 |
%install |
%install |
38 |
|
|
39 |
rm -rf $RPM_BUILD_ROOT |
rm -rf $RPM_BUILD_ROOT |
40 |
(cd root ; find . -depth -print | cpio -dump $RPM_BUILD_ROOT) |
(cd %{name}-%{version}-%{release}/root ; find . -depth -print | cpio -dump $RPM_BUILD_ROOT) |
41 |
rm -f %{name}-%{version}-filelist |
rm -f %{name}-%{version}-filelist |
42 |
/sbin/e-smith/genfilelist $RPM_BUILD_ROOT \ |
/sbin/e-smith/genfilelist $RPM_BUILD_ROOT \ |
43 |
> %{name}-%{version}-filelist |
> %{name}-%{version}-filelist |