1 |
# $Id: smeserver-yum.spec,v 1.25 2008/10/07 14:47:50 slords Exp $ |
# $Id: smeserver-yum.spec,v 1.31 2008/11/24 16:16:18 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 2 |
%define release 6 |
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 |
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 |
28 |
Requires: rpmdb-CentOS |
Requires: rpmdb-CentOS |
29 |
Requires: yum-plugin-fastestmirror |
Requires: yum-plugin-fastestmirror |
30 |
Requires: yum-plugin-installonlyn |
Requires: yum-plugin-installonlyn |
31 |
|
Requires: mailx |
32 |
BuildRequires: e-smith-devtools >= 1.13.1-03 |
BuildRequires: e-smith-devtools >= 1.13.1-03 |
33 |
Conflicts: centos-yumconf |
Conflicts: centos-yumconf |
34 |
AutoReqProv: no |
AutoReqProv: no |
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 |
|
* Fri Apr 10 2009 Jonathan Martens <smeserver-contribs@snetram.nl> 2.0.0-6.sme |
40 |
|
- Require mailx [SME: 5131] |
41 |
|
|
42 |
|
* Mon Nov 24 2008 Shad L. Lords <slords@mail.com> 2.0.0-5.sme |
43 |
|
- Add yum-protect-packages support to prevent removal of |
44 |
|
needed pacakges [SME: 3133] |
45 |
|
|
46 |
|
* Tue Oct 28 2008 Shad L. Lords <slords@mail.com> 2.0.0-4.sme |
47 |
|
- Make yum update unbuffered for web interface [SME: 4726] |
48 |
|
|
49 |
|
* Mon Oct 13 2008 Shad L. Lords <slords@mail.com> 2.0.0-3.sme |
50 |
|
- Move repos to repodir to fix yum bug [SME: 3676] |
51 |
|
|
52 |
* Sun Oct 12 2008 Shad L. Lords <slords@mail.com> 2.0.0-2.sme |
* Sun Oct 12 2008 Shad L. Lords <slords@mail.com> 2.0.0-2.sme |
53 |
- Fix name for smeextras [SME: 4585] |
- Fix name for smeextras [SME: 4585] |
54 |
|
|
810 |
%prep |
%prep |
811 |
%setup |
%setup |
812 |
%patch1 -p1 |
%patch1 -p1 |
813 |
|
%patch2 -p1 |
814 |
|
%patch3 -p1 |
815 |
|
%patch4 -p1 |
816 |
|
%patch5 -p1 |
817 |
|
|
818 |
%build |
%build |
819 |
perl createlinks |
perl createlinks |
829 |
|
|
830 |
ver=7 |
ver=7 |
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 |