/[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.8 by jpp, Sun Mar 18 09:27:52 2018 UTC Revision 1.19 by jpp, Sat Dec 29 05:34:06 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 4  %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}
# 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    * 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
40    - add elrepo-kernel repo  [SME: 10581]
41    
42  * Sun Mar 18 2018 Jean-Philipe Pialasse <tests@pialasse.com> 0.1-4.sme  * Sun Mar 18 2018 Jean-Philipe Pialasse <tests@pialasse.com> 0.1-4.sme
43  - exclude ffmpeg-2.6.4 and celt-0.11 from zmrepo [SME: 10543]  - exclude ffmpeg-2.6.4 and celt-0.11 from zmrepo [SME: 10543]
44  - add Sogo4 repo + migrate to exclude gnustep from epel if sogo repo present  - add Sogo4 repo + migrate to exclude gnustep from epel if sogo repo present
# Line 81  return 0 Line 102  return 0
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
# Line 124  REPO['EnableGroups']='yes' Line 131  REPO['EnableGroups']='yes'
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']=''
# Line 136  createrepo Line 143  createrepo
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'
# Line 221  REPO['Exclude']='' Line 228  REPO['Exclude']=''
228  REPO['IncludePkgs']=''  REPO['IncludePkgs']=''
229  createrepo  createrepo
230    
   
231  #####################  #####################
232  #####################  #####################
233  #egroupware  #egroupware
# Line 272  REPO['EnableGroups']='no' Line 278  REPO['EnableGroups']='no'
278  REPO['Visible']='no'  REPO['Visible']='no'
279  REPO['status']='disabled'  REPO['status']='disabled'
280  REPO['BaseURL']='http://elrepo.org/linux/elrepo/el$releasever/$basearch'  REPO['BaseURL']='http://elrepo.org/linux/elrepo/el$releasever/$basearch'
281  REPO['MirrorList']='http://elrepo.org/mirrors-elrepo.$releasever'  REPO['MirrorList']='http://elrepo.org/mirrors-elrepo.el$releasever'
282  REPO['GPGCheck']='yes'  REPO['GPGCheck']='yes'
283  REPO['GPGKey']='http://elrepo.org/RPM-GPG-KEY-elrepo.org'  REPO['GPGKey']='http://elrepo.org/RPM-GPG-KEY-elrepo.org'
284  REPO['Exclude']='clamav,spamassassin,libselinux,perl-HTML-Parser,lm_sensors,perl-IO-stringy,perl-XML-Parser,razor-agents,libgcrypt,rpm-python,libxml2,zlib,gnupg,libxml2-python,yum,module-init-tools,rpm,gettext,librpm4,glib2,perl-libwww-perl,perl-Convert-ASN1,beecrypt,fetchmail,libacl,libtool-ltdl,popt,libgpg-error,freetype,perl-MIME-tools,mutt,gd,perl-TimeDate,librpm4.4'  REPO['Exclude']='clamav,spamassassin,libselinux,perl-HTML-Parser,lm_sensors,perl-IO-stringy,perl-XML-Parser,razor-agents,libgcrypt,rpm-python,libxml2,zlib,gnupg,libxml2-python,yum,module-init-tools,rpm,gettext,librpm4,glib2,perl-libwww-perl,perl-Convert-ASN1,beecrypt,fetchmail,libacl,libtool-ltdl,popt,libgpg-error,freetype,perl-MIME-tools,mutt,gd,perl-TimeDate,librpm4.4'
# Line 281  createrepo Line 287  createrepo
287    
288  #####################  #####################
289  #####################  #####################
290    #ELRepo kernel
291    #####################
292    #####################
293    REPO['reponame']='elrepo-kernel'
294    REPO['fullreponame']='ELRepo.org Community Enterprise Linux Repository Kernel'
295    REPO['EnableGroups']='no'
296    REPO['Visible']='no'
297    REPO['status']='disabled'
298    REPO['BaseURL']='http://elrepo.org/linux/kernel/el$releasever/$basearch'
299    REPO['MirrorList']='http://elrepo.org/mirrors-elrepo-kernel.el$releasever'
300    REPO['GPGCheck']='yes'
301    REPO['GPGKey']='http://elrepo.org/RPM-GPG-KEY-elrepo.org'
302    REPO['Exclude']=''
303    REPO['IncludePkgs']=''
304    createrepo
305    
306    #####################
307    #####################
308  #EPEL  #EPEL
309  #####################  #####################
310  #####################  #####################
# Line 387  REPO['Exclude']='' Line 411  REPO['Exclude']=''
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  #####################  #####################
# Line 471  REPO['fullreponame']='Mirror John Crisp Line 514  REPO['fullreponame']='Mirror John Crisp
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'
# Line 781  REPO['fullreponame']='ZoneMinder Repo - Line 828  REPO['fullreponame']='ZoneMinder Repo -
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    
# Line 855  cat << 'EOF'  >$RPM_BUILD_ROOT/etc/e-smi Line 902  cat << 'EOF'  >$RPM_BUILD_ROOT/etc/e-smi
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    
# Line 875  cat %{name}-%{version}-filelist| grep er Line 949  cat %{name}-%{version}-filelist| grep er
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
# Line 998  Geekery Repository Line 1073  Geekery Repository
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


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