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 55 |
%define release 58 |
10 |
Version: %{version} |
Version: %{version} |
11 |
Release: %{release}%{?dist} |
Release: %{release}%{?dist} |
12 |
License: GPL |
License: GPL |
56 |
Patch41: smeserver-yum-1.2.0-cleanyum.patch |
Patch41: smeserver-yum-1.2.0-cleanyum.patch |
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 |
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 |
64 |
|
Requires: e-smith-base |
65 |
Requires: perl(CGI::FormMagick) >= 0.91-26 |
Requires: perl(CGI::FormMagick) >= 0.91-26 |
66 |
Requires: rpm-python >= 4.0.4-7x.18 |
Requires: rpm-python >= 4.0.4-7x.18 |
67 |
Requires: yum >= 1.0.3-1_73 |
Requires: yum >= 1.0.3-1_73 |
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 |
|
* Tue Oct 7 2008 Shad L. Lords <slords@mail.com> 1.2.0-58 |
89 |
|
- Fix mirrorlist for sme8 [SME: 4508] |
90 |
|
|
91 |
|
* Fri Sep 19 2008 Shad L. Lords <slords@mail.com> 1.2.0-57 |
92 |
|
- Add smeextras repo database and information [SME: 4585] |
93 |
|
|
94 |
|
* Sun Aug 10 2008 Shad L. Lords <slords@mail.com> 1.2.0-56 |
95 |
|
- Remove links to crontab in bootstrap-console-save [SME: 4494] |
96 |
|
|
97 |
* Sat Jul 5 2008 Jonathan Martens <smeserver-contribs@snetram.nl> 1.2.0-55 |
* Sat Jul 5 2008 Jonathan Martens <smeserver-contribs@snetram.nl> 1.2.0-55 |
98 |
- Add common <base> tags to e-smith-formmagick's general [SME: 4279] |
- Add common <base> tags to e-smith-formmagick's general [SME: 4279] |
99 |
|
|
887 |
%patch41 -p1 |
%patch41 -p1 |
888 |
%patch42 -p1 |
%patch42 -p1 |
889 |
%patch43 -p1 |
%patch43 -p1 |
890 |
|
%patch44 -p1 |
891 |
|
%patch45 -p1 |
892 |
|
|
893 |
%build |
%build |
894 |
perl createlinks |
perl createlinks |
902 |
|
|
903 |
mkdir -p root/etc/e-smith/db/yum_{available,installed,updates} |
mkdir -p root/etc/e-smith/db/yum_{available,installed,updates} |
904 |
|
|
905 |
|
%if "%{?rhel}" == "5" |
906 |
|
# TODO: Remove testing when released |
907 |
|
ver=testing/8 |
908 |
|
%else |
909 |
|
ver=7 |
910 |
|
%endif |
911 |
|
|
912 |
mkdir -p root/etc/yum.repos.d/ |
mkdir -p root/etc/yum.repos.d/ |
913 |
for repo in smeaddons smedev smeos smetest smeupdates smeupdates-testing smecontribs |
for repo in smeaddons smecontribs smedev smeextras smeos smetest smeupdates smeupdates-testing |
914 |
do |
do |
915 |
cat > root/etc/yum.repos.d/mirrors-$repo <<END_OF_HERE |
cat > root/etc/yum.repos.d/mirrors-$repo <<END_OF_HERE |
916 |
http://distro.ibiblio.org/pub/linux/distributions/smeserver/releases/7/$repo/\$basearch |
http://distro.ibiblio.org/pub/linux/distributions/smeserver/releases/$ver/$repo/\$basearch |
917 |
http://sme-mirror.voxteneo.com/releases/7/$repo/\$basearch |
http://sme-mirror.voxteneo.com/releases/$ver/$repo/\$basearch |
918 |
http://smemirror.fullnet.co.uk/releases/7/$repo/\$basearch |
http://smemirror.fullnet.co.uk/releases/$ver/$repo/\$basearch |
919 |
http://ftp.nluug.nl/os/Linux/distr/smeserver/releases/7/$repo/\$basearch |
http://ftp.nluug.nl/os/Linux/distr/smeserver/releases/$ver/$repo/\$basearch |
920 |
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/$ver/$repo/\$basearch |
921 |
http://mirror.pacific.net.au/linux/smeserver/releases/7/$repo/\$basearch |
http://mirror.pacific.net.au/linux/smeserver/releases/$ver/$repo/\$basearch |
922 |
END_OF_HERE |
END_OF_HERE |
923 |
|
|
924 |
done |
done |