/[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.20 by jcrisp, Wed Jan 2 16:26:41 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 15
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    * Mon Jan 02 2019 John Crisp <jcrisp@safeandsoundit.co.uk> 0.1-15.sme
22    - Exclude mod_perl and other files from OpenFusion repo
23    
24    * Sat Dec 29 2018 Jean-Philipe Pialasse <tests@pialasse.com> 0.1-14.sme
25    - fix typo in asterisk-current
26    - fix typo in migrate fragment for zmrepo
27    - renamed digium as digium-current
28    
29    * Fri Dec 28 2018 Jean-Philipe Pialasse <tests@pialasse.com> 0.1-12.sme
30    - zoneminder needs ffmpeg from zmrepo [SME: 10539]
31    
32    * Fri Dec 28 2018 Jean-Philipe Pialasse <tests@pialasse.com> 0.1-11.sme
33    - zmrepo url has changed [SME: 10675]
34    
35    * Fri Nov 30 2018 John Crisp <jcrisp@safeandsoundit.co.uk> 0.1-7.sme
36    - Add libreswan repo  [SME: 10605]
37    - remove duplicate remi-safe entry
38    
39    * Mon Jun 25 2018 John Crisp <jcrisp@safeandsoundit.co.uk> 0.1-6.sme
40    - Update reetp URL  [SME: 10604]
41    
42    * Tue May 08 2018 Jean-Philipe Pialasse <tests@pialasse.com> 0.1-5.sme
43    - add elrepo-kernel repo  [SME: 10581]
44    
45    * Sun Mar 18 2018 Jean-Philipe Pialasse <tests@pialasse.com> 0.1-4.sme
46    - exclude ffmpeg-2.6.4 and celt-0.11 from zmrepo [SME: 10543]
47    - add Sogo4 repo + migrate to exclude gnustep from epel if sogo repo present
48    
49  * 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
50  - fix wrong escape sequence for $basearch and $releasever [SME: 10239]  - fix wrong escape sequence for $basearch and $releasever [SME: 10239]
51    
# Line 77  return 0 Line 105  return 0
105    
106    
107    
 #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  
   
108  ######################  ######################
109  #####################  #####################
110  # asterisk 13 LTS  # asterisk 13 LTS
# Line 120  REPO['EnableGroups']='yes' Line 134  REPO['EnableGroups']='yes'
134  REPO['GPGCheck']='no'  REPO['GPGCheck']='no'
135  REPO['Visible']='no'  REPO['Visible']='no'
136  REPO['status']='disabled'  REPO['status']='disabled'
137  REPO['BaseURL']='http://packages.asterisk.org/centos$releasever/current/$basearch/'  REPO['BaseURL']='http://packages.asterisk.org/centos/$releasever/current/$basearch/'
138  REPO['MirrorList']=''  REPO['MirrorList']=''
139  REPO['GPGKey']=''  REPO['GPGKey']=''
140  REPO['Exclude']=''  REPO['Exclude']=''
# Line 132  createrepo Line 146  createrepo
146  # Digium Repo  # Digium Repo
147  #####################  #####################
148  #####################  #####################
149  REPO['reponame']='digium'  REPO['reponame']='digium-current'
150  REPO['fullreponame']='Digium packages - EL'  REPO['fullreponame']='Digium packages - EL'
151  REPO['EnableGroups']='no'  REPO['EnableGroups']='no'
152  REPO['Visible']='no'  REPO['Visible']='no'
# Line 217  REPO['Exclude']='' Line 231  REPO['Exclude']=''
231  REPO['IncludePkgs']=''  REPO['IncludePkgs']=''
232  createrepo  createrepo
233    
   
234  #####################  #####################
235  #####################  #####################
236  #egroupware  #egroupware
# Line 268  REPO['EnableGroups']='no' Line 281  REPO['EnableGroups']='no'
281  REPO['Visible']='no'  REPO['Visible']='no'
282  REPO['status']='disabled'  REPO['status']='disabled'
283  REPO['BaseURL']='http://elrepo.org/linux/elrepo/el$releasever/$basearch'  REPO['BaseURL']='http://elrepo.org/linux/elrepo/el$releasever/$basearch'
284  REPO['MirrorList']='http://elrepo.org/mirrors-elrepo.$releasever'  REPO['MirrorList']='http://elrepo.org/mirrors-elrepo.el$releasever'
285  REPO['GPGCheck']='yes'  REPO['GPGCheck']='yes'
286  REPO['GPGKey']='http://elrepo.org/RPM-GPG-KEY-elrepo.org'  REPO['GPGKey']='http://elrepo.org/RPM-GPG-KEY-elrepo.org'
287  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 290  createrepo
290    
291  #####################  #####################
292  #####################  #####################
293    #ELRepo kernel
294    #####################
295    #####################
296    REPO['reponame']='elrepo-kernel'
297    REPO['fullreponame']='ELRepo.org Community Enterprise Linux Repository Kernel'
298    REPO['EnableGroups']='no'
299    REPO['Visible']='no'
300    REPO['status']='disabled'
301    REPO['BaseURL']='http://elrepo.org/linux/kernel/el$releasever/$basearch'
302    REPO['MirrorList']='http://elrepo.org/mirrors-elrepo-kernel.el$releasever'
303    REPO['GPGCheck']='yes'
304    REPO['GPGKey']='http://elrepo.org/RPM-GPG-KEY-elrepo.org'
305    REPO['Exclude']=''
306    REPO['IncludePkgs']=''
307    createrepo
308    
309    #####################
310    #####################
311  #EPEL  #EPEL
312  #####################  #####################
313  #####################  #####################
# Line 383  REPO['Exclude']='' Line 414  REPO['Exclude']=''
414  REPO['IncludePkgs']=''  REPO['IncludePkgs']=''
415  createrepo  createrepo
416    
417    #####################
418    #####################
419    # Libreswan
420    #####################
421    #####################
422    REPO['reponame']='libreswan'
423    REPO['fullreponame']='Libreswan'
424    REPO['EnableGroups']='no'
425    REPO['Visible']='no'
426    REPO['status']='disabled'
427    REPO['BaseURL']='http://download.libreswan.org/binaries/rhel/6/x86_64/'
428    REPO['MirrorList']=''
429    REPO['GPGCheck']='yes'
430    REPO['GPGKey']='http://download.libreswan.org/binaries/RPM-GPG-KEY-libreswan'
431    REPO['Exclude']=''
432    REPO['IncludePkgs']=''
433    createrepo
434    
435    
436  if  ( "%{?dist}"  == "el7" ); then  if  ( "%{?dist}"  == "el7" ); then
437  #####################  #####################
438  #####################  #####################
# Line 453  REPO['BaseURL']='http://repo.openfusion. Line 503  REPO['BaseURL']='http://repo.openfusion.
503  REPO['MirrorList']=''  REPO['MirrorList']=''
504  REPO['GPGCheck']='yes'  REPO['GPGCheck']='yes'
505  REPO['GPGKey']='http://repo.openfusion.net/RPM-GPG-KEY-openfusion'  REPO['GPGKey']='http://repo.openfusion.net/RPM-GPG-KEY-openfusion'
506  REPO['Exclude']=''  REPO['Exclude']='mod_auth_tkt,mod_perl,nmap,perl-Apache-AuthTkt,perl-Archive-Tar,perl-Authen-SASL,perl-B-Keywords,perl-BSD-Resource,perl-CPAN,perl-Class-Inspector,perl-Clone,perl-Compress-Raw-Bzip2,perl-Compress-Raw-Zlib,perl-Config-IniFiles,perl-Config-Tiny,perl-Convert-ASN1,perl-Crypt-OpenSSL-RSA,perl-DBD-MySQL,perl-DBD-SQLite,perl-Data-Validate-Domain,perl-Date-Manip,perl-Devel-StackTrace,perl-Digest-HMAC,perl-Digest-SHA,perl-Digest-SHA1,perl-Email-Address,perl-Email-Date-Format,perl-Email-MIME,perl-Email-MIME-ContentType,perl-Email-MIME-Encodings,perl-Email-MessageID,perl-Email-Simple,perl-Exception-Class,perl-Exporter-Tiny,perl-ExtUtils-ParseXS,perl-File-HomeDir,perl-File-MMagic,perl-File-ShareDir,perl-Geo-IP,perl-Geography-Countries,perl-HTML-Parser,perl-HTML-Tabulate,perl-IO-Socket-INET6,perl-IO-Socket-IP,perl-IO-Socket-SSL,perl-IP-Country,perl-JSON,perl-MIME-Lite,perl-MIME-Types,perl-MIME-tools,perl-Mail-SPF,perl-MailTools,perl-Module-Pluggable,perl-Mojolicious,perl-Moo,perl-Net-CIDR-Lite,perl-Net-DNS,perl-Net-Domain-TLD,perl-Net-IP,perl-Net-SSLeay,perl-Net-Server,perl-NetAddr-IP,perl-Number-Compare,perl-PPI,perl-Params-Util,perl-Perl-Critic,perl-Pod-Simple,perl-Proc-ProcessTable,perl-RPM2,perl-Role-Tiny,perl-String-Format,perl-Sub-Install,perl-Taint-Util,perl-Test-Harness,perl-Test-Simple,perl-Text-Glob,perl-Text-Template,perl-Time-Local,perl-Time-TAI64,perl-URI,perl-WWW-Curl,perl-XML-LibXML,perl-XML-NamespaceSupport,perl-XML-Parser,perl-XML-SAX,perl-YAML-Syck,perl-libwww-perl,tokyocabinet,daemontools,daemontools-encore,mutt,perl-Compress-Zlib,perl-IO-Compress,perl-IO-Compress-Base,perl-IO-Compress-Base2,perl-IO-Compress-Zlib,urlview'
507  REPO['IncludePkgs']=''  REPO['IncludePkgs']=''
508  createrepo  createrepo
509    
# Line 467  REPO['fullreponame']='Mirror John Crisp Line 517  REPO['fullreponame']='Mirror John Crisp
517  REPO['EnableGroups']='no'  REPO['EnableGroups']='no'
518  REPO['Visible']='yes'  REPO['Visible']='yes'
519  REPO['status']='disabled'  REPO['status']='disabled'
520  REPO['BaseURL']='https://reetspetit.com/smeserver/$releasever'  REPO['BaseURL']='https://www.reetspetit.com/smeserver/$releasever'
521  REPO['MirrorList']=''  REPO['MirrorList']=''
522  REPO['GPGCheck']='no'  REPO['GPGCheck']='no'
523  REPO['GPGKey']='https://reetspetit.com/RPM-GPG-KEY'  REPO['GPGKey']='https://www.reetspetit.com/RPM-GPG-KEY'
524  REPO['Exclude']=''  REPO['Exclude']=''
525  REPO['IncludePkgs']=''  REPO['IncludePkgs']=''
526  createrepo  createrepo
527    
528    #####################
529    #####################
530  #remi-safe  #remi-safe
531    #####################
532    #####################
533  REPO['reponame']='remi-safe'  REPO['reponame']='remi-safe'
534  REPO['fullreponame']='Remi - safe'  REPO['fullreponame']='Remi - safe'
535  REPO['EnableGroups']='no'  REPO['EnableGroups']='no'
# Line 618  createrepo Line 672  createrepo
672    
673  #####################  #####################
674  #####################  #####################
675  #Sogo3 nightly  #Sogo4 nightly
676  #####################  #####################
677  #####################  #####################
678  REPO['reponame']='sogo4'  REPO['reponame']='sogo4'
# Line 634  REPO['Exclude']='' Line 688  REPO['Exclude']=''
688  REPO['IncludePkgs']='gnustep-base,gnustep-make,libmemcached,libwbxml,sogo*,sope49*'  REPO['IncludePkgs']='gnustep-base,gnustep-make,libmemcached,libwbxml,sogo*,sope49*'
689  createrepo  createrepo
690    
   
691  #####################  #####################
692  #####################  #####################
693  #Sogo stable  #Sogo stable
# Line 778  REPO['fullreponame']='ZoneMinder Repo - Line 831  REPO['fullreponame']='ZoneMinder Repo -
831  REPO['EnableGroups']='no'  REPO['EnableGroups']='no'
832  REPO['Visible']='yes'  REPO['Visible']='yes'
833  REPO['status']='disabled'  REPO['status']='disabled'
834  REPO['BaseURL']='http://zmrepo.mehvc.com/el/$releasever/$basearch'  REPO['BaseURL']='http://zmrepo.zoneminder.com/el/$releasever/$basearch'
835  REPO['MirrorList']=''  REPO['MirrorList']=''
836  REPO['GPGCheck']='no'  REPO['GPGCheck']='no'
837  REPO['GPGKey']=""  REPO['GPGKey']=""
# Line 787  REPO['IncludePkgs']='' Line 840  REPO['IncludePkgs']=''
840  createrepo  createrepo
841    
842    
843    #####################################################
844    # migrates
845    ######################################################
846    mkdir -p $RPM_BUILD_ROOT/etc/e-smith/db/yum_repositories/migrate
847    cat << 'EOF'  >$RPM_BUILD_ROOT/etc/e-smith/db/yum_repositories/migrate/90sogo
848    {
849        my @add = split(/[,; ]+/, 'gnustep-*');
850        my %remove = map { $_ => 1 } split(/[,; ]+/, '');
851    
852        for my $name ( qw(epel) )
853        {
854            my $repo = $DB->get($name) or next;
855    
856            my @exclude = split(/,/, $repo->prop('Exclude') || '');
857            push @exclude, @add;
858            @exclude = grep(!defined $remove{$_} && !/^CENTOS_/, @exclude);
859    
860            # remove duplicates
861            undef %saw;
862            @exclude = grep(!$saw{$_}++, @exclude);
863    
864            if ($#exclude >= 0)
865            {
866                $repo->set_prop('Exclude', join(',', @exclude));
867            }
868            else
869            {
870                $repo->delete('Exclude');
871            }
872        }
873    }
874    
875    EOF
876    
877    
878    cat << 'EOF'  >$RPM_BUILD_ROOT/etc/e-smith/db/yum_repositories/migrate/10epel
879    {
880        my @add = split(/[,; ]+/, '');
881        my %remove = map { $_ => 1 } split(/[,; ]+/, 'gnustep-*,gnustep*,gnustep-base,gnustep-make');
882    
883        for my $name ( qw(epel) )
884        {
885            my $repo = $DB->get($name) or next;
886    
887            my @exclude = split(/,/, $repo->prop('Exclude') || '');
888            push @exclude, @add;
889            @exclude = grep(!defined $remove{$_} && !/^CENTOS_/, @exclude);
890    
891            # remove duplicates
892            undef %saw;
893            @exclude = grep(!$saw{$_}++, @exclude);
894    
895            if ($#exclude >= 0)
896            {
897                $repo->set_prop('Exclude', join(',', @exclude));
898            }
899            else
900            {
901                $repo->delete('Exclude');
902            }
903        }
904    }
905    
906    EOF
907    
908    cat << 'EOF'  >$RPM_BUILD_ROOT/etc/e-smith/db/yum_repositories/migrate/10zmrepo
909    {
910        for my $name ( qw(zmrepo) )
911        {
912            my $repo = $DB->get($name) or next;
913            my $BaseURL = $repo->prop('BaseURL') || '';
914            $BaseURL =~ s/zmrepo.mehvc.com/zmrepo.zoneminder.com/g;
915            $repo->set_prop('BaseURL', $BaseURL);
916            $repo->delete('Exclude');
917        }
918    
919    }
920    
921    EOF
922    
923    cat << 'EOF'  >$RPM_BUILD_ROOT/etc/e-smith/db/yum_repositories/migrate/10asterisk
924    {
925        for my $name ( qw(asterisk-current) )
926        {
927            my $repo = $DB->get($name) or next;
928            my $BaseURL = $repo->prop('BaseURL') || '';
929            $BaseURL =~ s/centos\$/centos\/\$/g;
930            $repo->set_prop('BaseURL', $BaseURL);
931        }
932    
933    }
934    
935    EOF
936    
937    
938    
939    
940    ##########################################################
941    
942  rm -f %{name}-%{version}-filelist*  rm -f %{name}-%{version}-filelist*
943  /sbin/e-smith/genfilelist $RPM_BUILD_ROOT                       > %{name}-%{version}-filelist  /sbin/e-smith/genfilelist $RPM_BUILD_ROOT                       > %{name}-%{version}-filelist
944  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 952  cat %{name}-%{version}-filelist| grep er
952  cat %{name}-%{version}-filelist| grep freeswitch                > %{name}-%{version}-filelist-freeswitch  cat %{name}-%{version}-filelist| grep freeswitch                > %{name}-%{version}-filelist-freeswitch
953  cat %{name}-%{version}-filelist| grep fws                       > %{name}-%{version}-filelist-fws  cat %{name}-%{version}-filelist| grep fws                       > %{name}-%{version}-filelist-fws
954  cat %{name}-%{version}-filelist| grep geekery                   > %{name}-%{version}-filelist-geekery  cat %{name}-%{version}-filelist| grep geekery                   > %{name}-%{version}-filelist-geekery
955    cat %{name}-%{version}-filelist| grep libreswan                 > %{name}-%{version}-filelist-libreswan
956  if  ( "%{?dist}"  == "el7" ); then  if  ( "%{?dist}"  == "el7" ); then
957  cat %{name}-%{version}-filelist| grep odoo                      > %{name}-%{version}-filelist-odoo  cat %{name}-%{version}-filelist| grep odoo                      > %{name}-%{version}-filelist-odoo
958  fi  fi
# Line 923  Geekery Repository Line 1076  Geekery Repository
1076  %files geekery -f  %{name}-%{version}-filelist-geekery  %files geekery -f  %{name}-%{version}-filelist-geekery
1077  %defattr(-,root,root)  %defattr(-,root,root)
1078    
1079    %package libreswan
1080    Summary: Libreswan Repository
1081    %description libreswan
1082    Geekery Repository
1083    %files libreswan -f  %{name}-%{version}-filelist-libreswan
1084    %defattr(-,root,root)
1085    
1086  %package odoo  %package odoo
1087  Summary: Odoo 10 Nightly - EL7 Repository  Summary: Odoo 10 Nightly - EL7 Repository
1088  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