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

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

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

Revision 1.20 by jpp, Sun May 29 01:40:19 2022 UTC Revision 1.21 by jpp, Thu Jun 23 02:17:54 2022 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 39  %define release 40
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 13  BuildArchitectures: noarch Line 13  BuildArchitectures: noarch
13  BuildRequires: e-smith-devtools  BuildRequires: e-smith-devtools
14  Requires: e-smith-release >= 10.0  Requires: e-smith-release >= 10.0
15  AutoReqProv: no  AutoReqProv: no
16    Source0: https://raw.githubusercontent.com/ONLYOFFICE/repo/master/centos/RPM-GPG-KEY-ONLYOFFICE
17    
18  %description  %description
19  Provides configuration for external yum repository comaptible with Koozali SME Server.  Provides configuration for external yum repository comaptible with Koozali SME Server.
20    
21  %changelog  %changelog
22    * Wed Jun 22 2022 Jean-Philippe Pialasse <tests@pialasse.com> 0.1-40.sme
23    - add mongodb repos [SME: 11905]
24    - add onlyoffice repo [SME: 12078]
25    - add nginx repo [SME: 12079]
26    
27  * Sat May 28 2022 Jean-Philippe Pialasse <tests@pialasse.com> 0.1-39.sme  * Sat May 28 2022 Jean-Philippe Pialasse <tests@pialasse.com> 0.1-39.sme
28  - fix typo in pgsql url  - fix typo in pgsql url
29    
# Line 152  mkdir -p $RPM_BUILD_ROOT/usr/share/rpm-g Line 158  mkdir -p $RPM_BUILD_ROOT/usr/share/rpm-g
158  # if needing to add a gpg key  # if needing to add a gpg key
159  #cp %source0 $RPM_BUILD_ROOT/usr/share/rpm-gpg-keys/  #cp %source0 $RPM_BUILD_ROOT/usr/share/rpm-gpg-keys/
160  #/usr/share/rpm-gpg-keys/RPM-GPG-KEY-${REPO['reponame']}  #/usr/share/rpm-gpg-keys/RPM-GPG-KEY-${REPO['reponame']}
161    cp %SOURCE0  $RPM_BUILD_ROOT/usr/share/rpm-gpg-keys/
162    
163    
164  # if needing to migrate something :  # if needing to migrate something :
165  #mkdir -p $RPM_BUILD_ROOT/etc/e-smith/db/yum_repositories/migrate  #mkdir -p $RPM_BUILD_ROOT/etc/e-smith/db/yum_repositories/migrate
# Line 625  createrepo Line 633  createrepo
633    
634  #####################  #####################
635  #####################  #####################
636    # Mongodb
637    #####################
638    #####################
639    for nodever  in "0.9" "1.0" "3.0" "3.1" "3.2" "3.3" "3.4" "3.5" "3.6" "3.7" "4.0" "4.1" "4.2" "4.3" "4.4" "5.0"; do
640    REPO['reponame']="mongodb$nodever"
641    REPO['pkgname']='mongodb'
642    REPO['fullreponame']="Mongodb $nodever"
643    REPO['EnableGroups']='no'
644    REPO['Visible']='yes'
645    REPO['status']='disabled'
646    REPO['BaseURL']="https://repo.mongodb.org/yum/redhat/\$releasever/mongodb-org/$nodever/\$basearch/"
647    REPO['MirrorList']=''
648    REPO['GPGCheck']='yes'
649    REPO['GPGKey']="https://www.mongodb.org/static/pgp/server-$nodever.asc"
650    REPO['Exclude']=''
651    REPO['IncludePkgs']=''
652    createrepo
653    done
654    
655    #####################
656    #####################
657    # Nginx
658    #####################
659    #####################
660    REPO['reponame']='nginx'
661    REPO['pkgname']='nginx'
662    REPO['fullreponame']='nginx stable repo'
663    REPO['EnableGroups']='no'
664    REPO['Visible']='yes'
665    REPO['status']='enabled'
666    REPO['BaseURL']='http://nginx.org/packages/centos/$releasever/$basearch/'
667    REPO['MirrorList']=''
668    REPO['GPGCheck']='yes'
669    REPO['GPGKey']='https://nginx.org/keys/nginx_signing.key'
670    REPO['Exclude']=''
671    REPO['IncludePkgs']=''
672    createrepo
673    
674    REPO['reponame']='nginx-mainline'
675    REPO['pkgname']='nginx'
676    REPO['fullreponame']='nginx mainline repo'
677    REPO['EnableGroups']='no'
678    REPO['Visible']='yes'
679    REPO['status']='disabled'
680    REPO['BaseURL']='http://nginx.org/packages/mainline/centos/$releasever/$basearch/'
681    REPO['MirrorList']=''
682    REPO['GPGCheck']='yes'
683    REPO['GPGKey']='https://nginx.org/keys/nginx_signing.key'
684    REPO['Exclude']=''
685    REPO['IncludePkgs']=''
686    createrepo
687    
688    
689    
690    
691    #####################
692    #####################
693  # NodeJS 4  # NodeJS 4
694  #####################  #####################
695  #####################  #####################
# Line 708  createrepo Line 773  createrepo
773    
774  #####################  #####################
775  #####################  #####################
776    # Onlyoffice
777    #####################
778    #####################
779    REPO['reponame']='onlyoffice'
780    REPO['pkgname']=${REPO['reponame']}
781    REPO['fullreponame']='Onlyoffice document server - community edition'
782    REPO['EnableGroups']='no'
783    REPO['Visible']='yes'
784    REPO['status']='enabled'
785    REPO['BaseURL']='https://download.onlyoffice.com/repo/centos/main/noarch/'
786    REPO['MirrorList']=''
787    REPO['GPGCheck']='no'
788    REPO['GPGKey']='https://raw.githubusercontent.com/ONLYOFFICE/repo/master/centos/RPM-GPG-KEY-ONLYOFFICE'
789    REPO['Exclude']=''
790    REPO['IncludePkgs']=''
791    createrepo
792    
793    #####################
794    #####################
795  # Openfusion  # Openfusion
796  #####################  #####################
797  #####################  #####################
# Line 1380  cat %{name}-%{version}-filelist| grep fw Line 1464  cat %{name}-%{version}-filelist| grep fw
1464  cat %{name}-%{version}-filelist| grep fusioninventory-agent     > %{name}-%{version}-filelist-fusioninventory-agent  cat %{name}-%{version}-filelist| grep fusioninventory-agent     > %{name}-%{version}-filelist-fusioninventory-agent
1465  cat %{name}-%{version}-filelist| grep lemonldap                 > %{name}-%{version}-filelist-lemonldap  cat %{name}-%{version}-filelist| grep lemonldap                 > %{name}-%{version}-filelist-lemonldap
1466  cat %{name}-%{version}-filelist| grep libreswan                 > %{name}-%{version}-filelist-libreswan  cat %{name}-%{version}-filelist| grep libreswan                 > %{name}-%{version}-filelist-libreswan
1467    cat %{name}-%{version}-filelist| grep mongodb                   > %{name}-%{version}-filelist-mongodb
1468    cat %{name}-%{version}-filelist| grep nginx                     > %{name}-%{version}-filelist-nginx
1469    cat %{name}-%{version}-filelist| grep node                      > %{name}-%{version}-filelist-node
1470  if  ( "%{?dist}"  == "el7" ); then  if  ( "%{?dist}"  == "el7" ); then
1471  cat %{name}-%{version}-filelist| grep odoo                      > %{name}-%{version}-filelist-odoo  cat %{name}-%{version}-filelist| grep odoo                      > %{name}-%{version}-filelist-odoo
1472  fi  fi
1473  cat %{name}-%{version}-filelist| grep okay                      > %{name}-%{version}-filelist-okay  cat %{name}-%{version}-filelist| grep okay                      > %{name}-%{version}-filelist-okay
1474    cat %{name}-%{version}-filelist| grep -i onlyoffice             > %{name}-%{version}-filelist-onlyoffice
1475  cat %{name}-%{version}-filelist| grep openfusion                > %{name}-%{version}-filelist-openfusion  cat %{name}-%{version}-filelist| grep openfusion                > %{name}-%{version}-filelist-openfusion
 cat %{name}-%{version}-filelist| grep node                      > %{name}-%{version}-filelist-node  
