4 |
%define name smeserver-yum |
%define name smeserver-yum |
5 |
Name: %{name} |
Name: %{name} |
6 |
%define version 1.2.0 |
%define version 1.2.0 |
7 |
%define release 39 |
%define release 45 |
8 |
Version: %{version} |
Version: %{version} |
9 |
Release: %{release}%{?dist} |
Release: %{release}%{?dist} |
10 |
License: GPL |
License: GPL |
41 |
Patch28: smeserver-yum-1.2.0-gpgkeys.patch |
Patch28: smeserver-yum-1.2.0-gpgkeys.patch |
42 |
Patch29: smeserver-yum-1.2.0-FixUninitializedValue.patch |
Patch29: smeserver-yum-1.2.0-FixUninitializedValue.patch |
43 |
Patch30: smeserver-yum-1.2.0-FixEnableGroups.patch |
Patch30: smeserver-yum-1.2.0-FixEnableGroups.patch |
44 |
|
Patch31: smeserver-yum-1.2.0-smecontribs.patch |
45 |
|
Patch32: smeserver-yum-1.2.0-importkeys-update.patch |
46 |
|
Patch33: smeserver-yum-1.2.0-check4updates.patch |
47 |
|
Patch34: smeserver-yum-1.2.0-yumlocal.patch |
48 |
|
Patch35: smeserver-yum-1.2.0-removeSMEBaseURLs.patch |
49 |
|
Patch36: smeserver-yum-1.2.0-removeBaseURLs.patch |
50 |
BuildRoot: /var/tmp/%{name}-%{version}-%{release}-buildroot |
BuildRoot: /var/tmp/%{name}-%{version}-%{release}-buildroot |
51 |
BuildArchitectures: noarch |
BuildArchitectures: noarch |
52 |
Requires: e-smith-formmagick |
Requires: e-smith-formmagick |
56 |
Provides: yumconf |
Provides: yumconf |
57 |
%if "%{?rhel}" == "5" |
%if "%{?rhel}" == "5" |
58 |
Obsoletes: rpmdb-CentOS |
Obsoletes: rpmdb-CentOS |
59 |
|
Obsoletes: check4updates |
60 |
Obsoletes: yum-plugin-fastestmirror |
Obsoletes: yum-plugin-fastestmirror |
61 |
Requires: yum-fastestmirror |
Requires: yum-fastestmirror |
62 |
%else |
%else |
70 |
%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 |
71 |
|
|
72 |
%changelog |
%changelog |
73 |
|
* Mon Jan 7 2008 Stephen Noble <support@dungog.net> 1.2.0-45 |
74 |
|
- remove BaseURL property for repos with mirrorlists [SME: 3275] |
75 |
|
|
76 |
|
* Mon Jan 7 2008 Stephen Noble <support@dungog.net> 1.2.0-44 |
77 |
|
- safesymlink yum into local [SME: 3238] |
78 |
|
|
79 |
|
* Mon Jan 7 2008 Stephen Noble <support@dungog.net> 1.2.0-43 |
80 |
|
- add check4updates cronjob, obsolete check4updates rpm [SME: 3250] |
81 |
|
|
82 |
|
* Mon Jan 7 2008 Stephen Noble <support@dungog.net> 1.2.0-42 |
83 |
|
- yum-import-keys action to yum-update event [SME: 3196] |
84 |
|
|
85 |
|
* Mon Dec 24 2007 Stephen Noble <support@dungog.net> 1.2.0-41 |
86 |
|
- add smecontribs repo [SME: 3551] |
87 |
|
|
88 |
|
* Tue Dec 11 2007 Gavin Weight <gweight@gmail.com> 1.2.0-40 |
89 |
|
- Remove bad mirror and add two new mirrors. [SME: 3636] |
90 |
|
|
91 |
* Fri Nov 30 2007 Gavin Weight <gweight@gmail.com> 1.2.0-39 |
* Fri Nov 30 2007 Gavin Weight <gweight@gmail.com> 1.2.0-39 |
92 |
- Change EnableGroups value to no/yes instead of 0/1. [SME: 3607] |
- Change EnableGroups value to no/yes instead of 0/1. [SME: 3607] |
93 |
|
|
820 |
%patch28 -p1 |
%patch28 -p1 |
821 |
%patch29 -p1 |
%patch29 -p1 |
822 |
%patch30 -p1 |
%patch30 -p1 |
823 |
|
%patch31 -p1 |
824 |
|
%patch32 -p1 |
825 |
|
%patch33 -p1 |
826 |
|
%patch34 -p1 |
827 |
|
%patch35 -p1 |
828 |
|
%patch36 -p1 |
829 |
|
|
830 |
%build |
%build |
831 |
perl createlinks |
perl createlinks |
840 |
mkdir -p root/etc/e-smith/db/yum_{available,installed,updates} |
mkdir -p root/etc/e-smith/db/yum_{available,installed,updates} |
841 |
|
|
842 |
mkdir -p root/etc/yum.repos.d/ |
mkdir -p root/etc/yum.repos.d/ |
843 |
for repo in smeaddons smedev smeos smetest smeupdates smeupdates-testing |
for repo in smeaddons smedev smeos smetest smeupdates smeupdates-testing smecontribs |
844 |
do |
do |
845 |
cat > root/etc/yum.repos.d/mirrors-$repo <<END_OF_HERE |
cat > root/etc/yum.repos.d/mirrors-$repo <<END_OF_HERE |
846 |
http://distro.ibiblio.org/pub/linux/distributions/smeserver/releases/7/$repo/\$basearch |
http://distro.ibiblio.org/pub/linux/distributions/smeserver/releases/7/$repo/\$basearch |
847 |
ftp://ftp.planetmirror.com/pub/smeserver/releases/7/$repo/\$basearch |
http://sme-mirror.voxteneo.com/releases/7/$repo/\$basearch |
848 |
|
http://smemirror.fullnet.co.uk/releases/7/$repo/\$basearch |
849 |
http://ftp.nluug.nl/os/Linux/distr/smeserver/releases/7/$repo/\$basearch |
http://ftp.nluug.nl/os/Linux/distr/smeserver/releases/7/$repo/\$basearch |
850 |
http://ftp.surfnet.nl/ftp/pub/os/Linux/distr/smeserver/releases/7/$repo/\$basearch |
http://ftp.surfnet.nl/ftp/pub/os/Linux/distr/smeserver/releases/7/$repo/\$basearch |
851 |
http://mirror.pacific.net.au/linux/smeserver/releases/7/$repo/\$basearch |
http://mirror.pacific.net.au/linux/smeserver/releases/7/$repo/\$basearch |