6 |
Summary: YUM, an rpm updaterdefine name smeserver-yum |
Summary: YUM, an rpm updaterdefine name smeserver-yum |
7 |
Name: %{name} |
Name: %{name} |
8 |
%define version 1.2.0 |
%define version 1.2.0 |
9 |
%define release 56 |
%define release 57 |
10 |
Version: %{version} |
Version: %{version} |
11 |
Release: %{release}%{?dist} |
Release: %{release}%{?dist} |
12 |
License: GPL |
License: GPL |
57 |
Patch42: smeserver-yum-1.2.0-deletedungog.patch |
Patch42: smeserver-yum-1.2.0-deletedungog.patch |
58 |
Patch43: smeserver-yum-1.2.0-add2general.patch |
Patch43: smeserver-yum-1.2.0-add2general.patch |
59 |
Patch44: smeserver-yum-1.2.0-crontab.patch |
Patch44: smeserver-yum-1.2.0-crontab.patch |
60 |
|
Patch45: smeserver-yum-1.2.0-smeextras.patch |
61 |
BuildRoot: /var/tmp/%{name}-%{version}-%{release}-buildroot |
BuildRoot: /var/tmp/%{name}-%{version}-%{release}-buildroot |
62 |
BuildArchitectures: noarch |
BuildArchitectures: noarch |
63 |
Requires: e-smith-formmagick >= 1.4.0-12 |
Requires: e-smith-formmagick >= 1.4.0-12 |
85 |
%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 |
86 |
|
|
87 |
%changelog |
%changelog |
88 |
|
* Fri Sep 19 2008 Shad L. Lords <slords@mail.com> 1.2.0-57 |
89 |
|
- Add smeextras repo database and information [SME: 4585] |
90 |
|
|
91 |
* Sun Aug 10 2008 Shad L. Lords <slords@mail.com> 1.2.0-56 |
* Sun Aug 10 2008 Shad L. Lords <slords@mail.com> 1.2.0-56 |
92 |
- Remove links to crontab in bootstrap-console-save [SME: 4494] |
- Remove links to crontab in bootstrap-console-save [SME: 4494] |
93 |
|
|
885 |
%patch42 -p1 |
%patch42 -p1 |
886 |
%patch43 -p1 |
%patch43 -p1 |
887 |
%patch44 -p1 |
%patch44 -p1 |
888 |
|
%patch45 -p1 |
889 |
|
|
890 |
%build |
%build |
891 |
perl createlinks |
perl createlinks |
900 |
mkdir -p root/etc/e-smith/db/yum_{available,installed,updates} |
mkdir -p root/etc/e-smith/db/yum_{available,installed,updates} |
901 |
|
|
902 |
mkdir -p root/etc/yum.repos.d/ |
mkdir -p root/etc/yum.repos.d/ |
903 |
for repo in smeaddons smedev smeos smetest smeupdates smeupdates-testing smecontribs |
for repo in smeaddons smecontribs smedev smeextras smeos smetest smeupdates smeupdates-testing |
904 |
do |
do |
905 |
cat > root/etc/yum.repos.d/mirrors-$repo <<END_OF_HERE |
cat > root/etc/yum.repos.d/mirrors-$repo <<END_OF_HERE |
906 |
http://distro.ibiblio.org/pub/linux/distributions/smeserver/releases/7/$repo/\$basearch |
http://distro.ibiblio.org/pub/linux/distributions/smeserver/releases/7/$repo/\$basearch |