1 |
brianr |
1.1 |
%define version 1.0 |
2 |
|
|
%define release 1 |
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 |
|
|
|
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 to setup zoneminder |
20 |
|
|
|
21 |
|
|
%changelog |
22 |
|
|
* Sat Jan 05 2019 Jean-Philipe Pialasse <tests@pialasse.com> 1.0-1.sme |
23 |
|
|
- initial release [SME: ] |
24 |
|
|
|
25 |
|
|
%prep |
26 |
|
|
%setup |
27 |
|
|
|
28 |
|
|
%build |
29 |
|
|
perl createlinks |
30 |
|
|
|
31 |
|
|
%install |
32 |
|
|
rm -rf $RPM_BUILD_ROOT |
33 |
|
|
(cd root ; find . -depth -print | cpio -dump $RPM_BUILD_ROOT) |
34 |
|
|
rm -f %{name}-%{version}-filelist |
35 |
|
|
/sbin/e-smith/genfilelist $RPM_BUILD_ROOT \ |
36 |
|
|
> %{name}-%{version}-filelist |
37 |
|
|
|
38 |
|
|
%clean |
39 |
|
|
rm -rf $RPM_BUILD_ROOT |
40 |
|
|
|
41 |
|
|
%post |
42 |
|
|
|
43 |
|
|
%postun |
44 |
|
|
|
45 |
|
|
%files -f %{name}-%{version}-filelist |
46 |
|
|
%defattr(-,root,root) |