1 |
# $Id: smeserver-yum.spec,v 1.25 2008/10/07 14:47:51 slords Exp $ |
# $Id: smeserver-yum.spec,v 1.27 2008/10/13 03:12:24 dungog 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 3 |
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 |
BuildRoot: /var/tmp/%{name}-%{version}-%{release}-buildroot |
BuildRoot: /var/tmp/%{name}-%{version}-%{release}-buildroot |
16 |
BuildArchitectures: noarch |
BuildArchitectures: noarch |
17 |
Requires: e-smith-formmagick >= 1.4.0-12 |
Requires: e-smith-formmagick >= 1.4.0-12 |
33 |
%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 |
34 |
|
|
35 |
%changelog |
%changelog |
36 |
|
* Mon Oct 13 2008 Shad L. Lords <slords@mail.com> 2.2.0-3.sme |
37 |
|
- Move repos to repodir to fix yum bug [SME: 3676] |
38 |
|
|
39 |
* 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 |
40 |
- Fix name for smeextras [SME: 4585] |
- Fix name for smeextras [SME: 4585] |
41 |
|
|
800 |
%prep |
%prep |
801 |
%setup |
%setup |
802 |
%patch1 -p1 |
%patch1 -p1 |
803 |
|
%patch2 -p1 |
804 |
|
|
805 |
%build |
%build |
806 |
perl createlinks |
perl createlinks |
817 |
# TODO: Remove testing when released |
# TODO: Remove testing when released |
818 |
ver=testing/8 |
ver=testing/8 |
819 |
|
|
820 |
mkdir -p root/etc/yum.repos.d/ |
mkdir -p root/etc/yum.repos.d/ root/etc/yum.smerepos.d/ |
821 |
for repo in smeaddons smecontribs smedev smeextras smeos smetest smeupdates smeupdates-testing |
for repo in smeaddons smecontribs smedev smeextras smeos smetest smeupdates smeupdates-testing |
822 |
do |
do |
823 |
cat > root/etc/yum.repos.d/mirrors-$repo <<END_OF_HERE |
cat > root/etc/yum.repos.d/mirrors-$repo <<END_OF_HERE |