/[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.7 by jpp, Tue Mar 13 02:10:05 2018 UTC Revision 1.23 by jcrisp, Fri Jan 4 17:23:28 2019 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 3  %define release 18
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    * Fri Jan 04 2019 John Crisp <jcrisp@safeandsoundit.co.uk> 0.1-18.sme
22    - remove perl-version from pkg lists
23    
24    * Fri Jan 04 2019 John Crisp <jcrisp@safeandsoundit.co.uk> 0.1-17.sme
25    - revised Include and Exclude to prevident accidental update
26    - updated incorrect changelog dates
27    
28    * Thu Jan 03 2019 John Crisp <jcrisp@safeandsoundit.co.uk> 0.1-16.sme
29    - Add more Excludes to Openfusion
30    
31    * Tue Jan 01 2019 John Crisp <jcrisp@safeandsoundit.co.uk> 0.1-15.sme
32    - Exclude mod_perl and other files from OpenFusion repo
33    
34    * Sat Dec 29 2018 Jean-Philipe Pialasse <tests@pialasse.com> 0.1-14.sme
35    - fix typo in asterisk-current
36    - fix typo in migrate fragment for zmrepo
37    - renamed digium as digium-current
38    
39    * Fri Dec 28 2018 Jean-Philipe Pialasse <tests@pialasse.com> 0.1-12.sme
40    - zoneminder needs ffmpeg from zmrepo [SME: 10539]
41    
42    * Fri Dec 28 2018 Jean-Philipe Pialasse <tests@pialasse.com> 0.1-11.sme
43    - zmrepo url has changed [SME: 10675]
44    
45    * Fri Nov 30 2018 John Crisp <jcrisp@safeandsoundit.co.uk> 0.1-7.sme
46    - Add libreswan repo  [SME: 10605]
47    - remove duplicate remi-safe entry
48    
49    * Mon Jun 25 2018 John Crisp <jcrisp@safeandsoundit.co.uk> 0.1-6.sme
50    - Update reetp URL  [SME: 10604]
51    
52    * Tue May 08 2018 Jean-Philipe Pialasse <tests@pialasse.com> 0.1-5.sme
53    - add elrepo-kernel repo  [SME: 10581]
54    
55    * Sun Mar 18 2018 Jean-Philipe Pialasse <tests@pialasse.com> 0.1-4.sme
56    - exclude ffmpeg-2.6.4 and celt-0.11 from zmrepo [SME: 10543]
57    - add Sogo4 repo + migrate to exclude gnustep from epel if sogo repo present
58    
59  * Sun Feb 18 2018 Jean-Philipe Pialasse <tests@pialasse.com> 0.1-3.sme  * Sun Feb 18 2018 Jean-Philipe Pialasse <tests@pialasse.com> 0.1-3.sme
60  - fix wrong escape sequence for $basearch and $releasever [SME: 10239]  - fix wrong escape sequence for $basearch and $releasever [SME: 10239]
61    
# Line 77  return 0 Line 115  return 0
115    
116    
117    
 #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  
   
118  ######################  ######################
119  #####################  #####################
120  # asterisk 13 LTS  # asterisk 13 LTS
# Line 120  REPO['EnableGroups']='yes' Line 144  REPO['EnableGroups']='yes'
144  REPO['GPGCheck']='no'  REPO['GPGCheck']='no'
145  REPO['Visible']='no'  REPO['Visible']='no'
146  REPO['status']='disabled'  REPO['status']='disabled'
147  REPO['BaseURL']='http://packages.asterisk.org/centos$releasever/current/$basearch/'  REPO['BaseURL']='http://packages.asterisk.org/centos/$releasever/current/$basearch/'
148  REPO['MirrorList']=''  REPO['MirrorList']=''
149  REPO['GPGKey']=''  REPO['GPGKey']=''
150  REPO['Exclude']=''  REPO['Exclude']=''
# Line 132  createrepo Line 156  createrepo
156  # Digium Repo  # Digium Repo
157  #####################  #####################
158  #####################  #####################
159  REPO['reponame']='digium'  REPO['reponame']='digium-current'
160  REPO['fullreponame']='Digium packages - EL'  REPO['fullreponame']='Digium packages - EL'
161  REPO['EnableGroups']='no'  REPO['EnableGroups']='no'
162  REPO['Visible']='no'  REPO['Visible']='no'
# Line 217  REPO['Exclude']='' Line 241  REPO['Exclude']=''
241  REPO['IncludePkgs']=''  REPO['IncludePkgs']=''
242  createrepo  createrepo
243    
   
244  #####################  #####################
245  #####################  #####################
246  #egroupware  #egroupware
# Line 268  REPO['EnableGroups']='no' Line 291  REPO['EnableGroups']='no'
291  REPO['Visible']='no'  REPO['Visible']='no'
292  REPO['status']='disabled'  REPO['status']='disabled'
293  REPO['BaseURL']='http://elrepo.org/linux/elrepo/el$releasever/$basearch'  REPO['BaseURL']='http://elrepo.org/linux/elrepo/el$releasever/$basearch'
294  REPO['MirrorList']='http://elrepo.org/mirrors-elrepo.$releasever'  REPO['MirrorList']='http://elrepo.org/mirrors-elrepo.el$releasever'
295  REPO['GPGCheck']='yes'  REPO['GPGCheck']='yes'
296  REPO['GPGKey']='http://elrepo.org/RPM-GPG-KEY-elrepo.org'  REPO['GPGKey']='http://elrepo.org/RPM-GPG-KEY-elrepo.org'
297  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 277  createrepo Line 300  createrepo
300    
301  #####################  #####################
302  #####################  #####################
303    #ELRepo kernel
304    #####################
305    #####################
306    REPO['reponame']='elrepo-kernel'
307    REPO['fullreponame']='ELRepo.org Community Enterprise Linux Repository Kernel'
308    REPO['EnableGroups']='no'
309    REPO['Visible']='no'
310    REPO['status']='disabled'
311    REPO['BaseURL']='http://elrepo.org/linux/kernel/el$releasever/$basearch'
312    REPO['MirrorList']='http://elrepo.org/mirrors-elrepo-kernel.el$releasever'
313    REPO['GPGCheck']='yes'
314    REPO['GPGKey']='http://elrepo.org/RPM-GPG-KEY-elrepo.org'
315    REPO['Exclude']=''
316    REPO['IncludePkgs']=''
317    createrepo
318    
319    #####################
320    #####################
321  #EPEL  #EPEL
322  #####################  #####################
323  #####################  #####################
# Line 383  REPO['Exclude']='' Line 424  REPO['Exclude']=''
424  REPO['IncludePkgs']=''  REPO['IncludePkgs']=''
425  createrepo  createrepo
426    
427    #####################
428    #####################
429    # Libreswan
430    #####################
431    #####################
432    REPO['reponame']='libreswan'
433    REPO['fullreponame']='Libreswan'
434    REPO['EnableGroups']='no'
435    REPO['Visible']='no'
436    REPO['status']='disabled'
437    REPO['BaseURL']='http://download.libreswan.org/binaries/rhel/6/x86_64/'
438    REPO['MirrorList']=''
439    REPO['GPGCheck']='yes'
440    REPO['GPGKey']='http://download.libreswan.org/binaries/RPM-GPG-KEY-libreswan'
441    REPO['Exclude']=''
442    REPO['IncludePkgs']=''
443    createrepo
444    
445    
446  if  ( "%{?dist}"  == "el7" ); then  if  ( "%{?dist}"  == "el7" ); then
447  #####################  #####################
448  #####################  #####################
# Line 453  REPO['BaseURL']='http://repo.openfusion. Line 513  REPO['BaseURL']='http://repo.openfusion.
513  REPO['MirrorList']=''  REPO['MirrorList']=''
514  REPO['GPGCheck']='yes'  REPO['GPGCheck']='yes'
515  REPO['GPGKey']='http://repo.openfusion.net/RPM-GPG-KEY-openfusion'  REPO['GPGKey']='http://repo.openfusion.net/RPM-GPG-KEY-openfusion'
516  REPO['Exclude']=''  REPO['Exclude']='perl-Devel-StackTrace,perl-ExtUtils-MakeMaker,perl-List-MoreUtils,perl-Exporter-Tiny,perl-ExtUtils-Install,perl-parent'
517  REPO['IncludePkgs']=''  REPO['IncludePkgs']='perl-Algorithm-C3,perl-App-cpanminus,perl-B-Hooks-EndOfScope,perl-B-Hooks-OP-Check,perl-CPAN-Metanoarch,perl-Carp,perl-Class-C3,perl-Class-Load,perl-Class-Load-XS,perl-Class-Method-Modifiers,perl-Class-Singleton,perl-Class-XSAccessor,perl-Clone-PP,perl-Data-Dumper-Concise,perl-Data-IEEE754,perl-Data-OptList,perl-Data-Printer,perl-Data-Validate-IP,perl-DateTime,perl-DateTime-Locale,perl-DateTime-TimeZone,perl-Devel-GlobalDestruction,perl-Dist-CheckConflicts,perl-Eval-Closure,perl-Exporter-Tiny,perl-ExtUtils-CBuilder,perl-ExtUtils-Install,perl-ExtUtils-Manifest,perl-File-HomeDir,perl-File-Which,perl-GeoIP2,perl-Hash-FieldHash,perl-IPC-Cmd,perl-Lexical-SealRequireHints,perl-List-AllUtils,perl-Locale-Maketext-Simple,perl-MRO-Compat,perl-Math-Int128,perl-Math-Int64,perl-MaxMind-DB-Common,perl-MaxMind-DB-Reader,perl-Module-Build,perl-Module-CoreList,perl-Module-Implementation,perl-Module-Load,perl-Module-Load-Conditional,perl-Module-Runtime,perl-Moo,perl-MooX-StrictConstructor,perl-MooX-Types-MooseLike,perl-Moose,perl-Net-Works,perl-Package-DeprecationManager,perl-Package-Stash,perl-Package-Stash-XS,perl-Params-Check,perl-Params-Classify,perl-Params-Validate,perl-Perl-OSType,perl-Role-Tiny,perl-Scalar-List-Utils,perl-Socket,perl-Sort-Naturally,perl-Sub-Exporter,perl-Sub-Exporter-Progressive,perl-Sub-Identify,perl-Sub-Install,perl-Sub-Name,perl-Sub-Quote,perl-Task-Weaken,perl-Term-ANSIColor,perl-Test-Warnings,perl-Throwable,perl-Try-Tiny,perl-Variable-Magic,perl-bareword-filehandles,perl-indirect,perl-multidimensional,perl-namespace-autoclean,perl-namespace-clean,perl-strictures,perl-Devel-StackTrace,perl-ExtUtils-MakeMaker,perl-List-MoreUtils,perl-parent'
518  createrepo  createrepo
519    
520  #####################  #####################
# Line 467  REPO['fullreponame']='Mirror John Crisp Line 527  REPO['fullreponame']='Mirror John Crisp
527  REPO['EnableGroups']='no'  REPO['EnableGroups']='no'
528  REPO['Visible']='yes'  REPO['Visible']='yes'
529  REPO['status']='disabled'  REPO['status']='disabled'
530  REPO['BaseURL']='https://reetspetit.com/smeserver/$releasever'  REPO['BaseURL']='https://www.reetspetit.com/smeserver/$releasever'
531  REPO['MirrorList']=''  REPO['MirrorList']=''
532  REPO['GPGCheck']='no'  REPO['GPGCheck']='no'
533  REPO['GPGKey']='https://reetspetit.com/RPM-GPG-KEY'  REPO['GPGKey']='https://www.reetspetit.com/RPM-GPG-KEY'
534  REPO['Exclude']=''  REPO['Exclude']=''
535  REPO['IncludePkgs']=''  REPO['IncludePkgs']=''
536  createrepo  createrepo
537    
538    #####################
539    #####################
540  #remi-safe  #remi-safe
541    #####################
542    #####################
543  REPO['reponame']='remi-safe'  REPO['reponame']='remi-safe'
544  REPO['fullreponame']='Remi - safe'  REPO['fullreponame']='Remi - safe'
545  REPO['EnableGroups']='no'  REPO['EnableGroups']='no'
# Line 618  createrepo Line 682  createrepo
682    
683  #####################  #####################
684  #####################  #####################
685  #Sogo3 nightly  #Sogo4 nightly
686  #####################  #####################
687  #####################  #####################
688  REPO['reponame']='sogo4'  REPO['reponame']='sogo4'
# Line 634  REPO['Exclude']='' Line 698  REPO['Exclude']=''
698  REPO['IncludePkgs']='gnustep-base,gnustep-make,libmemcached,libwbxml,sogo*,sope49*'  REPO['IncludePkgs']='gnustep-base,gnustep-make,libmemcached,libwbxml,sogo*,sope49*'
699  createrepo  createrepo
700    
   
701  #####################  #####################
702  #####################  #####################
703  #Sogo stable  #Sogo stable
# Line 778  REPO['fullreponame']='ZoneMinder Repo - Line 841  REPO['fullreponame']='ZoneMinder Repo -
841  REPO['EnableGroups']='no'  REPO['EnableGroups']='no'
842  REPO['Visible']='yes'  REPO['Visible']='yes'
843  REPO['status']='disabled'  REPO['status']='disabled'
844  REPO['BaseURL']='http://zmrepo.mehvc.com/el/$releasever/$basearch'  REPO['BaseURL']='http://zmrepo.zoneminder.com/el/$releasever/$basearch'
845  REPO['MirrorList']=''  REPO['MirrorList']=''
846  REPO['GPGCheck']='no'  REPO['GPGCheck']='no'
847  REPO['GPGKey']=""  REPO['GPGKey']=""
# Line 787  REPO['IncludePkgs']='' Line 850  REPO['IncludePkgs']=''
850  createrepo  createrepo
851    
852    
853    #####################################################
854    # migrates
855    ######################################################
856    mkdir -p $RPM_BUILD_ROOT/etc/e-smith/db/yum_repositories/migrate
857    cat << 'EOF'  >$RPM_BUILD_ROOT/etc/e-smith/db/yum_repositories/migrate/90sogo
858    {
859        my @add = split(/[,; ]+/, 'gnustep-*');
860        my %remove = map { $_ => 1 } split(/[,; ]+/, '');
861    
862        for my $name ( qw(epel) )
863        {
864            my $repo = $DB->get($name) or next;
865    
866            my @exclude = split(/,/, $repo->prop('Exclude') || '');
867            push @exclude, @add;
868            @exclude = grep(!defined $remove{$_} && !/^CENTOS_/, @exclude);
869    
870            # remove duplicates
871            undef %saw;
872            @exclude = grep(!$saw{$_}++, @exclude);
873    
874            if ($#exclude >= 0)
875            {
876                $repo->set_prop('Exclude', join(',', @exclude));
877            }
878            else
879            {
880                $repo->delete('Exclude');
881            }
882        }
883    }
884    
885    EOF
886    
887    
888    cat << 'EOF'  >$RPM_BUILD_ROOT/etc/e-smith/db/yum_repositories/migrate/10epel
889    {
890        my @add = split(/[,; ]+/, '');
891        my %remove = map { $_ => 1 } split(/[,; ]+/, 'gnustep-*,gnustep*,gnustep-base,gnustep-make');
892    
893        for my $name ( qw(epel) )
894        {
895            my $repo = $DB->get($name) or next;
896    
897            my @exclude = split(/,/, $repo->prop('Exclude') || '');
898            push @exclude, @add;
899            @exclude = grep(!defined $remove{$_} && !/^CENTOS_/, @exclude);
900    
901            # remove duplicates
902            undef %saw;
903            @exclude = grep(!$saw{$_}++, @exclude);
904    
905            if ($#exclude >= 0)
906            {
907                $repo->set_prop('Exclude', join(',', @exclude));
908            }
909            else
910            {
911                $repo->delete('Exclude');
912            }
913        }
914    }
915    
916    EOF
917    
918    cat << 'EOF'  >$RPM_BUILD_ROOT/etc/e-smith/db/yum_repositories/migrate/10zmrepo
919    {
920        for my $name ( qw(zmrepo) )
921        {
922            my $repo = $DB->get($name) or next;
923            my $BaseURL = $repo->prop('BaseURL') || '';
924            $BaseURL =~ s/zmrepo.mehvc.com/zmrepo.zoneminder.com/g;
925            $repo->set_prop('BaseURL', $BaseURL);
926            $repo->delete('Exclude');
927        }
928    
929    }
930    
931    EOF
932    
933    cat << 'EOF'  >$RPM_BUILD_ROOT/etc/e-smith/db/yum_repositories/migrate/10asterisk
934    {
935        for my $name ( qw(asterisk-current) )
936        {
937            my $repo = $DB->get($name) or next;
938            my $BaseURL = $repo->prop('BaseURL') || '';
939            $BaseURL =~ s/centos\$/centos\/\$/g;
940            $repo->set_prop('BaseURL', $BaseURL);
941        }
942    
943    }
944    
945    EOF
946    
947    
948    
949    
950    ##########################################################
951    
952  rm -f %{name}-%{version}-filelist*  rm -f %{name}-%{version}-filelist*
953  /sbin/e-smith/genfilelist $RPM_BUILD_ROOT                       > %{name}-%{version}-filelist  /sbin/e-smith/genfilelist $RPM_BUILD_ROOT                       > %{name}-%{version}-filelist
954  cat %{name}-%{version}-filelist| grep atomic                    > %{name}-%{version}-filelist-atomic  cat %{name}-%{version}-filelist| grep atomic                    > %{name}-%{version}-filelist-atomic
# Line 800  cat %{name}-%{version}-filelist| grep er Line 962  cat %{name}-%{version}-filelist| grep er
962  cat %{name}-%{version}-filelist| grep freeswitch                > %{name}-%{version}-filelist-freeswitch  cat %{name}-%{version}-filelist| grep freeswitch                > %{name}-%{version}-filelist-freeswitch
963  cat %{name}-%{version}-filelist| grep fws                       > %{name}-%{version}-filelist-fws  cat %{name}-%{version}-filelist| grep fws                       > %{name}-%{version}-filelist-fws
964  cat %{name}-%{version}-filelist| grep geekery                   > %{name}-%{version}-filelist-geekery  cat %{name}-%{version}-filelist| grep geekery                   > %{name}-%{version}-filelist-geekery
965    cat %{name}-%{version}-filelist| grep libreswan                 > %{name}-%{version}-filelist-libreswan
966  if  ( "%{?dist}"  == "el7" ); then  if  ( "%{?dist}"  == "el7" ); then
967  cat %{name}-%{version}-filelist| grep odoo                      > %{name}-%{version}-filelist-odoo  cat %{name}-%{version}-filelist| grep odoo                      > %{name}-%{version}-filelist-odoo
968  fi  fi
# Line 923  Geekery Repository Line 1086  Geekery Repository
1086  %files geekery -f  %{name}-%{version}-filelist-geekery  %files geekery -f  %{name}-%{version}-filelist-geekery
1087  %defattr(-,root,root)  %defattr(-,root,root)
1088    
1089    %package libreswan
1090    Summary: Libreswan Repository
1091    %description libreswan
1092    Geekery Repository
1093    %files libreswan -f  %{name}-%{version}-filelist-libreswan
1094    %defattr(-,root,root)
1095    
1096  %package odoo  %package odoo
1097  Summary: Odoo 10 Nightly - EL7 Repository  Summary: Odoo 10 Nightly - EL7 Repository
1098  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