--- rpms/smeserver-extrarepositories/contribs9/smeserver-extrarepositories.spec 2018/02/15 20:18:44 1.4 +++ rpms/smeserver-extrarepositories/contribs9/smeserver-extrarepositories.spec 2018/02/15 21:16:11 1.5 @@ -1,6 +1,6 @@ %define name smeserver-extrarepositories %define version 0.1 -%define release 1 +%define release 2 Summary: easy configuration of extra yum repo Name: %{name} Version: %{version} @@ -18,6 +18,10 @@ AutoReqProv: no Provides configuration for external yum repository comaptible with Koozali SME Server. %changelog +* Thu Feb 15 2018 Jean-Philipe Pialasse 0.1-2.sme +- first multipackage version +- gpg keys not included + * Mon May 01 2017 Jean-Philipe Pialasse 0.1-1.sme - initial release @@ -176,6 +180,24 @@ createrepo ##################### ##################### +#centos-sclo-centos +##################### +##################### +REPO['reponame']='centos-sclo-centos' +REPO['fullreponame']='Centos-RH Software collections' +REPO['EnableGroups']='no' +REPO['Visible']='yes' +REPO['status']='disabled' +REPO['BaseURL']='http://mirror.centos.org/centos/\\\$releasever/sclo/\\\$basearch/sclo/' +REPO['MirrorList']='' +REPO['GPGCheck']='yes' +REPO['GPGKey']='https://www.centos.org/keys/RPM-GPG-KEY-CentOS-SIG-SCLo' +REPO['Exclude']='' +REPO['IncludePkgs']='' +createrepo + +##################### +##################### #centos-sclo-rh ##################### ##################### @@ -184,7 +206,7 @@ REPO['fullreponame']='Centos-RH Software REPO['EnableGroups']='no' REPO['Visible']='yes' REPO['status']='disabled' -REPO['BaseURL']='http://mirror.centos.org/centos/\\\$releasever/sclo/\\\$basearch/rh' +REPO['BaseURL']='http://mirror.centos.org/centos/\\\$releasever/sclo/\\\$basearch/rh/' REPO['MirrorList']='' REPO['GPGCheck']='yes' REPO['GPGKey']='https://www.centos.org/keys/RPM-GPG-KEY-CentOS-SIG-SCLo' @@ -192,6 +214,7 @@ REPO['Exclude']='' REPO['IncludePkgs']='' createrepo + ##################### ##################### #egroupware @@ -554,12 +577,198 @@ REPO['Exclude']='' REPO['IncludePkgs']='' createrepo +##################### +##################### +#Sogo nightly +##################### +##################### +REPO['reponame']='sogo' +REPO['fullreponame']='Inverse SOGo 2 Repository' +REPO['EnableGroups']='no' +REPO['Visible']='yes' +REPO['status']='disabled' +REPO['BaseURL']='http://packages.inverse.ca/SOGo/nightly/2/rhel/\\\$releasever/\\\$basearch' +REPO['MirrorList']='' +REPO['GPGCheck']='no' +REPO['GPGKey']='' +REPO['Exclude']='' +REPO['IncludePkgs']='gnustep-base,gnustep-make,libmemcached,libwbxml,sogo*,sope49*' +createrepo + +##################### +##################### +#Sogo3 nightly +##################### +##################### +REPO['reponame']='sogo3' +REPO['fullreponame']='Inverse SOGo 3 Repository' +REPO['EnableGroups']='no' +REPO['Visible']='yes' +REPO['status']='disabled' +REPO['BaseURL']='http://packages.inverse.ca/SOGo/nightly/3/rhel/\\\$releasever/\\\$basearch' +REPO['MirrorList']='' +REPO['GPGCheck']='no' +REPO['GPGKey']='' +REPO['Exclude']='' +REPO['IncludePkgs']='gnustep-base,gnustep-make,libmemcached,libwbxml,sogo*,sope49*' +createrepo + +##################### +##################### +#Sogo stable +##################### +##################### +REPO['reponame']='sogo-subscription' +REPO['fullreponame']='Inverse SOGo Repository only with subscription' +REPO['EnableGroups']='no' +REPO['Visible']='yes' +REPO['status']='disabled' +REPO['BaseURL']='http://packages.inverse.ca/download/SOGo/RHEL\\\$releasever/\\\$basearch' +REPO['MirrorList']='' +REPO['GPGCheck']='no' +REPO['GPGKey']='' +REPO['Exclude']='' +REPO['IncludePkgs']='gnustep-base,gnustep-make,libmemcached,libwbxml,sogo*,sope49*' +createrepo + +##################### +##################### +#Spectrum2 +##################### +##################### +REPO['reponame']='spectrum2' +REPO['fullreponame']='Spectrum2' +REPO['EnableGroups']='no' +REPO['Visible']='yes' +REPO['status']='disabled' +REPO['BaseURL']='http://copr-be.cloud.fedoraproject.org/results/mcepl/spectrum2/epel-\\\$releasever-\\\$basearch' +REPO['MirrorList']='' +REPO['GPGCheck']='no' +REPO['GPGKey']='' +REPO['Exclude']='' +REPO['IncludePkgs']='' +createrepo + +##################### +##################### +#stephDL +##################### +##################### +REPO['reponame']='stephdl' +REPO['fullreponame']='Mirror Stephane de Labrusse' +REPO['EnableGroups']='no' +REPO['Visible']='yes' +REPO['status']='disabled' +REPO['BaseURL']='http://mirror.de-labrusse.fr/smeserver/\\\$releasever' +REPO['MirrorList']='' +REPO['GPGCheck']='yes' +REPO['GPGKey']='http://mirror.de-labrusse.fr/RPM-GPG-KEY' +REPO['Exclude']='' +REPO['IncludePkgs']='' +createrepo + +##################### +##################### +#VirtualBox +##################### +##################### +REPO['reponame']='virtualbox' +REPO['fullreponame']='RHEL/CentOS VirtualBox' +REPO['EnableGroups']='no' +REPO['Visible']='yes' +REPO['status']='disabled' +REPO['BaseURL']='http://download.virtualbox.org/virtualbox/rpm/el/\\\$releasever/\\\$basearch' +REPO['MirrorList']='' +REPO['GPGCheck']='yes' +REPO['GPGKey']='https://www.virtualbox.org/download/oracle_vbox.asc' +REPO['Exclude']='' +REPO['IncludePkgs']='' +createrepo + +##################### +##################### +#Webtatic +##################### +##################### +REPO['reponame']='webtatic' +REPO['fullreponame']='webtatic - EL' +REPO['EnableGroups']='no' +REPO['Visible']='yes' +REPO['status']='disabled' +REPO['BaseURL']='' +REPO['MirrorList']='http://mirror.webtatic.com/yum/el-\\\$releasever/\\\$basearch/mirrolist' +REPO['GPGCheck']='yes' +if ( "%{?dist}" == "el5" ); then +REPO['GPGKey']='http://repo.webtatic.com/yum/RPM-GPG-KEY-webtatic-andy' +else +REPO['GPGKey']="http://repo.webtatic.com/yum/RPM-GPG-KEY-webtatic-%{?dist}" +fi +REPO['Exclude']='' +REPO['IncludePkgs']='' +createrepo + +##################### +##################### +#Xymon +##################### +##################### +REPO['reponame']='xymon' +REPO['fullreponame']='Xymon Terabithia RPMS - EL' +REPO['EnableGroups']='no' +REPO['Visible']='yes' +REPO['status']='disabled' +REPO['BaseURL']='http://terabithia.org/rpms/xymon/el\\\$releasever/' +REPO['MirrorList']='' +REPO['GPGCheck']='yes' +REPO['GPGKey']="http://terabithia.org/rpms/RPM-GPG-KEY-JCLEAVER" +REPO['Exclude']='' +REPO['IncludePkgs']='' +createrepo + +##################### +##################### +#Zabbix2.4 +##################### +##################### +declare -A zabshort=( ['2.4']='24' ['2.5']='25' ['3.0']='30' ['3.1']='31' ['3.2']='32' ['3.4']='35' ['3.5']='35') +for elasver in "2.4" "2.5" "3.0"; do +REPO['reponame']="zabbix${zabshort[$elasver]}" +REPO['fullreponame']="Zabbix $elasver Official Repository" +REPO['EnableGroups']='no' +REPO['Visible']='yes' +REPO['status']='disabled' +REPO['BaseURL']="http://repo.zabbix.com/zabbix/$elasver/rhel/\\\\$releasever/\\\\$basearch/" +REPO['MirrorList']='' +REPO['GPGCheck']='yes' +REPO['GPGKey']="http://repo.zabbix.com/RPM-GPG-KEY-ZABBIX" +REPO['Exclude']='' +REPO['IncludePkgs']='' +createrepo +done +##################### +##################### +#zmrepo +##################### +##################### +REPO['reponame']='zmrepo' +REPO['fullreponame']='ZoneMinder Repo - EL' +REPO['EnableGroups']='no' +REPO['Visible']='yes' +REPO['status']='disabled' +REPO['BaseURL']='http://zmrepo.mehvc.com/el/\\\$releasever/\\\$basearch' +REPO['MirrorList']='' +REPO['GPGCheck']='no' +REPO['GPGKey']="" +REPO['Exclude']='' +REPO['IncludePkgs']='' +createrepo rm -f %{name}-%{version}-filelist* /sbin/e-smith/genfilelist $RPM_BUILD_ROOT > %{name}-%{version}-filelist -cat %{name}-%{version}-filelist| grep centos-sclo-rh > %{name}-%{version}-filelist-centos-sclo-rh +cat %{name}-%{version}-filelist| grep atomic > %{name}-%{version}-filelist-atomic +cat %{name}-%{version}-filelist| grep centos-sclo > %{name}-%{version}-filelist-centos-sclo cat %{name}-%{version}-filelist| egrep 'digium|asterisk' > %{name}-%{version}-filelist-asterisk cat %{name}-%{version}-filelist| grep egroupware > %{name}-%{version}-filelist-egroupware cat %{name}-%{version}-filelist| grep elastic > %{name}-%{version}-filelist-elastic @@ -580,12 +789,22 @@ cat %{name}-%{version}-filelist| grep re cat %{name}-%{version}-filelist| grep remi-roundcube > %{name}-%{version}-filelist-remi-roundcube cat %{name}-%{version}-filelist| grep remi|egrep -v 'safe|ocsinventory|roundcube' > %{name}-%{version}-filelist-remi cat %{name}-%{version}-filelist| grep rpmfusion > %{name}-%{version}-filelist-rpmfusion +cat %{name}-%{version}-filelist| grep sogo > %{name}-%{version}-filelist-sogo +cat %{name}-%{version}-filelist| grep spectrum2 > %{name}-%{version}-filelist-spectrum2 +cat %{name}-%{version}-filelist| grep stephdl > %{name}-%{version}-filelist-stephdl +cat %{name}-%{version}-filelist| grep virtualbox > %{name}-%{version}-filelist-virtualbox +cat %{name}-%{version}-filelist| grep webtatic > %{name}-%{version}-filelist-webtatic +cat %{name}-%{version}-filelist| grep xymon > %{name}-%{version}-filelist-xymon +cat %{name}-%{version}-filelist| grep zabbix > %{name}-%{version}-filelist-zabbix +cat %{name}-%{version}-filelist| grep zmrepo > %{name}-%{version}-filelist-zmrepo %clean cd .. rm -rf %{name}-%{version} -%files -f %{name}-%{version}-filelist + +#%files -f %{name}-%{version}-filelist +%files %defattr(-,root,root) %pre @@ -605,12 +824,18 @@ case "$1" in # this is an upgrade ;; esac +%package atomic +Summary: Atomic Repository +%description atomic +Atomic Repository +%files atomic -f %{name}-%{version}-filelist-atomic +%defattr(-,root,root) -%package centos-sclo-rh +%package centos-sclo Summary: CentOS Red-Hat software collection repository -%description centos-sclo-rh -CentOS Red-Hat software collection repository -%files centos-sclo-rh -f %{name}-%{version}-filelist-centos-sclo-rh +%description centos-sclo +CentOS Red-Hat software collection repository only for x86_64 arch +%files centos-sclo -f %{name}-%{version}-filelist-centos-sclo %defattr(-,root,root) %package asterisk @@ -741,3 +966,61 @@ RPMFusion repositories %files rpmfusion -f %{name}-%{version}-filelist-rpmfusion %defattr(-,root,root) +%package sogo +Summary: SOGo repositories +%description sogo +SOGo repositories +%files sogo -f %{name}-%{version}-filelist-sogo +%defattr(-,root,root) + +%package spectrum2 +Summary: Spectrum2 Repository +%description spectrum2 +Spectrum2 Repository +%files spectrum2 -f %{name}-%{version}-filelist-spectrum2 +%defattr(-,root,root) + +%package stephdl +Summary: Stephane De Labrusse Repository +%description stephdl +Stephane De Labrusse Repository +%files stephdl -f %{name}-%{version}-filelist-stephdl +%defattr(-,root,root) + +%package virtualbox +Summary: Virtualbox Repository +%description virtualbox +Virtualbox Repository +%files virtualbox -f %{name}-%{version}-filelist-virtualbox +%defattr(-,root,root) + +%package webtatic +Summary: Webtatic Repository +%description webtatic +Webtatic Repository +%files webtatic -f %{name}-%{version}-filelist-webtatic +%defattr(-,root,root) + +%package xymon +Summary: Xymon Terabithia Repository +%description xymon +Xymon Terabithia Repository +%files xymon -f %{name}-%{version}-filelist-xymon +%defattr(-,root,root) + +%package zabbix +Summary: Zabbix official Repository +%description zabbix +Zabbix official Repository +%files zabbix -f %{name}-%{version}-filelist-zabbix +%defattr(-,root,root) + +%package zmrepo +Summary: Zone Minder Repository +%description zmrepo +Zone Minder Repository +%files zmrepo -f %{name}-%{version}-filelist-zmrepo +%defattr(-,root,root) + + +