1 |
# $Id: smeserver-yum.spec,v 1.2 2013/02/05 19:24:17 slords Exp $ |
# $Id: smeserver-yum.spec,v 1.13 2015/02/21 16:32:02 stephdl Exp $ |
2 |
|
|
3 |
%define name smeserver-yum |
%define name smeserver-yum |
4 |
Summary: YUM, an rpm updater |
Summary: YUM, an rpm updater |
5 |
Name: %{name} |
Name: %{name} |
6 |
%define version 2.4.0 |
%define version 2.4.0 |
7 |
%define release 3 |
%define release 12 |
8 |
Version: %{version} |
Version: %{version} |
9 |
Release: %{release}%{?dist} |
Release: %{release}%{?dist} |
10 |
License: GPL |
License: GPL |
11 |
Group: SMEServer/addon |
Group: SMEServer/addon |
12 |
Source: %{name}-%{version}.tar.xz |
Source: %{name}-%{version}.tar.xz |
13 |
Patch1: smeserver-yum-2.4.0-addons_fasttrack.patch |
Patch1: smeserver-yum-2.4.0-addons_fasttrack.patch |
14 |
|
Patch2: smeserver-yum-2.4.0-updatekeys.patch |
15 |
|
Patch3: smeserver-yum-2.4.0-SoftwareUpdate.patch |
16 |
|
Patch4: smeserver-yum-2.4.0-Check4Updates.patch |
17 |
|
Patch5: smeserver-yum-2.4.0-protected_packages.patch |
18 |
|
Patch6: smeserver-yum-2.4.0.check4updates_to_smecontribs.patch |
19 |
|
Patch7: smeserver-yum-2.4.0-can_update_contribs_1_by_1.patch |
20 |
BuildRoot: /var/tmp/%{name}-%{version}-%{release}-buildroot |
BuildRoot: /var/tmp/%{name}-%{version}-%{release}-buildroot |
21 |
BuildArchitectures: noarch |
BuildArchitectures: noarch |
22 |
Requires: e-smith-formmagick >= 1.4.0-12 |
Requires: e-smith-formmagick >= 1.4.0-12 |
23 |
Requires: e-smith-base |
Requires: e-smith-base |
|
Requires: yum-protect-packages |
|
24 |
Requires: perl(CGI::FormMagick) >= 0.91-26 |
Requires: perl(CGI::FormMagick) >= 0.91-26 |
25 |
Requires: rpm-python >= 4.0.4-7x.18 |
Requires: rpm-python >= 4.0.4-7x.18 |
26 |
Requires: yum >= 1.0.3-1_73 |
Requires: yum >= 1.0.3-1_73 |
30 |
Obsoletes: rpmdb-CentOS |
Obsoletes: rpmdb-CentOS |
31 |
Requires: yum-plugin-fastestmirror |
Requires: yum-plugin-fastestmirror |
32 |
Obsoletes: yum-plugin-installonlyn |
Obsoletes: yum-plugin-installonlyn |
33 |
|
Obsoletes: yum-protect-packages <= 1.1.16 |
34 |
Requires: mailx |
Requires: mailx |
35 |
BuildRequires: e-smith-devtools >= 1.13.1-03 |
BuildRequires: e-smith-devtools >= 1.13.1-03 |
36 |
Conflicts: centos-yumconf |
Conflicts: centos-yumconf |
39 |
%name is an implementation of http://linux.duke.edu/projects/yum on SME Server |
%name is an implementation of http://linux.duke.edu/projects/yum on SME Server |
40 |
|
|
41 |
%changelog |
%changelog |
42 |
|
* Wed Jan 13 2016 Daniel Berteaud <daniel@firewall-services.com> 2.4.0-12.sme |
43 |
|
- Example to update contribs 1 by 1 [SME: 8850] |
44 |
|
|
45 |
|
* Sat Feb 21 2015 Stephane de Labrusse <stephdl@de-labrusse.fr> 2.4.0-11.sme |
46 |
|
- Set the check update frequency of smecontribs through the server-manager |
47 |
|
- [SME: 8855] |
48 |
|
|
49 |
|
* Sat Jan 10 2015 Stephane de Labrusse <stephdl@de-labrusse.fr> 2.4.0-10.sme |
50 |
|
- Add a default Yum db property for check4contribsupdates [SME: 8790] |
51 |
|
|
52 |
|
* Wed Nov 19 2014 Stephane de Labrusse <stephdl@de-labrusse.fr> 2.4.0-9.sme |
53 |
|
- Added a check-update for the smecontribs repository [SME: 8672] |
54 |
|
|
55 |
|
* Mon Jun 30 2014 Daniel Berteaud <daniel@firewall-services.com> 2.4.0-8.sme |
56 |
|
- Move protected package list to the correct location [SME: 8476] |
57 |
|
|
58 |
|
* Fri Mar 22 2013 Ian Wells <esmith@wellsi.com> 2.4.0-7.sme |
59 |
|
- Change order of mail options in check4updates [SME: 7504] |
60 |
|
|
61 |
|
* Sun Mar 17 2013 Ian Wells <esmith@wellsi.com> 2.4.0-6.sme |
62 |
|
- Change wording of Software Update button [SME: 7499] |
63 |
|
|
64 |
|
* Wed Mar 6 2013 Shad L. Lords <slords@mail.com> 2.4.0-5.sme |
65 |
|
- Obsolete el5 yum-protect-packages, provided by yum [SME: 7273] |
66 |
|
|
67 |
|
* Wed Mar 6 2013 Shad L. Lords <slords@mail.com> 2.4.0-4.sme |
68 |
|
- Update GPG keys for sme9 [SME: 7465] |
69 |
|
|
70 |
* Wed Feb 27 2013 Daniel Berteaud <daniel@firewall-services.com> 2.4.0-3.sme |
* Wed Feb 27 2013 Daniel Berteaud <daniel@firewall-services.com> 2.4.0-3.sme |
71 |
- Add fasttrack and remove addons repo [SME: 7385] |
- Add fasttrack and remove addons repo [SME: 7385] |
72 |
|
|
901 |
%prep |
%prep |
902 |
%setup |
%setup |
903 |
%patch1 -p1 |
%patch1 -p1 |
904 |
|
%patch2 -p1 |
905 |
|
%patch3 -p1 |
906 |
|
%patch4 -p1 |
907 |
|
%patch5 -p1 |
908 |
|
%patch6 -p1 |
909 |
|
%patch7 -p1 |
910 |
|
|
911 |
%build |
%build |
912 |
perl createlinks |
perl createlinks |
921 |
--file '/sbin/e-smith/yum_update_dbs' 'attr(0700,root,root)' \ |
--file '/sbin/e-smith/yum_update_dbs' 'attr(0700,root,root)' \ |
922 |
--file '/sbin/e-smith/yum' 'attr(0755,root,root)' \ |
--file '/sbin/e-smith/yum' 'attr(0755,root,root)' \ |
923 |
--file '/sbin/e-smith/check4updates' 'attr(0755,root,root)' \ |
--file '/sbin/e-smith/check4updates' 'attr(0755,root,root)' \ |
924 |
|
--file '/sbin/e-smith/check4contribsupdates' 'attr(0755,root,root)' \ |
925 |
--file '/etc/cron.daily/smeserver-yum' 'attr(0700,root,root)' \ |
--file '/etc/cron.daily/smeserver-yum' 'attr(0700,root,root)' \ |
926 |
--file /var/service/yum/down 'attr(0644,root,root)' \ |
--file /var/service/yum/down 'attr(0644,root,root)' \ |
927 |
--file /var/service/yum/run 'attr(0755,root,root)' \ |
--file /var/service/yum/run 'attr(0755,root,root)' \ |