1 |
brianr |
1.1 |
|
2 |
|
|
Summary: smeserver - check updates of external repositories |
3 |
|
|
%define name smeserver-check4updates |
4 |
|
|
Name: %{name} |
5 |
|
|
%define version 0.0.4 |
6 |
brianr |
1.2 |
%define release 3 |
7 |
brianr |
1.1 |
Version: %{version} |
8 |
|
|
Release: %{release}%{?dist} |
9 |
|
|
License: GPL |
10 |
|
|
Group: Networking/Daemons |
11 |
|
|
Source: %{name}-%{version}.tar.gz |
12 |
|
|
BuildRoot: /var/tmp/%{name}-%{version}-%{release}-buildroot |
13 |
|
|
Requires: e-smith-base |
14 |
|
|
Requires: smeserver-release >= 9 |
15 |
|
|
BuildRequires: e-smith-devtools |
16 |
|
|
BuildArchitectures: noarch |
17 |
|
|
|
18 |
|
|
%description |
19 |
|
|
A rpm to check updates of external repositories |
20 |
|
|
|
21 |
|
|
%changelog |
22 |
brianr |
1.2 |
* Sat Jan 02 2021 Brian Read <brianr@bjsystems.co.uk> 0.0.4-3.sme |
23 |
|
|
- Initial Import to SME10 [SME: 11299 ] |
24 |
|
|
|
25 |
brianr |
1.1 |
* Sat Aug 22 2015 stephane de Labrusse <stephdl@de-labrusse.fr> 0.0.4-2.sme |
26 |
|
|
- Initial release to contribs9 |
27 |
|
|
|
28 |
|
|
* Sat Feb 21 2015 stephane de Labrusse <stephdl@de-labrusse.fr> 0.0.4-1.sme |
29 |
|
|
- Added the list of exclusion in the email |
30 |
|
|
|
31 |
|
|
* Wed Dec 24 2014 stephane de Labrusse <stephdl@de-labrusse.fr> 0.0.3-1.sme |
32 |
|
|
- Changed the db name check4update to check4updates |
33 |
|
|
|
34 |
|
|
* Tue Dec 9 2014 stephane de Labrusse <stephdl@de-labrusse.fr> 0.0.2-1.sme |
35 |
|
|
- Added an exclude list of rpm |
36 |
|
|
|
37 |
|
|
* Mon Dec 8 2014 stephane de Labrusse <stephdl@de-labrusse.fr> 0.0.1-1.sme |
38 |
|
|
- Initial release to sme9 |
39 |
|
|
|
40 |
|
|
%prep |
41 |
|
|
%setup |
42 |
|
|
|
43 |
|
|
%build |
44 |
|
|
perl createlinks |
45 |
|
|
|
46 |
|
|
%install |
47 |
|
|
rm -rf $RPM_BUILD_ROOT |
48 |
|
|
(cd root ; find . -depth -print | cpio -dump $RPM_BUILD_ROOT) |
49 |
|
|
rm -f %{name}-%{version}-%{release}-filelist |
50 |
|
|
/sbin/e-smith/genfilelist \ |
51 |
|
|
--file /sbin/e-smith/check4repositoriesupdates 'attr(0750,root,root)' \ |
52 |
|
|
$RPM_BUILD_ROOT > %{name}-%{version}-%{release}-filelist |
53 |
|
|
echo "%doc COPYING" >> %{name}-%{version}-%{release}-filelist |
54 |
|
|
|
55 |
|
|
%postun |
56 |
|
|
|
57 |
|
|
%clean |
58 |
|
|
rm -rf $RPM_BUILD_ROOT |
59 |
|
|
|
60 |
|
|
%files -f %{name}-%{version}-%{release}-filelist |
61 |
|
|
%defattr(-,root,root) |
62 |
|
|
|