1 |
|
2 |
Summary: smeserver - check updates of external repositories |
3 |
%define name smeserver-check4updates |
4 |
Name: %{name} |
5 |
%define version 0.0.4 |
6 |
%define release 2 |
7 |
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 |
* Sat Aug 22 2015 stephane de Labrusse <stephdl@de-labrusse.fr> 0.0.4-2.sme |
23 |
- Initial release to contribs9 |
24 |
|
25 |
* Sat Feb 21 2015 stephane de Labrusse <stephdl@de-labrusse.fr> 0.0.4-1.sme |
26 |
- Added the list of exclusion in the email |
27 |
|
28 |
* Wed Dec 24 2014 stephane de Labrusse <stephdl@de-labrusse.fr> 0.0.3-1.sme |
29 |
- Changed the db name check4update to check4updates |
30 |
|
31 |
* Tue Dec 9 2014 stephane de Labrusse <stephdl@de-labrusse.fr> 0.0.2-1.sme |
32 |
- Added an exclude list of rpm |
33 |
|
34 |
* Mon Dec 8 2014 stephane de Labrusse <stephdl@de-labrusse.fr> 0.0.1-1.sme |
35 |
- Initial release to sme9 |
36 |
|
37 |
%prep |
38 |
%setup |
39 |
|
40 |
%build |
41 |
perl createlinks |
42 |
|
43 |
%install |
44 |
rm -rf $RPM_BUILD_ROOT |
45 |
(cd root ; find . -depth -print | cpio -dump $RPM_BUILD_ROOT) |
46 |
rm -f %{name}-%{version}-%{release}-filelist |
47 |
/sbin/e-smith/genfilelist \ |
48 |
--file /sbin/e-smith/check4repositoriesupdates 'attr(0750,root,root)' \ |
49 |
$RPM_BUILD_ROOT > %{name}-%{version}-%{release}-filelist |
50 |
echo "%doc COPYING" >> %{name}-%{version}-%{release}-filelist |
51 |
|
52 |
%postun |
53 |
|
54 |
%clean |
55 |
rm -rf $RPM_BUILD_ROOT |
56 |
|
57 |
%files -f %{name}-%{version}-%{release}-filelist |
58 |
%defattr(-,root,root) |
59 |
|