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.2.0 |
%define version 2.2.0 |
7 |
%define release 1 |
%define release 4 |
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 |
BuildRoot: /var/tmp/%{name}-%{version}-%{release}-buildroot |
BuildRoot: /var/tmp/%{name}-%{version}-%{release}-buildroot |
17 |
BuildArchitectures: noarch |
BuildArchitectures: noarch |
18 |
Requires: e-smith-formmagick >= 1.4.0-12 |
Requires: e-smith-formmagick >= 1.4.0-12 |
34 |
%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 |
35 |
|
|
36 |
%changelog |
%changelog |
37 |
|
* Tue Oct 28 2008 Shad L. Lords <slords@mail.com> 2.2.0-4.sme |
38 |
|
- Make yum update unbuffered for web interface [SME: 4726] |
39 |
|
|
40 |
|
* Mon Oct 13 2008 Shad L. Lords <slords@mail.com> 2.2.0-3.sme |
41 |
|
- Move repos to repodir to fix yum bug [SME: 3676] |
42 |
|
|
43 |
|
* Sun Oct 12 2008 Shad L. Lords <slords@mail.com> 2.2.0-2.sme |
44 |
|
- Fix name for smeextras [SME: 4585] |
45 |
|
|
46 |
* 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 |
47 |
- Roll new stream to separate sme7/sme8 trees [SME: 4633] |
- Roll new stream to separate sme7/sme8 trees [SME: 4633] |
48 |
|
|
803 |
|
|
804 |
%prep |
%prep |
805 |
%setup |
%setup |
806 |
|
%patch1 -p1 |
807 |
|
%patch2 -p1 |
808 |
|
%patch3 -p1 |
809 |
|
|
810 |
%build |
%build |
811 |
perl createlinks |
perl createlinks |
822 |
# TODO: Remove testing when released |
# TODO: Remove testing when released |
823 |
ver=testing/8 |
ver=testing/8 |
824 |
|
|
825 |
mkdir -p root/etc/yum.repos.d/ |
mkdir -p root/etc/yum.repos.d/ root/etc/yum.smerepos.d/ |
826 |
for repo in smeaddons smecontribs smedev smeextras smeos smetest smeupdates smeupdates-testing |
for repo in smeaddons smecontribs smedev smeextras smeos smetest smeupdates smeupdates-testing |
827 |
do |
do |
828 |
cat > root/etc/yum.repos.d/mirrors-$repo <<END_OF_HERE |
cat > root/etc/yum.repos.d/mirrors-$repo <<END_OF_HERE |