1 |
%define name smeserver-extrarepositories |
%define name smeserver-extrarepositories |
2 |
%define version 0.1 |
%define version 0.1 |
3 |
%define release 5 |
%define release 14 |
4 |
Summary: easy configuration of extra yum repo |
Summary: easy configuration of extra yum repo |
5 |
Name: %{name} |
Name: %{name} |
6 |
Version: %{version} |
Version: %{version} |
18 |
Provides configuration for external yum repository comaptible with Koozali SME Server. |
Provides configuration for external yum repository comaptible with Koozali SME Server. |
19 |
|
|
20 |
%changelog |
%changelog |
21 |
|
* Sat Dec 29 2018 Jean-Philipe Pialasse <tests@pialasse.com> 0.1-14.sme |
22 |
|
- fix typo in asterisk-current |
23 |
|
- fix typo in migrate fragment for zmrepo |
24 |
|
- renamed digium as digium-current |
25 |
|
|
26 |
|
* Fri Dec 28 2018 Jean-Philipe Pialasse <tests@pialasse.com> 0.1-12.sme |
27 |
|
- zoneminder needs ffmpeg from zmrepo [SME: 10539] |
28 |
|
|
29 |
|
* Fri Dec 28 2018 Jean-Philipe Pialasse <tests@pialasse.com> 0.1-11.sme |
30 |
|
- zmrepo url has changed [SME: 10675] |
31 |
|
|
32 |
|
* Fri Nov 30 2018 John Crisp <jcrisp@safeandsoundit.co.uk> 0.1-7.sme |
33 |
|
- Add libreswan repo [SME: 10605] |
34 |
|
- remove duplicate remi-safe entry |
35 |
|
|
36 |
|
* Mon Jun 25 2018 John Crisp <jcrisp@safeandsoundit.co.uk> 0.1-6.sme |
37 |
|
- Update reetp URL [SME: 10604] |
38 |
|
|
39 |
* Tue May 08 2018 Jean-Philipe Pialasse <tests@pialasse.com> 0.1-5.sme |
* Tue May 08 2018 Jean-Philipe Pialasse <tests@pialasse.com> 0.1-5.sme |
40 |
- add elrepo-kernel repo [SME: 10581] |
- add elrepo-kernel repo [SME: 10581] |
41 |
|
|
102 |
|
|
103 |
|
|
104 |
|
|
|
#remi-safe |
|
|
REPO['reponame']='remi-safe' |
|
|
REPO['fullreponame']='Remi - safe' |
|
|
REPO['EnableGroups']='no' |
|
|
REPO['GPGCheck']='yes' |
|
|
REPO['Visible']='yes' |
|
|
REPO['status']='enabled' |
|
|
REPO['BaseURL']='http://rpms.famillecollet.com/enterprise/$releasever/safe/$basearch/' |
|
|
REPO['MirrorList']='' |
|
|
REPO['GPGKey']='http://rpms.famillecollet.com/RPM-GPG-KEY-remi' |
|
|
REPO['Exclude']='' |
|
|
REPO['IncludePkgs']='' |
|
|
createrepo |
|
|
|
|
105 |
###################### |
###################### |
106 |
##################### |
##################### |
107 |
# asterisk 13 LTS |
# asterisk 13 LTS |
131 |
REPO['GPGCheck']='no' |
REPO['GPGCheck']='no' |
132 |
REPO['Visible']='no' |
REPO['Visible']='no' |
133 |
REPO['status']='disabled' |
REPO['status']='disabled' |
134 |
REPO['BaseURL']='http://packages.asterisk.org/centos$releasever/current/$basearch/' |
REPO['BaseURL']='http://packages.asterisk.org/centos/$releasever/current/$basearch/' |
135 |
REPO['MirrorList']='' |
REPO['MirrorList']='' |
136 |
REPO['GPGKey']='' |
REPO['GPGKey']='' |
137 |
REPO['Exclude']='' |
REPO['Exclude']='' |
143 |
# Digium Repo |
# Digium Repo |
144 |
##################### |
##################### |
145 |
##################### |
##################### |
146 |
REPO['reponame']='digium' |
REPO['reponame']='digium-current' |
147 |
REPO['fullreponame']='Digium packages - EL' |
REPO['fullreponame']='Digium packages - EL' |
148 |
REPO['EnableGroups']='no' |
REPO['EnableGroups']='no' |
149 |
REPO['Visible']='no' |
REPO['Visible']='no' |
228 |
REPO['IncludePkgs']='' |
REPO['IncludePkgs']='' |
229 |
createrepo |
createrepo |
230 |
|
|
|
|
|
231 |
##################### |
##################### |
232 |
##################### |
##################### |
233 |
#egroupware |
#egroupware |
411 |
REPO['IncludePkgs']='' |
REPO['IncludePkgs']='' |
412 |
createrepo |
createrepo |
413 |
|
|
414 |
|
##################### |
415 |
|
##################### |
416 |
|
# Libreswan |
417 |
|
##################### |
418 |
|
##################### |
419 |
|
REPO['reponame']='libreswan' |
420 |
|
REPO['fullreponame']='Libreswan' |
421 |
|
REPO['EnableGroups']='no' |
422 |
|
REPO['Visible']='no' |
423 |
|
REPO['status']='disabled' |
424 |
|
REPO['BaseURL']='http://download.libreswan.org/binaries/rhel/6/x86_64/' |
425 |
|
REPO['MirrorList']='' |
426 |
|
REPO['GPGCheck']='yes' |
427 |
|
REPO['GPGKey']='http://download.libreswan.org/binaries/RPM-GPG-KEY-libreswan' |
428 |
|
REPO['Exclude']='' |
429 |
|
REPO['IncludePkgs']='' |
430 |
|
createrepo |
431 |
|
|
432 |
|
|
433 |
if ( "%{?dist}" == "el7" ); then |
if ( "%{?dist}" == "el7" ); then |
434 |
##################### |
##################### |
435 |
##################### |
##################### |
514 |
REPO['EnableGroups']='no' |
REPO['EnableGroups']='no' |
515 |
REPO['Visible']='yes' |
REPO['Visible']='yes' |
516 |
REPO['status']='disabled' |
REPO['status']='disabled' |
517 |
REPO['BaseURL']='https://reetspetit.com/smeserver/$releasever' |
REPO['BaseURL']='https://www.reetspetit.com/smeserver/$releasever' |
518 |
REPO['MirrorList']='' |
REPO['MirrorList']='' |
519 |
REPO['GPGCheck']='no' |
REPO['GPGCheck']='no' |
520 |
REPO['GPGKey']='https://reetspetit.com/RPM-GPG-KEY' |
REPO['GPGKey']='https://www.reetspetit.com/RPM-GPG-KEY' |
521 |
REPO['Exclude']='' |
REPO['Exclude']='' |
522 |
REPO['IncludePkgs']='' |
REPO['IncludePkgs']='' |
523 |
createrepo |
createrepo |
524 |
|
|
525 |
|
##################### |
526 |
|
##################### |
527 |
#remi-safe |
#remi-safe |
528 |
|
##################### |
529 |
|
##################### |
530 |
REPO['reponame']='remi-safe' |
REPO['reponame']='remi-safe' |
531 |
REPO['fullreponame']='Remi - safe' |
REPO['fullreponame']='Remi - safe' |
532 |
REPO['EnableGroups']='no' |
REPO['EnableGroups']='no' |
828 |
REPO['EnableGroups']='no' |
REPO['EnableGroups']='no' |
829 |
REPO['Visible']='yes' |
REPO['Visible']='yes' |
830 |
REPO['status']='disabled' |
REPO['status']='disabled' |
831 |
REPO['BaseURL']='http://zmrepo.mehvc.com/el/$releasever/$basearch' |
REPO['BaseURL']='http://zmrepo.zoneminder.com/el/$releasever/$basearch' |
832 |
REPO['MirrorList']='' |
REPO['MirrorList']='' |
833 |
REPO['GPGCheck']='no' |
REPO['GPGCheck']='no' |
834 |
REPO['GPGKey']="" |
REPO['GPGKey']="" |
835 |
REPO['Exclude']='ffmpeg-2.6.4,celt-0.11' |
REPO['Exclude']='' |
836 |
REPO['IncludePkgs']='' |
REPO['IncludePkgs']='' |
837 |
createrepo |
createrepo |
838 |
|
|
902 |
|
|
903 |
EOF |
EOF |
904 |
|
|
905 |
|
cat << 'EOF' >$RPM_BUILD_ROOT/etc/e-smith/db/yum_repositories/migrate/10zmrepo |
906 |
|
{ |
907 |
|
for my $name ( qw(zmrepo) ) |
908 |
|
{ |
909 |
|
my $repo = $DB->get($name) or next; |
910 |
|
my $BaseURL = $repo->prop('BaseURL') || ''; |
911 |
|
$BaseURL =~ s/zmrepo.mehvc.com/zmrepo.zoneminder.com/g; |
912 |
|
$repo->set_prop('BaseURL', $BaseURL); |
913 |
|
$repo->delete('Exclude'); |
914 |
|
} |
915 |
|
|
916 |
|
} |
917 |
|
|
918 |
|
EOF |
919 |
|
|
920 |
|
cat << 'EOF' >$RPM_BUILD_ROOT/etc/e-smith/db/yum_repositories/migrate/10asterisk |
921 |
|
{ |
922 |
|
for my $name ( qw(asterisk-current) ) |
923 |
|
{ |
924 |
|
my $repo = $DB->get($name) or next; |
925 |
|
my $BaseURL = $repo->prop('BaseURL') || ''; |
926 |
|
$BaseURL =~ s/centos\$/centos\/\$/g; |
927 |
|
$repo->set_prop('BaseURL', $BaseURL); |
928 |
|
} |
929 |
|
|
930 |
|
} |
931 |
|
|
932 |
|
EOF |
933 |
|
|
934 |
|
|
935 |
|
|
949 |
cat %{name}-%{version}-filelist| grep freeswitch > %{name}-%{version}-filelist-freeswitch |
cat %{name}-%{version}-filelist| grep freeswitch > %{name}-%{version}-filelist-freeswitch |
950 |
cat %{name}-%{version}-filelist| grep fws > %{name}-%{version}-filelist-fws |
cat %{name}-%{version}-filelist| grep fws > %{name}-%{version}-filelist-fws |
951 |
cat %{name}-%{version}-filelist| grep geekery > %{name}-%{version}-filelist-geekery |
cat %{name}-%{version}-filelist| grep geekery > %{name}-%{version}-filelist-geekery |
952 |
|
cat %{name}-%{version}-filelist| grep libreswan > %{name}-%{version}-filelist-libreswan |
953 |
if ( "%{?dist}" == "el7" ); then |
if ( "%{?dist}" == "el7" ); then |
954 |
cat %{name}-%{version}-filelist| grep odoo > %{name}-%{version}-filelist-odoo |
cat %{name}-%{version}-filelist| grep odoo > %{name}-%{version}-filelist-odoo |
955 |
fi |
fi |
1073 |
%files geekery -f %{name}-%{version}-filelist-geekery |
%files geekery -f %{name}-%{version}-filelist-geekery |
1074 |
%defattr(-,root,root) |
%defattr(-,root,root) |
1075 |
|
|
1076 |
|
%package libreswan |
1077 |
|
Summary: Libreswan Repository |
1078 |
|
%description libreswan |
1079 |
|
Geekery Repository |
1080 |
|
%files libreswan -f %{name}-%{version}-filelist-libreswan |
1081 |
|
%defattr(-,root,root) |
1082 |
|
|
1083 |
%package odoo |
%package odoo |
1084 |
Summary: Odoo 10 Nightly - EL7 Repository |
Summary: Odoo 10 Nightly - EL7 Repository |
1085 |
Distribution: el7 |
Distribution: el7 |