1476  cat %{name}-%{version}-filelist| grep reetp                     > %{name}-%{version}-filelist-reetp  cat %{name}-%{version}-filelist| grep reetp                     > %{name}-%{version}-filelist-reetp
1477  cat %{name}-%{version}-filelist| grep remi-ocsinventory         > %{name}-%{version}-filelist-remi-ocsinventory  cat %{name}-%{version}-filelist| grep remi-ocsinventory         > %{name}-%{version}-filelist-remi-ocsinventory
1478  cat %{name}-%{version}-filelist| grep remi-roundcube            > %{name}-%{version}-filelist-remi-roundcube  cat %{name}-%{version}-filelist| grep remi-roundcube            > %{name}-%{version}-filelist-remi-roundcube
# Line 1539  Libreswan Repository Line 1626  Libreswan Repository
1626  %files libreswan -f  %{name}-%{version}-filelist-libreswan  %files libreswan -f  %{name}-%{version}-filelist-libreswan
1627  %defattr(-,root,root)  %defattr(-,root,root)
1628    
1629    %package mongodb
1630    Summary: MongoDB Repositories
1631    %description mongodb
1632    MongoDB Repositories
1633    %files mongodb -f  %{name}-%{version}-filelist-mongodb
1634    %defattr(-,root,root)
1635    
1636    %package nginx
1637    Summary: nginx Repositories
1638    %description nginx
1639    Nginx Repositories
1640    %files nginx -f  %{name}-%{version}-filelist-nginx
1641    %defattr(-,root,root)
1642    
1643  %package node  %package node
1644  Summary: NodeJS Repositories  Summary: NodeJS Repositories
1645  %description node  %description node
# Line 1562  Extra OKay Packages for Enterprise Linux Line 1663  Extra OKay Packages for Enterprise Linux
1663  %files okay -f  %{name}-%{version}-filelist-okay  %files okay -f  %{name}-%{version}-filelist-okay
1664  %defattr(-,root,root)  %defattr(-,root,root)
1665    
1666    %package onlyoffice
1667    Summary: onlyoffice Repository
1668    %description onlyoffice
1669    onlyoffice Repository
1670    %files onlyoffice  -f %{name}-%{version}-filelist-onlyoffice
1671    %defattr(-,root,root)
1672    
1673  %package openfusion  %package openfusion
1674  Summary: Openfusion Repository  Summary: Openfusion Repository
1675  %description openfusion  %description openfusion


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