1 |
# $Id$ |
# $Id: smeserver-yum.spec,v 1.28 2008/10/13 14:58:50 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.0.0 |
%define version 2.0.0 |
7 |
%define release 1 |
%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.0.0-extras.patch |
14 |
|
Patch2: smeserver-yum-2.0.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 |
32 |
%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 |
33 |
|
|
34 |
%changelog |
%changelog |
35 |
|
* Mon Oct 13 2008 Shad L. Lords <slords@mail.com> 2.0.0-3.sme |
36 |
|
- Move repos to repodir to fix yum bug [SME: 3676] |
37 |
|
|
38 |
|
* Sun Oct 12 2008 Shad L. Lords <slords@mail.com> 2.0.0-2.sme |
39 |
|
- Fix name for smeextras [SME: 4585] |
40 |
|
|
41 |
* Tue Oct 7 2008 Shad L. Lords <slords@mail.com> 2.0.0-1.sme |
* Tue Oct 7 2008 Shad L. Lords <slords@mail.com> 2.0.0-1.sme |
42 |
- Roll new stream to separate sme7/sme8 trees [SME: 4633] |
- Roll new stream to separate sme7/sme8 trees [SME: 4633] |
43 |
|
|
795 |
|
|
796 |
%prep |
%prep |
797 |
%setup |
%setup |
798 |
|
%patch1 -p1 |
799 |
|
%patch2 -p1 |
800 |
|
|
801 |
%build |
%build |
802 |
perl createlinks |
perl createlinks |
812 |
|
|
813 |
ver=7 |
ver=7 |
814 |
|
|
815 |
mkdir -p root/etc/yum.repos.d/ |
mkdir -p root/etc/yum.repos.d/ root/etc/yum.smerepos.d/ |
816 |
for repo in smeaddons smecontribs smedev smeextras smeos smetest smeupdates smeupdates-testing |
for repo in smeaddons smecontribs smedev smeextras smeos smetest smeupdates smeupdates-testing |
817 |
do |
do |
818 |
cat > root/etc/yum.repos.d/mirrors-$repo <<END_OF_HERE |
cat > root/etc/yum.repos.d/mirrors-$repo <<END_OF_HERE |