1 |
# $Id: smeserver-yum.spec,v 1.50 2012/08/31 20:09:16 slords Exp $ |
# $Id: smeserver-yum.spec,v 1.15 2017/01/06 23:28:38 unnilennium 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 1 |
%define release 14 |
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 |
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 |
|
Patch8: smeserver-yum-2.4.0.bz9902.remiGPG.patch |
21 |
BuildRoot: /var/tmp/%{name}-%{version}-%{release}-buildroot |
BuildRoot: /var/tmp/%{name}-%{version}-%{release}-buildroot |
22 |
BuildArchitectures: noarch |
BuildArchitectures: noarch |
23 |
Requires: e-smith-formmagick >= 1.4.0-12 |
Requires: e-smith-formmagick >= 1.4.0-12 |
24 |
Requires: e-smith-base |
Requires: e-smith-base |
|
Requires: yum-protect-packages |
|
25 |
Requires: perl(CGI::FormMagick) >= 0.91-26 |
Requires: perl(CGI::FormMagick) >= 0.91-26 |
26 |
Requires: rpm-python >= 4.0.4-7x.18 |
Requires: rpm-python >= 4.0.4-7x.18 |
27 |
Requires: yum >= 1.0.3-1_73 |
Requires: yum >= 1.0.3-1_73 |
31 |
Obsoletes: rpmdb-CentOS |
Obsoletes: rpmdb-CentOS |
32 |
Requires: yum-plugin-fastestmirror |
Requires: yum-plugin-fastestmirror |
33 |
Obsoletes: yum-plugin-installonlyn |
Obsoletes: yum-plugin-installonlyn |
34 |
|
Obsoletes: yum-protect-packages <= 1.1.16 |
35 |
Requires: mailx |
Requires: mailx |
36 |
BuildRequires: e-smith-devtools >= 1.13.1-03 |
BuildRequires: e-smith-devtools >= 1.13.1-03 |
37 |
Conflicts: centos-yumconf |
Conflicts: centos-yumconf |
40 |
%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 |
41 |
|
|
42 |
%changelog |
%changelog |
43 |
|
* Fri Jan 06 2017 Jean-Philipe Pialasse <tests@pialasse.com> 2.4.0-14.sme |
44 |
|
- add Remi Collet RPM GPG KEY [SME: 9902] |
45 |
|
- bump 13 to 14 to cvs add patch |
46 |
|
|
47 |
|
* Wed Jan 13 2016 Daniel Berteaud <daniel@firewall-services.com> 2.4.0-12.sme |
48 |
|
- Example to update contribs 1 by 1 [SME: 8850] |
49 |
|
|
50 |
|
* Sat Feb 21 2015 Stephane de Labrusse <stephdl@de-labrusse.fr> 2.4.0-11.sme |
51 |
|
- Set the check update frequency of smecontribs through the server-manager |
52 |
|
- [SME: 8855] |
53 |
|
|
54 |
|
* Sat Jan 10 2015 Stephane de Labrusse <stephdl@de-labrusse.fr> 2.4.0-10.sme |
55 |
|
- Add a default Yum db property for check4contribsupdates [SME: 8790] |
56 |
|
|
57 |
|
* Wed Nov 19 2014 Stephane de Labrusse <stephdl@de-labrusse.fr> 2.4.0-9.sme |
58 |
|
- Added a check-update for the smecontribs repository [SME: 8672] |
59 |
|
|
60 |
|
* Mon Jun 30 2014 Daniel Berteaud <daniel@firewall-services.com> 2.4.0-8.sme |
61 |
|
- Move protected package list to the correct location [SME: 8476] |
62 |
|
|
63 |
|
* Fri Mar 22 2013 Ian Wells <esmith@wellsi.com> 2.4.0-7.sme |
64 |
|
- Change order of mail options in check4updates [SME: 7504] |
65 |
|
|
66 |
|
* Sun Mar 17 2013 Ian Wells <esmith@wellsi.com> 2.4.0-6.sme |
67 |
|
- Change wording of Software Update button [SME: 7499] |
68 |
|
|
69 |
|
* Wed Mar 6 2013 Shad L. Lords <slords@mail.com> 2.4.0-5.sme |
70 |
|
- Obsolete el5 yum-protect-packages, provided by yum [SME: 7273] |
71 |
|
|
72 |
|
* Wed Mar 6 2013 Shad L. Lords <slords@mail.com> 2.4.0-4.sme |
73 |
|
- Update GPG keys for sme9 [SME: 7465] |
74 |
|
|
75 |
|
* Wed Feb 27 2013 Daniel Berteaud <daniel@firewall-services.com> 2.4.0-3.sme |
76 |
|
- Add fasttrack and remove addons repo [SME: 7385] |
77 |
|
|
78 |
|
* Tue Feb 5 2013 Shad L. Lords <slords@mail.com> 2.4.0-2.sme |
79 |
|
- Add back in missing parts from new stream [SME: 7305] |
80 |
|
|
81 |
* Thu Jan 31 2013 Shad L. Lords <slords@mail.com> 2.4.0-1.sme |
* Thu Jan 31 2013 Shad L. Lords <slords@mail.com> 2.4.0-1.sme |
82 |
- Roll new stream for sme9 |
- Roll new stream for sme9 |
83 |
|
|
905 |
|
|
906 |
%prep |
%prep |
907 |
%setup |
%setup |
908 |
|
%patch1 -p1 |
909 |
|
%patch2 -p1 |
910 |
|
%patch3 -p1 |
911 |
|
%patch4 -p1 |
912 |
|
%patch5 -p1 |
913 |
|
%patch6 -p1 |
914 |
|
%patch7 -p1 |
915 |
|
%patch8 -p1 |
916 |
|
|
917 |
%build |
%build |
918 |
perl createlinks |
perl createlinks |
919 |
|
ln -s /var/service/yum root/service/yum |
920 |
|
mkdir -p root/etc/yum.smerepos.d |
921 |
|
|
922 |
%install |
%install |
923 |
/bin/rm -rf $RPM_BUILD_ROOT |
/bin/rm -rf $RPM_BUILD_ROOT |
927 |
--file '/sbin/e-smith/yum_update_dbs' 'attr(0700,root,root)' \ |
--file '/sbin/e-smith/yum_update_dbs' 'attr(0700,root,root)' \ |
928 |
--file '/sbin/e-smith/yum' 'attr(0755,root,root)' \ |
--file '/sbin/e-smith/yum' 'attr(0755,root,root)' \ |
929 |
--file '/sbin/e-smith/check4updates' 'attr(0755,root,root)' \ |
--file '/sbin/e-smith/check4updates' 'attr(0755,root,root)' \ |
930 |
|
--file '/sbin/e-smith/check4contribsupdates' 'attr(0755,root,root)' \ |
931 |
--file '/etc/cron.daily/smeserver-yum' 'attr(0700,root,root)' \ |
--file '/etc/cron.daily/smeserver-yum' 'attr(0700,root,root)' \ |
932 |
--file /var/service/yum/down 'attr(0644,root,root)' \ |
--file /var/service/yum/down 'attr(0644,root,root)' \ |
933 |
--file /var/service/yum/run 'attr(0755,root,root)' \ |
--file /var/service/yum/run 'attr(0755,root,root)' \ |