1 |
# $Id: smeserver-yum.spec,v 1.50 2012/08/31 20:09:16 slords Exp $ |
# $Id: smeserver-yum.spec,v 1.6 2013/03/18 03:16:11 wellsi 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 7 |
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 |
BuildRoot: /var/tmp/%{name}-%{version}-%{release}-buildroot |
BuildRoot: /var/tmp/%{name}-%{version}-%{release}-buildroot |
18 |
BuildArchitectures: noarch |
BuildArchitectures: noarch |
19 |
Requires: e-smith-formmagick >= 1.4.0-12 |
Requires: e-smith-formmagick >= 1.4.0-12 |
20 |
Requires: e-smith-base |
Requires: e-smith-base |
|
Requires: yum-protect-packages |
|
21 |
Requires: perl(CGI::FormMagick) >= 0.91-26 |
Requires: perl(CGI::FormMagick) >= 0.91-26 |
22 |
Requires: rpm-python >= 4.0.4-7x.18 |
Requires: rpm-python >= 4.0.4-7x.18 |
23 |
Requires: yum >= 1.0.3-1_73 |
Requires: yum >= 1.0.3-1_73 |
27 |
Obsoletes: rpmdb-CentOS |
Obsoletes: rpmdb-CentOS |
28 |
Requires: yum-plugin-fastestmirror |
Requires: yum-plugin-fastestmirror |
29 |
Obsoletes: yum-plugin-installonlyn |
Obsoletes: yum-plugin-installonlyn |
30 |
|
Obsoletes: yum-protect-packages <= 1.1.16 |
31 |
Requires: mailx |
Requires: mailx |
32 |
BuildRequires: e-smith-devtools >= 1.13.1-03 |
BuildRequires: e-smith-devtools >= 1.13.1-03 |
33 |
Conflicts: centos-yumconf |
Conflicts: centos-yumconf |
36 |
%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 |
37 |
|
|
38 |
%changelog |
%changelog |
39 |
|
* Fri Mar 22 2013 Ian Wells <esmith@wellsi.com> 2.4.0-7.sme |
40 |
|
- Change order of mail options in check4updates [SME: 7505] |
41 |
|
|
42 |
|
* Sun Mar 17 2013 Ian Wells <esmith@wellsi.com> 2.4.0-6.sme |
43 |
|
- Change wording of Software Update button [SME: 7499] |
44 |
|
|
45 |
|
* Wed Mar 6 2013 Shad L. Lords <slords@mail.com> 2.4.0-5.sme |
46 |
|
- Obsolete el5 yum-protect-packages, provided by yum [SME: 7273] |
47 |
|
|
48 |
|
* Wed Mar 6 2013 Shad L. Lords <slords@mail.com> 2.4.0-4.sme |
49 |
|
- Update GPG keys for sme9 [SME: 7465] |
50 |
|
|
51 |
|
* Wed Feb 27 2013 Daniel Berteaud <daniel@firewall-services.com> 2.4.0-3.sme |
52 |
|
- Add fasttrack and remove addons repo [SME: 7385] |
53 |
|
|
54 |
|
* Tue Feb 5 2013 Shad L. Lords <slords@mail.com> 2.4.0-2.sme |
55 |
|
- Add back in missing parts from new stream [SME: 7305] |
56 |
|
|
57 |
* 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 |
58 |
- Roll new stream for sme9 |
- Roll new stream for sme9 |
59 |
|
|
881 |
|
|
882 |
%prep |
%prep |
883 |
%setup |
%setup |
884 |
|
%patch1 -p1 |
885 |
|
%patch2 -p1 |
886 |
|
%patch3 -p1 |
887 |
|
%patch4 -p1 |
888 |
|
|
889 |
%build |
%build |
890 |
perl createlinks |
perl createlinks |
891 |
|
ln -s /var/service/yum root/service/yum |
892 |
|
mkdir -p root/etc/yum.smerepos.d |
893 |
|
|
894 |
%install |
%install |
895 |
/bin/rm -rf $RPM_BUILD_ROOT |
/bin/rm -rf $RPM_BUILD_ROOT |