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 37 |
%define release 46 |
8 |
Version: %{version} |
Version: %{version} |
9 |
Release: %{release}%{?dist} |
Release: %{release}%{?dist} |
10 |
License: GPL |
License: GPL |
39 |
Patch26: smeserver-yum-1.2.0-restrictAvailable.patch |
Patch26: smeserver-yum-1.2.0-restrictAvailable.patch |
40 |
Patch27: smeserver-yum-1.2.0-restrictAvailable.patch2 |
Patch27: smeserver-yum-1.2.0-restrictAvailable.patch2 |
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 |
43 |
|
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 |
|
Patch37: smeserver-yum-1.2.0-uptodate.patch |
51 |
BuildRoot: /var/tmp/%{name}-%{version}-%{release}-buildroot |
BuildRoot: /var/tmp/%{name}-%{version}-%{release}-buildroot |
52 |
BuildArchitectures: noarch |
BuildArchitectures: noarch |
53 |
Requires: e-smith-formmagick |
Requires: e-smith-formmagick |
57 |
Provides: yumconf |
Provides: yumconf |
58 |
%if "%{?rhel}" == "5" |
%if "%{?rhel}" == "5" |
59 |
Obsoletes: rpmdb-CentOS |
Obsoletes: rpmdb-CentOS |
60 |
|
Obsoletes: check4updates |
61 |
Obsoletes: yum-plugin-fastestmirror |
Obsoletes: yum-plugin-fastestmirror |
62 |
Requires: yum-fastestmirror |
Requires: yum-fastestmirror |
63 |
%else |
%else |
71 |
%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 |
72 |
|
|
73 |
%changelog |
%changelog |
74 |
|
* Wed Jan 09 2008 Stephen Noble <support@dungog.net>1.2.0-46 |
75 |
|
- Add server is up to date message on panel [SME: 2512] |
76 |
|
|
77 |
|
* Mon Jan 7 2008 Stephen Noble <support@dungog.net> 1.2.0-45 |
78 |
|
- remove BaseURL property for repos with mirrorlists [SME: 3275] |
79 |
|
|
80 |
|
* Mon Jan 7 2008 Stephen Noble <support@dungog.net> 1.2.0-44 |
81 |
|
- safesymlink yum into local [SME: 3238] |
82 |
|
|
83 |
|
* Mon Jan 7 2008 Stephen Noble <support@dungog.net> 1.2.0-43 |
84 |
|
- add check4updates cronjob, obsolete check4updates rpm [SME: 3250] |
85 |
|
|
86 |
|
* Mon Jan 7 2008 Stephen Noble <support@dungog.net> 1.2.0-42 |
87 |
|
- yum-import-keys action to yum-update event [SME: 3196] |
88 |
|
|
89 |
|
* Mon Dec 24 2007 Stephen Noble <support@dungog.net> 1.2.0-41 |
90 |
|
- add smecontribs repo [SME: 3551] |
91 |
|
|
92 |
|
* Tue Dec 11 2007 Gavin Weight <gweight@gmail.com> 1.2.0-40 |
93 |
|
- Remove bad mirror and add two new mirrors. [SME: 3636] |
94 |
|
|
95 |
|
* Fri Nov 30 2007 Gavin Weight <gweight@gmail.com> 1.2.0-39 |
96 |
|
- Change EnableGroups value to no/yes instead of 0/1. [SME: 3607] |
97 |
|
|
98 |
|
* Fri Nov 30 2007 Gavin Weight <gweight@gmail.com> 1.2.0-38 |
99 |
|
- Fix use of uninitialized value in migrate 10GPG_and_Groups. [SME: 2491] |
100 |
|
|
101 |
* Sat Jul 14 2007 Shad L. Lords <slords@mail.com> 1.2.0-37 |
* Sat Jul 14 2007 Shad L. Lords <slords@mail.com> 1.2.0-37 |
102 |
- Add GPG keys for CentOS 5 [SME: 3160] |
- Add GPG keys for CentOS 5 [SME: 3160] |
103 |
|
|
822 |
%patch26 -p1 |
%patch26 -p1 |
823 |
%patch27 -p1 |
%patch27 -p1 |
824 |
%patch28 -p1 |
%patch28 -p1 |
825 |
|
%patch29 -p1 |
826 |
|
%patch30 -p1 |
827 |
|
%patch31 -p1 |
828 |
|
%patch32 -p1 |
829 |
|
%patch33 -p1 |
830 |
|
%patch34 -p1 |
831 |
|
%patch35 -p1 |
832 |
|
%patch36 -p1 |
833 |
|
%patch37 -p1 |
834 |
|
|
835 |
%build |
%build |
836 |
perl createlinks |
perl createlinks |
845 |
mkdir -p root/etc/e-smith/db/yum_{available,installed,updates} |
mkdir -p root/etc/e-smith/db/yum_{available,installed,updates} |
846 |
|
|
847 |
mkdir -p root/etc/yum.repos.d/ |
mkdir -p root/etc/yum.repos.d/ |
848 |
for repo in smeaddons smedev smeos smetest smeupdates smeupdates-testing |
for repo in smeaddons smedev smeos smetest smeupdates smeupdates-testing smecontribs |
849 |
do |
do |
850 |
cat > root/etc/yum.repos.d/mirrors-$repo <<END_OF_HERE |
cat > root/etc/yum.repos.d/mirrors-$repo <<END_OF_HERE |
851 |
http://distro.ibiblio.org/pub/linux/distributions/smeserver/releases/7/$repo/\$basearch |
http://distro.ibiblio.org/pub/linux/distributions/smeserver/releases/7/$repo/\$basearch |
852 |
ftp://ftp.planetmirror.com/pub/smeserver/releases/7/$repo/\$basearch |
http://sme-mirror.voxteneo.com/releases/7/$repo/\$basearch |
853 |
|
http://smemirror.fullnet.co.uk/releases/7/$repo/\$basearch |
854 |
http://ftp.nluug.nl/os/Linux/distr/smeserver/releases/7/$repo/\$basearch |
http://ftp.nluug.nl/os/Linux/distr/smeserver/releases/7/$repo/\$basearch |
855 |
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 |
856 |
http://mirror.pacific.net.au/linux/smeserver/releases/7/$repo/\$basearch |
http://mirror.pacific.net.au/linux/smeserver/releases/7/$repo/\$basearch |