/[smecontribs]/rpms/smeserver-extrarepositories/contribs9/smeserver-extrarepositories.spec
ViewVC logotype

Diff of /rpms/smeserver-extrarepositories/contribs9/smeserver-extrarepositories.spec

Parent Directory Parent Directory | Revision Log Revision Log | View Revision Graph Revision Graph | View Patch Patch

Revision 1.4 by jpp, Thu Feb 15 20:18:44 2018 UTC Revision 1.5 by jpp, Thu Feb 15 21:16:11 2018 UTC
# Line 1  Line 1 
1  %define name smeserver-extrarepositories  %define name smeserver-extrarepositories
2  %define version 0.1  %define version 0.1
3  %define release 1  %define release 2
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}
# Line 18  AutoReqProv: no Line 18  AutoReqProv: no
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    * Thu Feb 15 2018 Jean-Philipe Pialasse <tests@pialasse.com> 0.1-2.sme
22    - first multipackage version
23    - gpg keys not included
24    
25  * Mon May 01 2017 Jean-Philipe Pialasse <tests@pialasse.com> 0.1-1.sme  * Mon May 01 2017 Jean-Philipe Pialasse <tests@pialasse.com> 0.1-1.sme
26  - initial release  - initial release
27    
# Line 176  createrepo Line 180  createrepo
180    
181  #####################  #####################
182  #####################  #####################
183    #centos-sclo-centos
184    #####################
185    #####################
186    REPO['reponame']='centos-sclo-centos'
187    REPO['fullreponame']='Centos-RH Software collections'
188    REPO['EnableGroups']='no'
189    REPO['Visible']='yes'
190    REPO['status']='disabled'
191    REPO['BaseURL']='http://mirror.centos.org/centos/\\\$releasever/sclo/\\\$basearch/sclo/'
192    REPO['MirrorList']=''
193    REPO['GPGCheck']='yes'
194    REPO['GPGKey']='https://www.centos.org/keys/RPM-GPG-KEY-CentOS-SIG-SCLo'
195    REPO['Exclude']=''
196    REPO['IncludePkgs']=''
197    createrepo
198    
199    #####################
200    #####################
201  #centos-sclo-rh  #centos-sclo-rh
202  #####################  #####################
203  #####################  #####################
# Line 184  REPO['fullreponame']='Centos-RH Software Line 206  REPO['fullreponame']='Centos-RH Software
206  REPO['EnableGroups']='no'  REPO['EnableGroups']='no'
207  REPO['Visible']='yes'  REPO['Visible']='yes'
208  REPO['status']='disabled'  REPO['status']='disabled'
209  REPO['BaseURL']='http://mirror.centos.org/centos/\\\$releasever/sclo/\\\$basearch/rh'  REPO['BaseURL']='http://mirror.centos.org/centos/\\\$releasever/sclo/\\\$basearch/rh/'
210  REPO['MirrorList']=''  REPO['MirrorList']=''
211  REPO['GPGCheck']='yes'  REPO['GPGCheck']='yes'
212  REPO['GPGKey']='https://www.centos.org/keys/RPM-GPG-KEY-CentOS-SIG-SCLo'  REPO['GPGKey']='https://www.centos.org/keys/RPM-GPG-KEY-CentOS-SIG-SCLo'
# Line 192  REPO['Exclude']='' Line 214  REPO['Exclude']=''
214  REPO['IncludePkgs']=''  REPO['IncludePkgs']=''
215  createrepo  createrepo
216    
217    
218  #####################  #####################
219  #####################  #####################
220  #egroupware  #egroupware
# Line 554  REPO['Exclude']='' Line 577  REPO['Exclude']=''
577  REPO['IncludePkgs']=''  REPO['IncludePkgs']=''
578  createrepo  createrepo
579    
580    #####################
581    #####################
582    #Sogo nightly
583    #####################
584    #####################
585    REPO['reponame']='sogo'
586    REPO['fullreponame']='Inverse SOGo 2 Repository'
587    REPO['EnableGroups']='no'
588    REPO['Visible']='yes'
589    REPO['status']='disabled'
590    REPO['BaseURL']='http://packages.inverse.ca/SOGo/nightly/2/rhel/\\\$releasever/\\\$basearch'
591    REPO['MirrorList']=''
592    REPO['GPGCheck']='no'
593    REPO['GPGKey']=''
594    REPO['Exclude']=''
595    REPO['IncludePkgs']='gnustep-base,gnustep-make,libmemcached,libwbxml,sogo*,sope49*'
596    createrepo
597    
598    #####################
599    #####################
600    #Sogo3 nightly
601    #####################
602    #####################
603    REPO['reponame']='sogo3'
604    REPO['fullreponame']='Inverse SOGo 3 Repository'
605    REPO['EnableGroups']='no'
606    REPO['Visible']='yes'
607    REPO['status']='disabled'
608    REPO['BaseURL']='http://packages.inverse.ca/SOGo/nightly/3/rhel/\\\$releasever/\\\$basearch'
609    REPO['MirrorList']=''
610    REPO['GPGCheck']='no'
611    REPO['GPGKey']=''
612    REPO['Exclude']=''
613    REPO['IncludePkgs']='gnustep-base,gnustep-make,libmemcached,libwbxml,sogo*,sope49*'
614    createrepo
615    
616    #####################
617    #####################
618    #Sogo stable
619    #####################
620    #####################
621    REPO['reponame']='sogo-subscription'
622    REPO['fullreponame']='Inverse SOGo Repository only with subscription'
623    REPO['EnableGroups']='no'
624    REPO['Visible']='yes'
625    REPO['status']='disabled'
626    REPO['BaseURL']='http://packages.inverse.ca/download/SOGo/RHEL\\\$releasever/\\\$basearch'
627    REPO['MirrorList']=''
628    REPO['GPGCheck']='no'
629    REPO['GPGKey']=''
630    REPO['Exclude']=''
631    REPO['IncludePkgs']='gnustep-base,gnustep-make,libmemcached,libwbxml,sogo*,sope49*'
632    createrepo
633    
634    #####################
635    #####################
636    #Spectrum2
637    #####################
638    #####################
639    REPO['reponame']='spectrum2'
640    REPO['fullreponame']='Spectrum2'
641    REPO['EnableGroups']='no'
642    REPO['Visible']='yes'
643    REPO['status']='disabled'
644    REPO['BaseURL']='http://copr-be.cloud.fedoraproject.org/results/mcepl/spectrum2/epel-\\\$releasever-\\\$basearch'
645    REPO['MirrorList']=''
646    REPO['GPGCheck']='no'
647    REPO['GPGKey']=''
648    REPO['Exclude']=''
649    REPO['IncludePkgs']=''
650    createrepo
651    
652    #####################
653    #####################
654    #stephDL
655    #####################
656    #####################
657    REPO['reponame']='stephdl'
658    REPO['fullreponame']='Mirror Stephane de Labrusse'
659    REPO['EnableGroups']='no'
660    REPO['Visible']='yes'
661    REPO['status']='disabled'
662    REPO['BaseURL']='http://mirror.de-labrusse.fr/smeserver/\\\$releasever'
663    REPO['MirrorList']=''
664    REPO['GPGCheck']='yes'
665    REPO['GPGKey']='http://mirror.de-labrusse.fr/RPM-GPG-KEY'
666    REPO['Exclude']=''
667    REPO['IncludePkgs']=''
668    createrepo
669    
670    #####################
671    #####################
672    #VirtualBox
673    #####################
674    #####################
675    REPO['reponame']='virtualbox'
676    REPO['fullreponame']='RHEL/CentOS VirtualBox'
677    REPO['EnableGroups']='no'
678    REPO['Visible']='yes'
679    REPO['status']='disabled'
680    REPO['BaseURL']='http://download.virtualbox.org/virtualbox/rpm/el/\\\$releasever/\\\$basearch'
681    REPO['MirrorList']=''
682    REPO['GPGCheck']='yes'
683    REPO['GPGKey']='https://www.virtualbox.org/download/oracle_vbox.asc'
684    REPO['Exclude']=''
685    REPO['IncludePkgs']=''
686    createrepo
687    
688    #####################
689    #####################
690    #Webtatic
691    #####################
692    #####################
693    REPO['reponame']='webtatic'
694    REPO['fullreponame']='webtatic - EL'
695    REPO['EnableGroups']='no'
696    REPO['Visible']='yes'
697    REPO['status']='disabled'
698    REPO['BaseURL']=''
699    REPO['MirrorList']='http://mirror.webtatic.com/yum/el-\\\$releasever/\\\$basearch/mirrolist'
700    REPO['GPGCheck']='yes'
701    if  ( "%{?dist}"  == "el5" ); then
702    REPO['GPGKey']='http://repo.webtatic.com/yum/RPM-GPG-KEY-webtatic-andy'
703    else
704    REPO['GPGKey']="http://repo.webtatic.com/yum/RPM-GPG-KEY-webtatic-%{?dist}"
705    fi
706    REPO['Exclude']=''
707    REPO['IncludePkgs']=''
708    createrepo
709    
710    #####################
711    #####################
712    #Xymon
713    #####################
714    #####################
715    REPO['reponame']='xymon'
716    REPO['fullreponame']='Xymon Terabithia RPMS - EL'
717    REPO['EnableGroups']='no'
718    REPO['Visible']='yes'
719    REPO['status']='disabled'
720    REPO['BaseURL']='http://terabithia.org/rpms/xymon/el\\\$releasever/'
721    REPO['MirrorList']=''
722    REPO['GPGCheck']='yes'
723    REPO['GPGKey']="http://terabithia.org/rpms/RPM-GPG-KEY-JCLEAVER"
724    REPO['Exclude']=''
725    REPO['IncludePkgs']=''
726    createrepo
727    
728    #####################
729    #####################
730    #Zabbix2.4
731    #####################
732    #####################
733    declare -A zabshort=( ['2.4']='24' ['2.5']='25' ['3.0']='30' ['3.1']='31' ['3.2']='32' ['3.4']='35' ['3.5']='35')
734    for elasver  in "2.4" "2.5" "3.0"; do
735    REPO['reponame']="zabbix${zabshort[$elasver]}"
736    REPO['fullreponame']="Zabbix $elasver Official Repository"
737    REPO['EnableGroups']='no'
738    REPO['Visible']='yes'
739    REPO['status']='disabled'
740    REPO['BaseURL']="http://repo.zabbix.com/zabbix/$elasver/rhel/\\\\$releasever/\\\\$basearch/"
741    REPO['MirrorList']=''
742    REPO['GPGCheck']='yes'
743    REPO['GPGKey']="http://repo.zabbix.com/RPM-GPG-KEY-ZABBIX"
744    REPO['Exclude']=''
745    REPO['IncludePkgs']=''
746    createrepo
747    done
748    
749    #####################
750    #####################
751    #zmrepo
752    #####################
753    #####################
754    REPO['reponame']='zmrepo'
755    REPO['fullreponame']='ZoneMinder Repo - EL'
756    REPO['EnableGroups']='no'
757    REPO['Visible']='yes'
758    REPO['status']='disabled'
759    REPO['BaseURL']='http://zmrepo.mehvc.com/el/\\\$releasever/\\\$basearch'
760    REPO['MirrorList']=''
761    REPO['GPGCheck']='no'
762    REPO['GPGKey']=""
763    REPO['Exclude']=''
764    REPO['IncludePkgs']=''
765    createrepo
766    
767    
768  rm -f %{name}-%{version}-filelist*  rm -f %{name}-%{version}-filelist*
769  /sbin/e-smith/genfilelist $RPM_BUILD_ROOT                       > %{name}-%{version}-filelist  /sbin/e-smith/genfilelist $RPM_BUILD_ROOT                       > %{name}-%{version}-filelist
770  cat %{name}-%{version}-filelist| grep centos-sclo-rh            > %{name}-%{version}-filelist-centos-sclo-rh  cat %{name}-%{version}-filelist| grep atomic                    > %{name}-%{version}-filelist-atomic
771    cat %{name}-%{version}-filelist| grep centos-sclo               > %{name}-%{version}-filelist-centos-sclo
772  cat %{name}-%{version}-filelist| egrep 'digium|asterisk'        > %{name}-%{version}-filelist-asterisk  cat %{name}-%{version}-filelist| egrep 'digium|asterisk'        > %{name}-%{version}-filelist-asterisk
773  cat %{name}-%{version}-filelist| grep egroupware                > %{name}-%{version}-filelist-egroupware  cat %{name}-%{version}-filelist| grep egroupware                > %{name}-%{version}-filelist-egroupware
774  cat %{name}-%{version}-filelist| grep elastic                   > %{name}-%{version}-filelist-elastic  cat %{name}-%{version}-filelist| grep elastic                   > %{name}-%{version}-filelist-elastic
# Line 580  cat %{name}-%{version}-filelist| grep re Line 789  cat %{name}-%{version}-filelist| grep re
789  cat %{name}-%{version}-filelist| grep remi-roundcube            > %{name}-%{version}-filelist-remi-roundcube  cat %{name}-%{version}-filelist| grep remi-roundcube            > %{name}-%{version}-filelist-remi-roundcube
790  cat %{name}-%{version}-filelist| grep remi|egrep -v 'safe|ocsinventory|roundcube'       > %{name}-%{version}-filelist-remi  cat %{name}-%{version}-filelist| grep remi|egrep -v 'safe|ocsinventory|roundcube'       > %{name}-%{version}-filelist-remi
791  cat %{name}-%{version}-filelist| grep rpmfusion                 > %{name}-%{version}-filelist-rpmfusion  cat %{name}-%{version}-filelist| grep rpmfusion                 > %{name}-%{version}-filelist-rpmfusion
792    cat %{name}-%{version}-filelist| grep sogo                      > %{name}-%{version}-filelist-sogo
793    cat %{name}-%{version}-filelist| grep spectrum2                 > %{name}-%{version}-filelist-spectrum2
794    cat %{name}-%{version}-filelist| grep stephdl                   > %{name}-%{version}-filelist-stephdl
795    cat %{name}-%{version}-filelist| grep virtualbox                > %{name}-%{version}-filelist-virtualbox
796    cat %{name}-%{version}-filelist| grep webtatic                  > %{name}-%{version}-filelist-webtatic
797    cat %{name}-%{version}-filelist| grep xymon                     > %{name}-%{version}-filelist-xymon
798    cat %{name}-%{version}-filelist| grep zabbix                    > %{name}-%{version}-filelist-zabbix
799    cat %{name}-%{version}-filelist| grep zmrepo                    > %{name}-%{version}-filelist-zmrepo
800    
801  %clean  %clean
802  cd ..  cd ..
803  rm -rf %{name}-%{version}  rm -rf %{name}-%{version}
804    
805  %files -f %{name}-%{version}-filelist  
806    #%files -f %{name}-%{version}-filelist
807    %files
808  %defattr(-,root,root)  %defattr(-,root,root)
809    
810  %pre  %pre
# Line 605  case "$1" in Line 824  case "$1" in
824                  # this is an upgrade                  # this is an upgrade
825          ;;          ;;
826  esac  esac
827    %package atomic
828    Summary: Atomic Repository
829    %description atomic
830    Atomic Repository
831    %files atomic -f  %{name}-%{version}-filelist-atomic
832    %defattr(-,root,root)
833    
834  %package centos-sclo-rh  %package centos-sclo
835  Summary: CentOS Red-Hat software collection repository  Summary: CentOS Red-Hat software collection repository
836  %description centos-sclo-rh  %description centos-sclo
837  CentOS Red-Hat software collection repository  CentOS Red-Hat software collection repository only for  x86_64 arch
838  %files centos-sclo-rh -f  %{name}-%{version}-filelist-centos-sclo-rh  %files centos-sclo -f  %{name}-%{version}-filelist-centos-sclo
839  %defattr(-,root,root)  %defattr(-,root,root)
840    
841  %package asterisk  %package asterisk
# Line 741  RPMFusion repositories Line 966  RPMFusion repositories
966  %files rpmfusion -f  %{name}-%{version}-filelist-rpmfusion  %files rpmfusion -f  %{name}-%{version}-filelist-rpmfusion
967  %defattr(-,root,root)  %defattr(-,root,root)
968    
969    %package sogo
970    Summary: SOGo repositories
971    %description sogo
972    SOGo repositories
973    %files sogo -f  %{name}-%{version}-filelist-sogo
974    %defattr(-,root,root)
975    
976    %package spectrum2
977    Summary: Spectrum2 Repository
978    %description spectrum2
979    Spectrum2 Repository
980    %files spectrum2 -f  %{name}-%{version}-filelist-spectrum2
981    %defattr(-,root,root)
982    
983    %package stephdl
984    Summary: Stephane De Labrusse Repository
985    %description stephdl
986    Stephane De Labrusse Repository
987    %files stephdl -f  %{name}-%{version}-filelist-stephdl
988    %defattr(-,root,root)
989    
990    %package virtualbox
991    Summary: Virtualbox Repository
992    %description virtualbox
993    Virtualbox Repository
994    %files virtualbox -f  %{name}-%{version}-filelist-virtualbox
995    %defattr(-,root,root)
996    
997    %package webtatic
998    Summary: Webtatic Repository
999    %description webtatic
1000    Webtatic Repository
1001    %files webtatic -f  %{name}-%{version}-filelist-webtatic
1002    %defattr(-,root,root)
1003    
1004    %package xymon
1005    Summary: Xymon Terabithia Repository
1006    %description xymon
1007    Xymon Terabithia Repository
1008    %files xymon -f  %{name}-%{version}-filelist-xymon
1009    %defattr(-,root,root)
1010    
1011    %package zabbix
1012    Summary: Zabbix official Repository
1013    %description zabbix
1014    Zabbix official Repository
1015    %files zabbix -f  %{name}-%{version}-filelist-zabbix
1016    %defattr(-,root,root)
1017    
1018    %package zmrepo
1019    Summary: Zone Minder Repository
1020    %description zmrepo
1021    Zone Minder Repository
1022    %files zmrepo -f  %{name}-%{version}-filelist-zmrepo
1023    %defattr(-,root,root)
1024    
1025    
1026    


Legend:
Removed lines/characters  
Changed lines/characters
  Added lines/characters

admin@koozali.org
ViewVC Help
Powered by ViewVC 1.2.1 RSS 2.0 feed