1 |
# $Id: smeserver-yum.spec,v 1.2 2013/02/05 19:24:17 slords Exp $ |
# $Id: smeserver-yum.spec,v 1.10 2014/11/19 17:22:34 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 9 |
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 |
BuildRoot: /var/tmp/%{name}-%{version}-%{release}-buildroot |
BuildRoot: /var/tmp/%{name}-%{version}-%{release}-buildroot |
20 |
BuildArchitectures: noarch |
BuildArchitectures: noarch |
21 |
Requires: e-smith-formmagick >= 1.4.0-12 |
Requires: e-smith-formmagick >= 1.4.0-12 |
22 |
Requires: e-smith-base |
Requires: e-smith-base |
|
Requires: yum-protect-packages |
|
23 |
Requires: perl(CGI::FormMagick) >= 0.91-26 |
Requires: perl(CGI::FormMagick) >= 0.91-26 |
24 |
Requires: rpm-python >= 4.0.4-7x.18 |
Requires: rpm-python >= 4.0.4-7x.18 |
25 |
Requires: yum >= 1.0.3-1_73 |
Requires: yum >= 1.0.3-1_73 |
29 |
Obsoletes: rpmdb-CentOS |
Obsoletes: rpmdb-CentOS |
30 |
Requires: yum-plugin-fastestmirror |
Requires: yum-plugin-fastestmirror |
31 |
Obsoletes: yum-plugin-installonlyn |
Obsoletes: yum-plugin-installonlyn |
32 |
|
Obsoletes: yum-protect-packages <= 1.1.16 |
33 |
Requires: mailx |
Requires: mailx |
34 |
BuildRequires: e-smith-devtools >= 1.13.1-03 |
BuildRequires: e-smith-devtools >= 1.13.1-03 |
35 |
Conflicts: centos-yumconf |
Conflicts: centos-yumconf |
38 |
%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 |
39 |
|
|
40 |
%changelog |
%changelog |
41 |
|
* Wed Nov 19 2014 Stephane de Labrusse <stephdl@de-labrusse.fr> 2.4.0-9.sme |
42 |
|
- Added a check-update for the smecontribs repository [SME: 8672] |
43 |
|
|
44 |
|
* Mon Jun 30 2014 Daniel Berteaud <daniel@firewall-services.com> 2.4.0-8.sme |
45 |
|
- Move protected package list to the correct location [SME: 8476] |
46 |
|
|
47 |
|
* Fri Mar 22 2013 Ian Wells <esmith@wellsi.com> 2.4.0-7.sme |
48 |
|
- Change order of mail options in check4updates [SME: 7504] |
49 |
|
|
50 |
|
* Sun Mar 17 2013 Ian Wells <esmith@wellsi.com> 2.4.0-6.sme |
51 |
|
- Change wording of Software Update button [SME: 7499] |
52 |
|
|
53 |
|
* Wed Mar 6 2013 Shad L. Lords <slords@mail.com> 2.4.0-5.sme |
54 |
|
- Obsolete el5 yum-protect-packages, provided by yum [SME: 7273] |
55 |
|
|
56 |
|
* Wed Mar 6 2013 Shad L. Lords <slords@mail.com> 2.4.0-4.sme |
57 |
|
- Update GPG keys for sme9 [SME: 7465] |
58 |
|
|
59 |
* 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 |
60 |
- Add fasttrack and remove addons repo [SME: 7385] |
- Add fasttrack and remove addons repo [SME: 7385] |
61 |
|
|
890 |
%prep |
%prep |
891 |
%setup |
%setup |
892 |
%patch1 -p1 |
%patch1 -p1 |
893 |
|
%patch2 -p1 |
894 |
|
%patch3 -p1 |
895 |
|
%patch4 -p1 |
896 |
|
%patch5 -p1 |
897 |
|
%patch6 -p1 |
898 |
|
|
899 |
%build |
%build |
900 |
perl createlinks |
perl createlinks |
909 |
--file '/sbin/e-smith/yum_update_dbs' 'attr(0700,root,root)' \ |
--file '/sbin/e-smith/yum_update_dbs' 'attr(0700,root,root)' \ |
910 |
--file '/sbin/e-smith/yum' 'attr(0755,root,root)' \ |
--file '/sbin/e-smith/yum' 'attr(0755,root,root)' \ |
911 |
--file '/sbin/e-smith/check4updates' 'attr(0755,root,root)' \ |
--file '/sbin/e-smith/check4updates' 'attr(0755,root,root)' \ |
912 |
|
--file '/sbin/e-smith/check4contribsupdates' 'attr(0755,root,root)' \ |
913 |
--file '/etc/cron.daily/smeserver-yum' 'attr(0700,root,root)' \ |
--file '/etc/cron.daily/smeserver-yum' 'attr(0700,root,root)' \ |
914 |
--file /var/service/yum/down 'attr(0644,root,root)' \ |
--file /var/service/yum/down 'attr(0644,root,root)' \ |
915 |
--file /var/service/yum/run 'attr(0755,root,root)' \ |
--file /var/service/yum/run 'attr(0755,root,root)' \ |