1 |
# $Id: smeserver-yum.spec,v 1.25 2008/10/07 14:47:51 slords Exp $ |
# $Id: smeserver-yum.spec,v 1.29 2008/10/28 22:51:59 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 2 |
%define release 5 |
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 |
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 |
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 |
|
* Mon Nov 24 2008 Shad L. Lords <slords@mail.com> 2.2.0-5.sme |
40 |
|
- Add yum-protect-packages support to prevent removal of |
41 |
|
needed pacakges [SME: 3133] |
42 |
|
|
43 |
|
* Tue Oct 28 2008 Shad L. Lords <slords@mail.com> 2.2.0-4.sme |
44 |
|
- Make yum update unbuffered for web interface [SME: 4726] |
45 |
|
|
46 |
|
* Mon Oct 13 2008 Shad L. Lords <slords@mail.com> 2.2.0-3.sme |
47 |
|
- Move repos to repodir to fix yum bug [SME: 3676] |
48 |
|
|
49 |
* Sun Oct 12 2008 Shad L. Lords <slords@mail.com> 2.2.0-2.sme |
* Sun Oct 12 2008 Shad L. Lords <slords@mail.com> 2.2.0-2.sme |
50 |
- Fix name for smeextras [SME: 4585] |
- Fix name for smeextras [SME: 4585] |
51 |
|
|
810 |
%prep |
%prep |
811 |
%setup |
%setup |
812 |
%patch1 -p1 |
%patch1 -p1 |
813 |
|
%patch2 -p1 |
814 |
|
%patch3 -p1 |
815 |
|
%patch4 -p1 |
816 |
|
|
817 |
%build |
%build |
818 |
perl createlinks |
perl createlinks |
829 |
# TODO: Remove testing when released |
# TODO: Remove testing when released |
830 |
ver=testing/8 |
ver=testing/8 |
831 |
|
|
832 |
mkdir -p root/etc/yum.repos.d/ |
mkdir -p root/etc/yum.repos.d/ root/etc/yum.smerepos.d/ |
833 |
for repo in smeaddons smecontribs smedev smeextras smeos smetest smeupdates smeupdates-testing |
for repo in smeaddons smecontribs smedev smeextras smeos smetest smeupdates smeupdates-testing |
834 |
do |
do |
835 |
cat > root/etc/yum.repos.d/mirrors-$repo <<END_OF_HERE |
cat > root/etc/yum.repos.d/mirrors-$repo <<END_OF_HERE |