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 40 |
%define release 46 |
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 |
|
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 |
* Tue Dec 11 2007 Gavin Weight <gweight@gmail.com> 1.2.0-40 |
93 |
- Remove bad mirror and add two new mirrors. [SME: 3636] |
- Remove bad mirror and add two new mirrors. [SME: 3636] |
94 |
|
|
824 |
%patch28 -p1 |
%patch28 -p1 |
825 |
%patch29 -p1 |
%patch29 -p1 |
826 |
%patch30 -p1 |
%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 |