1 |
# $Id: smeserver-yum.spec,v 1.1 2013/01/31 18:15:34 slords Exp $ |
# $Id: smeserver-yum.spec,v 1.18 2017/05/03 04:07:52 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 2 |
%define release 17 |
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 |
|
Patch9: smeserver-yum-2.4.0.bz10102.scloGPGkey.patch |
22 |
|
Patch10: smeserver-yum-2.4.0.bz10264.patch |
23 |
BuildRoot: /var/tmp/%{name}-%{version}-%{release}-buildroot |
BuildRoot: /var/tmp/%{name}-%{version}-%{release}-buildroot |
24 |
BuildArchitectures: noarch |
BuildArchitectures: noarch |
25 |
Requires: e-smith-formmagick >= 1.4.0-12 |
Requires: e-smith-formmagick >= 1.4.0-12 |
26 |
Requires: e-smith-base |
Requires: e-smith-base |
|
Requires: yum-protect-packages |
|
27 |
Requires: perl(CGI::FormMagick) >= 0.91-26 |
Requires: perl(CGI::FormMagick) >= 0.91-26 |
28 |
Requires: rpm-python >= 4.0.4-7x.18 |
Requires: rpm-python >= 4.0.4-7x.18 |
29 |
Requires: yum >= 1.0.3-1_73 |
Requires: yum >= 1.0.3-1_73 |
33 |
Obsoletes: rpmdb-CentOS |
Obsoletes: rpmdb-CentOS |
34 |
Requires: yum-plugin-fastestmirror |
Requires: yum-plugin-fastestmirror |
35 |
Obsoletes: yum-plugin-installonlyn |
Obsoletes: yum-plugin-installonlyn |
36 |
|
Obsoletes: yum-protect-packages <= 1.1.16 |
37 |
|
Requires: yum-plugin-post-transaction-actions |
38 |
Requires: mailx |
Requires: mailx |
39 |
BuildRequires: e-smith-devtools >= 1.13.1-03 |
BuildRequires: e-smith-devtools >= 1.13.1-03 |
40 |
Conflicts: centos-yumconf |
Conflicts: centos-yumconf |
43 |
%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 |
44 |
|
|
45 |
%changelog |
%changelog |
46 |
|
* Mon Nov 06 2017 Jean-Philipe Pialasse <tests@pialasse.com> 2.4.0-17.sme |
47 |
|
- add yum-plugin-post-transaction-actions as requirement [SME: 1191] |
48 |
|
|
49 |
|
* Wed May 03 2017 Jean-Philipe Pialasse <tests@pialasse.com> 2.4.0-16.sme |
50 |
|
- add rpmfusion free el6 RPM GPG key [SME: 10264] |
51 |
|
|
52 |
|
* Sat Feb 25 2017 Jean-Philipe Pialasse <tests@pialasse.com> 2.4.0-15.sme |
53 |
|
- added centos SCLo SIG gpg rpm signing key [SME: 10102] |
54 |
|
- wil allow to install SCL packages directly from smecontribs |
55 |
|
|
56 |
|
* Sun Jan 08 2017 BogusDateBot |
57 |
|
- Eliminated rpmbuild "bogus date" warnings due to inconsistent weekday, |
58 |
|
by assuming the date is correct and changing the weekday. |
59 |
|
Fri May 31 2005 --> Fri May 27 2005 or Tue May 31 2005 or Fri Jun 03 2005 or .... |
60 |
|
Wed Mar 06 2006 --> Wed Mar 01 2006 or Mon Mar 06 2006 or Wed Mar 08 2006 or .... |
61 |
|
Fri Nov 16 2006 --> Fri Nov 10 2006 or Thu Nov 16 2006 or Fri Nov 17 2006 or .... |
62 |
|
Fri Nov 23 2006 --> Fri Nov 17 2006 or Thu Nov 23 2006 or Fri Nov 24 2006 or .... |
63 |
|
|
64 |
|
* Fri Jan 06 2017 Jean-Philipe Pialasse <tests@pialasse.com> 2.4.0-14.sme |
65 |
|
- add Remi Collet RPM GPG KEY [SME: 9902] |
66 |
|
- bump 13 to 14 to cvs add patch |
67 |
|
|
68 |
|
* Wed Jan 13 2016 Daniel Berteaud <daniel@firewall-services.com> 2.4.0-12.sme |
69 |
|
- Example to update contribs 1 by 1 [SME: 8850] |
70 |
|
|
71 |
|
* Sat Feb 21 2015 Stephane de Labrusse <stephdl@de-labrusse.fr> 2.4.0-11.sme |
72 |
|
- Set the check update frequency of smecontribs through the server-manager |
73 |
|
- [SME: 8855] |
74 |
|
|
75 |
|
* Sat Jan 10 2015 Stephane de Labrusse <stephdl@de-labrusse.fr> 2.4.0-10.sme |
76 |
|
- Add a default Yum db property for check4contribsupdates [SME: 8790] |
77 |
|
|
78 |
|
* Wed Nov 19 2014 Stephane de Labrusse <stephdl@de-labrusse.fr> 2.4.0-9.sme |
79 |
|
- Added a check-update for the smecontribs repository [SME: 8672] |
80 |
|
|
81 |
|
* Mon Jun 30 2014 Daniel Berteaud <daniel@firewall-services.com> 2.4.0-8.sme |
82 |
|
- Move protected package list to the correct location [SME: 8476] |
83 |
|
|
84 |
|
* Fri Mar 22 2013 Ian Wells <esmith@wellsi.com> 2.4.0-7.sme |
85 |
|
- Change order of mail options in check4updates [SME: 7504] |
86 |
|
|
87 |
|
* Sun Mar 17 2013 Ian Wells <esmith@wellsi.com> 2.4.0-6.sme |
88 |
|
- Change wording of Software Update button [SME: 7499] |
89 |
|
|
90 |
|
* Wed Mar 6 2013 Shad L. Lords <slords@mail.com> 2.4.0-5.sme |
91 |
|
- Obsolete el5 yum-protect-packages, provided by yum [SME: 7273] |
92 |
|
|
93 |
|
* Wed Mar 6 2013 Shad L. Lords <slords@mail.com> 2.4.0-4.sme |
94 |
|
- Update GPG keys for sme9 [SME: 7465] |
95 |
|
|
96 |
|
* Wed Feb 27 2013 Daniel Berteaud <daniel@firewall-services.com> 2.4.0-3.sme |
97 |
|
- Add fasttrack and remove addons repo [SME: 7385] |
98 |
|
|
99 |
* Tue Feb 5 2013 Shad L. Lords <slords@mail.com> 2.4.0-2.sme |
* Tue Feb 5 2013 Shad L. Lords <slords@mail.com> 2.4.0-2.sme |
100 |
- Add back in missing parts from new stream [SME: 7305] |
- Add back in missing parts from new stream [SME: 7305] |
101 |
|
|
295 |
* Wed Nov 29 2006 Gordon Rowell <gordonr@gormand.com.au> 1.2.0-20 |
* Wed Nov 29 2006 Gordon Rowell <gordonr@gormand.com.au> 1.2.0-20 |
296 |
- Revert to 10s panel refresh [SME: 2097] |
- Revert to 10s panel refresh [SME: 2097] |
297 |
|
|
298 |
* Fri Nov 23 2006 Gordon Rowell <gordonr@gormand.com.au> 1.2.0-19 |
* Thu Nov 23 2006 Gordon Rowell <gordonr@gormand.com.au> 1.2.0-19 |
299 |
|
Fri Nov 23 2006 --> Fri Nov 17 2006 or Thu Nov 23 2006 or Fri Nov 24 2006 or .... |
300 |
- Make CentOS base and updates enabled/Visible by default [SME: 1849] |
- Make CentOS base and updates enabled/Visible by default [SME: 1849] |
301 |
- Migrate CentOS base and updates to Visible, but leave status [SME: 1849] |
- Migrate CentOS base and updates to Visible, but leave status [SME: 1849] |
302 |
|
|
303 |
* Fri Nov 23 2006 Gordon Rowell <gordonr@gormand.com.au> 1.2.0-18 |
* Thu Nov 23 2006 Gordon Rowell <gordonr@gormand.com.au> 1.2.0-18 |
304 |
|
Fri Nov 23 2006 --> Fri Nov 17 2006 or Thu Nov 23 2006 or Fri Nov 24 2006 or .... |
305 |
- Adjust wording on post-upgrade page [SME: 2076] |
- Adjust wording on post-upgrade page [SME: 2076] |
306 |
|
|
307 |
* Tue Nov 21 2006 Gordon Rowell <gordonr@gormand.com.au> 1.2.0-17 |
* Tue Nov 21 2006 Gordon Rowell <gordonr@gormand.com.au> 1.2.0-17 |
313 |
page is displayed from other sessions |
page is displayed from other sessions |
314 |
- TODO: Re-add display of LogFile prior to reconfigure |
- TODO: Re-add display of LogFile prior to reconfigure |
315 |
|
|
316 |
* Fri Nov 16 2006 Gordon Rowell <gordonr@gormand.com.au> 1.2.0-15 |
* Thu Nov 16 2006 Gordon Rowell <gordonr@gormand.com.au> 1.2.0-15 |
317 |
|
Fri Nov 16 2006 --> Fri Nov 10 2006 or Thu Nov 16 2006 or Fri Nov 17 2006 or .... |
318 |
- Add dependency on yum-plugin-fastestmirror [SME: 1163] |
- Add dependency on yum-plugin-fastestmirror [SME: 1163] |
319 |
- Alpha sort dependencies |
- Alpha sort dependencies |
320 |
|
|
321 |
* Fri Nov 16 2006 Gordon Rowell <gordonr@gormand.com.au> 1.2.0-14 |
* Thu Nov 16 2006 Gordon Rowell <gordonr@gormand.com.au> 1.2.0-14 |
322 |
|
Fri Nov 16 2006 --> Fri Nov 10 2006 or Thu Nov 16 2006 or Fri Nov 17 2006 or .... |
323 |
- Add MirrorList options to each of the SME repos [SME: 1163] |
- Add MirrorList options to each of the SME repos [SME: 1163] |
324 |
|
|
325 |
* Fri Nov 16 2006 Gordon Rowell <gordonr@gormand.com.au> 1.2.0-13 |
* Thu Nov 16 2006 Gordon Rowell <gordonr@gormand.com.au> 1.2.0-13 |
326 |
|
Fri Nov 16 2006 --> Fri Nov 10 2006 or Thu Nov 16 2006 or Fri Nov 17 2006 or .... |
327 |
- Put back missed patch for post-upgrade [SME: 2071] |
- Put back missed patch for post-upgrade [SME: 2071] |
328 |
|
|
329 |
* Fri Nov 16 2006 Gordon Rowell <gordonr@gormand.com.au> 1.2.0-12 |
* Thu Nov 16 2006 Gordon Rowell <gordonr@gormand.com.au> 1.2.0-12 |
330 |
|
Fri Nov 16 2006 --> Fri Nov 10 2006 or Thu Nov 16 2006 or Fri Nov 17 2006 or .... |
331 |
- Re-add post-upgrade handling [SME: 2071] |
- Re-add post-upgrade handling [SME: 2071] |
332 |
- Display yum output |
- Display yum output |
333 |
- Lower refresh to 3 seconds from 10 |
- Lower refresh to 3 seconds from 10 |
368 |
* Wed Mar 15 2006 Charlie Brady <charlie_brady@mitel.com> 1.2.0-01 |
* Wed Mar 15 2006 Charlie Brady <charlie_brady@mitel.com> 1.2.0-01 |
369 |
- Roll stable stream version. [SME: 1016] |
- Roll stable stream version. [SME: 1016] |
370 |
|
|
371 |
* Wed Mar 6 2006 Gordon Rowell <gordonr@gormand.com.au> 1.1.2-26 |
* Mon Mar 06 2006 Gordon Rowell <gordonr@gormand.com.au> 1.1.2-26 |
372 |
|
Wed Mar 06 2006 --> Wed Mar 01 2006 or Mon Mar 06 2006 or Wed Mar 08 2006 or .... |
373 |
- And migrate old SME repo URLs to new paths [SME: 951] |
- And migrate old SME repo URLs to new paths [SME: 951] |
374 |
|
|
375 |
* Wed Mar 6 2006 Gordon Rowell <gordonr@gormand.com.au> 1.1.2-25 |
* Mon Mar 06 2006 Gordon Rowell <gordonr@gormand.com.au> 1.1.2-25 |
376 |
|
Wed Mar 06 2006 --> Wed Mar 01 2006 or Mon Mar 06 2006 or Wed Mar 08 2006 or .... |
377 |
- Change SME Server repo URLs to match repo names so we avoid confusion |
- Change SME Server repo URLs to match repo names so we avoid confusion |
378 |
with CentOS repos and can remove the symlinks [SME: 951] |
with CentOS repos and can remove the symlinks [SME: 951] |
379 |
|
|
380 |
* Wed Mar 6 2006 Gordon Rowell <gordonr@gormand.com.au> 1.1.2-24 |
* Mon Mar 06 2006 Gordon Rowell <gordonr@gormand.com.au> 1.1.2-24 |
381 |
|
Wed Mar 06 2006 --> Wed Mar 01 2006 or Mon Mar 06 2006 or Wed Mar 08 2006 or .... |
382 |
- Don't force the BaseURL properties - just set defaults [SME: 951] |
- Don't force the BaseURL properties - just set defaults [SME: 951] |
383 |
|
|
384 |
* Wed Feb 22 2006 Gordon Rowell <gordonr@gormand.com.au> 1.1.2-23 |
* Wed Feb 22 2006 Gordon Rowell <gordonr@gormand.com.au> 1.1.2-23 |
682 |
are modified for the SMEServer releases |
are modified for the SMEServer releases |
683 |
- INSTALL: Need to manually remove old version of yum_repositories DB |
- INSTALL: Need to manually remove old version of yum_repositories DB |
684 |
|
|
685 |
* Fri May 31 2005 Gordon Rowell <gordonr@gormand.com.au> |
* Tue May 31 2005 Gordon Rowell <gordonr@gormand.com.au> |
686 |
|
Fri May 31 2005 --> Fri May 27 2005 or Tue May 31 2005 or Fri Jun 03 2005 or .... |
687 |
- [1.1.0-01gr05] |
- [1.1.0-01gr05] |
688 |
- Add enable/disable repository support to configuration page |
- Add enable/disable repository support to configuration page |
689 |
|
|
690 |
* Fri May 31 2005 Gordon Rowell <gordonr@gormand.com.au> |
* Tue May 31 2005 Gordon Rowell <gordonr@gormand.com.au> |
691 |
|
Fri May 31 2005 --> Fri May 27 2005 or Tue May 31 2005 or Fri Jun 03 2005 or .... |
692 |
- [1.1.0-01gr04] |
- [1.1.0-01gr04] |
693 |
- Hide empty group/package select boxes |
- Hide empty group/package select boxes |
694 |
|
|
937 |
|
|
938 |
%prep |
%prep |
939 |
%setup |
%setup |
940 |
|
%patch1 -p1 |
941 |
|
%patch2 -p1 |
942 |
|
%patch3 -p1 |
943 |
|
%patch4 -p1 |
944 |
|
%patch5 -p1 |
945 |
|
%patch6 -p1 |
946 |
|
%patch7 -p1 |
947 |
|
%patch8 -p1 |
948 |
|
%patch9 -p1 |
949 |
|
%patch10 -p1 |
950 |
|
|
951 |
%build |
%build |
952 |
perl createlinks |
perl createlinks |
961 |
--file '/sbin/e-smith/yum_update_dbs' 'attr(0700,root,root)' \ |
--file '/sbin/e-smith/yum_update_dbs' 'attr(0700,root,root)' \ |
962 |
--file '/sbin/e-smith/yum' 'attr(0755,root,root)' \ |
--file '/sbin/e-smith/yum' 'attr(0755,root,root)' \ |
963 |
--file '/sbin/e-smith/check4updates' 'attr(0755,root,root)' \ |
--file '/sbin/e-smith/check4updates' 'attr(0755,root,root)' \ |
964 |
|
--file '/sbin/e-smith/check4contribsupdates' 'attr(0755,root,root)' \ |
965 |
--file '/etc/cron.daily/smeserver-yum' 'attr(0700,root,root)' \ |
--file '/etc/cron.daily/smeserver-yum' 'attr(0700,root,root)' \ |
966 |
--file /var/service/yum/down 'attr(0644,root,root)' \ |
--file /var/service/yum/down 'attr(0644,root,root)' \ |
967 |
--file /var/service/yum/run 'attr(0755,root,root)' \ |
--file /var/service/yum/run 'attr(0755,root,root)' \ |