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 36 |
%define release 41 |
8 |
Version: %{version} |
Version: %{version} |
9 |
Release: %{release}%{?dist} |
Release: %{release}%{?dist} |
10 |
License: GPL |
License: GPL |
38 |
Patch25: smeserver-yum-1.2.0-epel_key.patch |
Patch25: smeserver-yum-1.2.0-epel_key.patch |
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 |
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 |
BuildRoot: /var/tmp/%{name}-%{version}-%{release}-buildroot |
BuildRoot: /var/tmp/%{name}-%{version}-%{release}-buildroot |
46 |
BuildArchitectures: noarch |
BuildArchitectures: noarch |
47 |
Requires: e-smith-formmagick |
Requires: e-smith-formmagick |
64 |
%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 |
65 |
|
|
66 |
%changelog |
%changelog |
67 |
|
* Mon Dec 24 2007 Stephen Noble <support@dungog.net> 1.2.0-41 |
68 |
|
- add smecontribs repo [SME: 3551] |
69 |
|
|
70 |
|
* Tue Dec 11 2007 Gavin Weight <gweight@gmail.com> 1.2.0-40 |
71 |
|
- Remove bad mirror and add two new mirrors. [SME: 3636] |
72 |
|
|
73 |
|
* Fri Nov 30 2007 Gavin Weight <gweight@gmail.com> 1.2.0-39 |
74 |
|
- Change EnableGroups value to no/yes instead of 0/1. [SME: 3607] |
75 |
|
|
76 |
|
* Fri Nov 30 2007 Gavin Weight <gweight@gmail.com> 1.2.0-38 |
77 |
|
- Fix use of uninitialized value in migrate 10GPG_and_Groups. [SME: 2491] |
78 |
|
|
79 |
|
* Sat Jul 14 2007 Shad L. Lords <slords@mail.com> 1.2.0-37 |
80 |
|
- Add GPG keys for CentOS 5 [SME: 3160] |
81 |
|
|
82 |
* Sun Jun 10 2007 Stephen Noble <support@dungog.net> 1.2.0-36 |
* Sun Jun 10 2007 Stephen Noble <support@dungog.net> 1.2.0-36 |
83 |
- Refine matching of rpms or repos [SME: 2416] |
- Refine matching of rpms or repos [SME: 2416] |
84 |
|
|
799 |
%patch25 -p1 |
%patch25 -p1 |
800 |
%patch26 -p1 |
%patch26 -p1 |
801 |
%patch27 -p1 |
%patch27 -p1 |
802 |
|
%patch28 -p1 |
803 |
|
%patch29 -p1 |
804 |
|
%patch30 -p1 |
805 |
|
%patch31 -p1 |
806 |
|
|
807 |
%build |
%build |
808 |
perl createlinks |
perl createlinks |
817 |
mkdir -p root/etc/e-smith/db/yum_{available,installed,updates} |
mkdir -p root/etc/e-smith/db/yum_{available,installed,updates} |
818 |
|
|
819 |
mkdir -p root/etc/yum.repos.d/ |
mkdir -p root/etc/yum.repos.d/ |
820 |
for repo in smeaddons smedev smeos smetest smeupdates smeupdates-testing |
for repo in smeaddons smedev smeos smetest smeupdates smeupdates-testing smecontribs |
821 |
do |
do |
822 |
cat > root/etc/yum.repos.d/mirrors-$repo <<END_OF_HERE |
cat > root/etc/yum.repos.d/mirrors-$repo <<END_OF_HERE |
823 |
http://distro.ibiblio.org/pub/linux/distributions/smeserver/releases/7/$repo/\$basearch |
http://distro.ibiblio.org/pub/linux/distributions/smeserver/releases/7/$repo/\$basearch |
824 |
ftp://ftp.planetmirror.com/pub/smeserver/releases/7/$repo/\$basearch |
http://sme-mirror.voxteneo.com/releases/7/$repo/\$basearch |
825 |
|
http://smemirror.fullnet.co.uk/releases/7/$repo/\$basearch |
826 |
http://ftp.nluug.nl/os/Linux/distr/smeserver/releases/7/$repo/\$basearch |
http://ftp.nluug.nl/os/Linux/distr/smeserver/releases/7/$repo/\$basearch |
827 |
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 |
828 |
http://mirror.pacific.net.au/linux/smeserver/releases/7/$repo/\$basearch |
http://mirror.pacific.net.au/linux/smeserver/releases/7/$repo/\$basearch |