1 |
# $Id$ |
# $Id: smeserver-yum.spec,v 1.30 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.0.0 |
%define version 2.0.0 |
7 |
%define release 1 |
%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.0.0-extras.patch |
14 |
|
Patch2: smeserver-yum-2.0.0-repodir.patch |
15 |
|
Patch3: smeserver-yum-2.0.0-buffer.patch |
16 |
|
Patch4: smeserver-yum-2.0.0-yumremove.patch |
17 |
|
Patch5: smeserver-yum-2.0.0-protected.patch |
18 |
BuildRoot: /var/tmp/%{name}-%{version}-%{release}-buildroot |
BuildRoot: /var/tmp/%{name}-%{version}-%{release}-buildroot |
19 |
BuildArchitectures: noarch |
BuildArchitectures: noarch |
20 |
Requires: e-smith-formmagick >= 1.4.0-12 |
Requires: e-smith-formmagick >= 1.4.0-12 |
35 |
%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 |
36 |
|
|
37 |
%changelog |
%changelog |
38 |
|
* Mon Nov 24 2008 Shad L. Lords <slords@mail.com> 2.0.0-5.sme |
39 |
|
- Add yum-protect-packages support to prevent removal of |
40 |
|
needed pacakges [SME: 3133] |
41 |
|
|
42 |
|
* Tue Oct 28 2008 Shad L. Lords <slords@mail.com> 2.0.0-4.sme |
43 |
|
- Make yum update unbuffered for web interface [SME: 4726] |
44 |
|
|
45 |
|
* Mon Oct 13 2008 Shad L. Lords <slords@mail.com> 2.0.0-3.sme |
46 |
|
- Move repos to repodir to fix yum bug [SME: 3676] |
47 |
|
|
48 |
|
* Sun Oct 12 2008 Shad L. Lords <slords@mail.com> 2.0.0-2.sme |
49 |
|
- Fix name for smeextras [SME: 4585] |
50 |
|
|
51 |
* 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 |
52 |
- Roll new stream to separate sme7/sme8 trees [SME: 4633] |
- Roll new stream to separate sme7/sme8 trees [SME: 4633] |
53 |
|
|
805 |
|
|
806 |
%prep |
%prep |
807 |
%setup |
%setup |
808 |
|
%patch1 -p1 |
809 |
|
%patch2 -p1 |
810 |
|
%patch3 -p1 |
811 |
|
%patch4 -p1 |
812 |
|
%patch5 -p1 |
813 |
|
|
814 |
%build |
%build |
815 |
perl createlinks |
perl createlinks |
825 |
|
|
826 |
ver=7 |
ver=7 |
827 |
|
|
828 |
mkdir -p root/etc/yum.repos.d/ |
mkdir -p root/etc/yum.repos.d/ root/etc/yum.smerepos.d/ |
829 |
for repo in smeaddons smecontribs smedev smeextras smeos smetest smeupdates smeupdates-testing |
for repo in smeaddons smecontribs smedev smeextras smeos smetest smeupdates smeupdates-testing |
830 |
do |
do |
831 |
cat > root/etc/yum.repos.d/mirrors-$repo <<END_OF_HERE |
cat > root/etc/yum.repos.d/mirrors-$repo <<END_OF_HERE |