1 |
# $Id$ |
# $Id: smeserver-yum.spec,v 1.30 2008/11/24 16:16:18 slords Exp $ |
2 |
|
|
3 |
%define name smeserver-yum |
%define name smeserver-yum |
4 |
Summary: YUM, an rpm updaterdefine name smeserver-yum |
Summary: YUM, an rpm updater |
5 |
Name: %{name} |
Name: %{name} |
6 |
%define version 2.2.0 |
%define version 2.2.0 |
7 |
%define release 1 |
%define release 6 |
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.gz |
Source: %{name}-%{version}.tar.gz |
13 |
|
Patch1: smeserver-yum-2.2.0-extras.patch |
14 |
|
Patch2: smeserver-yum-2.2.0-repodir.patch |
15 |
|
Patch3: smeserver-yum-2.2.0-buffer.patch |
16 |
|
Patch4: smeserver-yum-2.2.0-protected.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 |
21 |
|
Requires: yum-protect-packages |
22 |
Requires: perl(CGI::FormMagick) >= 0.91-26 |
Requires: perl(CGI::FormMagick) >= 0.91-26 |
23 |
Requires: rpm-python >= 4.0.4-7x.18 |
Requires: rpm-python >= 4.0.4-7x.18 |
24 |
Requires: yum >= 1.0.3-1_73 |
Requires: yum >= 1.0.3-1_73 |
29 |
Obsoletes: yum-plugin-fastestmirror |
Obsoletes: yum-plugin-fastestmirror |
30 |
Obsoletes: yum-plugin-installonlyn |
Obsoletes: yum-plugin-installonlyn |
31 |
Requires: yum-fastestmirror |
Requires: yum-fastestmirror |
32 |
|
Requries: mailx |
33 |
BuildRequires: e-smith-devtools >= 1.13.1-03 |
BuildRequires: e-smith-devtools >= 1.13.1-03 |
34 |
Conflicts: centos-yumconf |
Conflicts: centos-yumconf |
35 |
AutoReqProv: no |
AutoReqProv: no |
37 |
%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 |
38 |
|
|
39 |
%changelog |
%changelog |
40 |
|
* Fri Apr 10 2009 Jonathan Martens <smeserver-contribs@snetram.nl> 2.2.0-6.sme |
41 |
|
- Require mailx [SME: 5131] |
42 |
|
|
43 |
|
* Mon Nov 24 2008 Shad L. Lords <slords@mail.com> 2.2.0-5.sme |
44 |
|
- Add yum-protect-packages support to prevent removal of |
45 |
|
needed pacakges [SME: 3133] |
46 |
|
|
47 |
|
* Tue Oct 28 2008 Shad L. Lords <slords@mail.com> 2.2.0-4.sme |
48 |
|
- Make yum update unbuffered for web interface [SME: 4726] |
49 |
|
|
50 |
|
* Mon Oct 13 2008 Shad L. Lords <slords@mail.com> 2.2.0-3.sme |
51 |
|
- Move repos to repodir to fix yum bug [SME: 3676] |
52 |
|
|
53 |
|
* Sun Oct 12 2008 Shad L. Lords <slords@mail.com> 2.2.0-2.sme |
54 |
|
- Fix name for smeextras [SME: 4585] |
55 |
|
|
56 |
* Tue Oct 7 2008 Shad L. Lords <slords@mail.com> 2.2.0-1.sme |
* Tue Oct 7 2008 Shad L. Lords <slords@mail.com> 2.2.0-1.sme |
57 |
- Roll new stream to separate sme7/sme8 trees [SME: 4633] |
- Roll new stream to separate sme7/sme8 trees [SME: 4633] |
58 |
|
|
813 |
|
|
814 |
%prep |
%prep |
815 |
%setup |
%setup |
816 |
|
%patch1 -p1 |
817 |
|
%patch2 -p1 |
818 |
|
%patch3 -p1 |
819 |
|
%patch4 -p1 |
820 |
|
|
821 |
%build |
%build |
822 |
perl createlinks |
perl createlinks |
833 |
# TODO: Remove testing when released |
# TODO: Remove testing when released |
834 |
ver=testing/8 |
ver=testing/8 |
835 |
|
|
836 |
mkdir -p root/etc/yum.repos.d/ |
mkdir -p root/etc/yum.repos.d/ root/etc/yum.smerepos.d/ |
837 |
for repo in smeaddons smecontribs smedev smeextras smeos smetest smeupdates smeupdates-testing |
for repo in smeaddons smecontribs smedev smeextras smeos smetest smeupdates smeupdates-testing |
838 |
do |
do |
839 |
cat > root/etc/yum.repos.d/mirrors-$repo <<END_OF_HERE |
cat > root/etc/yum.repos.d/mirrors-$repo <<END_OF_HERE |