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

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

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


Revision 1.7 - (hide annotations) (download)
Tue Mar 13 02:10:05 2018 UTC (6 years, 8 months ago) by jpp
Branch: MAIN
Changes since 1.6: +19 -0 lines
Prep for smeserver-zoneminder import

1 jpp 1.1 %define name smeserver-extrarepositories
2     %define version 0.1
3 jpp 1.6 %define release 3
4 jpp 1.1 Summary: easy configuration of extra yum repo
5     Name: %{name}
6     Version: %{version}
7     Release: %{release}
8     License: GNU GPL version 2
9     URL: https://wiki.koozali.org
10     Group: SMEserver/addon
11     BuildRoot: /var/tmp/%{name}-%{version}
12     BuildArchitectures: noarch
13     BuildRequires: e-smith-devtools
14     Requires: e-smith-release >= 9.0
15     AutoReqProv: no
16    
17     %description
18     Provides configuration for external yum repository comaptible with Koozali SME Server.
19    
20     %changelog
21 jpp 1.6 * Sun Feb 18 2018 Jean-Philipe Pialasse <tests@pialasse.com> 0.1-3.sme
22     - fix wrong escape sequence for $basearch and $releasever [SME: 10239]
23    
24 jpp 1.5 * Thu Feb 15 2018 Jean-Philipe Pialasse <tests@pialasse.com> 0.1-2.sme
25     - first multipackage version
26     - gpg keys not included
27    
28 jpp 1.1 * Mon May 01 2017 Jean-Philipe Pialasse <tests@pialasse.com> 0.1-1.sme
29     - initial release
30    
31     %prep
32    
33     %build
34    
35     %install
36     rm -rf $RPM_BUILD_ROOT
37     # if needing to add a gpg key
38     mkdir -p $RPM_BUILD_ROOT/usr/share/rpm-gpg-keys/
39    
40     # if needing to add a gpg key
41     #cp %source0 $RPM_BUILD_ROOT/usr/share/rpm-gpg-keys/
42     #/usr/share/rpm-gpg-keys/RPM-GPG-KEY-${REPO['reponame']}
43    
44     # if needing to migrate something :
45     #mkdir -p $RPM_BUILD_ROOT/etc/e-smith/db/yum_repositories/migrate
46     #echo "" >$RPM_BUILD_ROOT/etc/e-smith/db/yum_repositories/migrate/00REPONAMEmigrate
47    
48     # if needed to force something
49     #mkdir -p $RPM_BUILD_ROOT/etc/e-smith/db/yum_repositories/force/${REPO['reponame']}
50     #echo "${REPO['Exclude']}" >\
51     # $RPM_BUILD_ROOT/etc/e-smith/db/yum_repositories/force/${REPO['reponame']}/Exclude
52    
53    
54    
55     declare -A REPO
56    
57 jpp 1.4 function createrepo {
58 jpp 1.1 mkdir -p $RPM_BUILD_ROOT/etc/e-smith/db/yum_repositories/defaults/${REPO['reponame']}
59     echo "${REPO['EnableGroups']}" > $RPM_BUILD_ROOT/etc/e-smith/db/yum_repositories/defaults/${REPO['reponame']}/EnableGroups
60     echo "${REPO['GPGCheck']}" > $RPM_BUILD_ROOT/etc/e-smith/db/yum_repositories/defaults/${REPO['reponame']}/GPGCheck
61     echo "${REPO['fullreponame']}" > $RPM_BUILD_ROOT/etc/e-smith/db/yum_repositories/defaults/${REPO['reponame']}/Name
62     echo "${REPO['Visible']}" > $RPM_BUILD_ROOT/etc/e-smith/db/yum_repositories/defaults/${REPO['reponame']}/Visible
63     echo "${REPO['status']}" > $RPM_BUILD_ROOT/etc/e-smith/db/yum_repositories/defaults/${REPO['reponame']}/status
64     echo "repository" > $RPM_BUILD_ROOT/etc/e-smith/db/yum_repositories/defaults/${REPO['reponame']}/type
65     [[ "${REPO['BaseURL']}" != '' ]] && echo "${REPO['BaseURL']}" >\
66     $RPM_BUILD_ROOT/etc/e-smith/db/yum_repositories/defaults/${REPO['reponame']}/BaseURL
67     [[ "${REPO['GPGKey']}" != '' ]] && echo "${REPO['GPGKey']}" >\
68 jpp 1.4 $RPM_BUILD_ROOT/etc/e-smith/db/yum_repositories/defaults/${REPO['reponame']}/GPGKey
69     [[ "${REPO['MirrorList']}" != '' ]] && echo "${REPO['MirrorList']}" >\
70     $RPM_BUILD_ROOT/etc/e-smith/db/yum_repositories/defaults/${REPO['reponame']}/MirrorList
71 jpp 1.1 [[ "${REPO['Exclude']}" != '' ]] && echo "${REPO['Exclude']}" >\
72 jpp 1.4 $RPM_BUILD_ROOT/etc/e-smith/db/yum_repositories/defaults/${REPO['reponame']}/Exclude
73     [[ "${REPO['IncludePkgs']}" != '' ]] && echo "${REPO['IncludePkgs']}" >\
74     $RPM_BUILD_ROOT/etc/e-smith/db/yum_repositories/defaults/${REPO['reponame']}/IncludePkgs
75     return 0
76     }
77    
78    
79    
80     #remi-safe
81     REPO['reponame']='remi-safe'
82     REPO['fullreponame']='Remi - safe'
83     REPO['EnableGroups']='no'
84     REPO['GPGCheck']='yes'
85     REPO['Visible']='yes'
86     REPO['status']='enabled'
87 jpp 1.6 REPO['BaseURL']='http://rpms.famillecollet.com/enterprise/$releasever/safe/$basearch/'
88 jpp 1.4 REPO['MirrorList']=''
89     REPO['GPGKey']='http://rpms.famillecollet.com/RPM-GPG-KEY-remi'
90     REPO['Exclude']=''
91     REPO['IncludePkgs']=''
92     createrepo
93 jpp 1.1
94     ######################
95     #####################
96     # asterisk 13 LTS
97     #####################
98     #####################
99     REPO['reponame']='asterisk-13'
100     REPO['fullreponame']='Asterisk-13 - EL'
101     REPO['EnableGroups']='yes'
102     REPO['GPGCheck']='no'
103     REPO['Visible']='no'
104     REPO['status']='disabled'
105 jpp 1.6 REPO['BaseURL']='http://packages.asterisk.org/centos/$releasever/asterisk-13/$basearch/'
106 jpp 1.1 REPO['MirrorList']=''
107     REPO['GPGKey']=''
108     REPO['Exclude']=''
109 jpp 1.4 REPO['IncludePkgs']=''
110     createrepo
111 jpp 1.1
112     ######################
113     #####################
114     # asterisk current
115     #####################
116     #####################
117     REPO['reponame']='asterisk-current'
118     REPO['fullreponame']='Asterisk-current - EL'
119     REPO['EnableGroups']='yes'
120     REPO['GPGCheck']='no'
121     REPO['Visible']='no'
122     REPO['status']='disabled'
123 jpp 1.6 REPO['BaseURL']='http://packages.asterisk.org/centos$releasever/current/$basearch/'
124 jpp 1.1 REPO['MirrorList']=''
125     REPO['GPGKey']=''
126     REPO['Exclude']=''
127 jpp 1.4 REPO['IncludePkgs']=''
128     createrepo
129 jpp 1.1
130     #####################
131     #####################
132     # Digium Repo
133     #####################
134     #####################
135     REPO['reponame']='digium'
136     REPO['fullreponame']='Digium packages - EL'
137     REPO['EnableGroups']='no'
138     REPO['Visible']='no'
139     REPO['status']='disabled'
140 jpp 1.6 REPO['BaseURL']='http://packages.digium.com/centos/$releasever/current/$basearch/'
141 jpp 1.1 REPO['MirrorList']=''
142     REPO['GPGCheck']='no'
143     REPO['GPGKey']=''
144     REPO['Exclude']=''
145 jpp 1.4 REPO['IncludePkgs']=''
146     createrepo
147 jpp 1.1
148     #####################
149     #####################
150     # Digium 13
151     #####################
152     #####################
153     REPO['reponame']='digium-13'
154     REPO['fullreponame']='Digium-13 packages - EL'
155     REPO['EnableGroups']='no'
156     REPO['Visible']='no'
157     REPO['status']='disabled'
158 jpp 1.6 REPO['BaseURL']='http://packages.digium.com/centos/$releasever/digium-13/$basearch/'
159 jpp 1.1 REPO['MirrorList']=''
160     REPO['GPGCheck']='no'
161     REPO['GPGKey']=''
162     REPO['Exclude']=''
163 jpp 1.4 REPO['IncludePkgs']=''
164     createrepo
165 jpp 1.1
166     #####################
167     #####################
168     #atomic
169     #####################
170     #####################
171     REPO['reponame']='atomic'
172     REPO['fullreponame']='Atomic'
173     REPO['EnableGroups']='no'
174     REPO['Visible']='no'
175     REPO['status']='disabled'
176     REPO['BaseURL']=''
177 jpp 1.6 REPO['MirrorList']='http://www.atomicorp.com/mirrorlist/atomic/centos-$releasever-$basearch'
178 jpp 1.1 REPO['GPGCheck']='yes'
179     REPO['GPGKey']='https://www.atomicorp.com/RPM-GPG-KEY.art.txt'
180     REPO['Exclude']=''
181 jpp 1.4 REPO['IncludePkgs']=''
182     createrepo
183 jpp 1.1
184     #####################
185     #####################
186 jpp 1.5 #centos-sclo-centos
187     #####################
188     #####################
189     REPO['reponame']='centos-sclo-centos'
190     REPO['fullreponame']='Centos-RH Software collections'
191     REPO['EnableGroups']='no'
192     REPO['Visible']='yes'
193     REPO['status']='disabled'
194 jpp 1.6 REPO['BaseURL']='http://mirror.centos.org/centos/$releasever/sclo/$basearch/sclo/'
195 jpp 1.5 REPO['MirrorList']=''
196     REPO['GPGCheck']='yes'
197     REPO['GPGKey']='https://www.centos.org/keys/RPM-GPG-KEY-CentOS-SIG-SCLo'
198     REPO['Exclude']=''
199     REPO['IncludePkgs']=''
200     createrepo
201    
202     #####################
203     #####################
204 jpp 1.1 #centos-sclo-rh
205     #####################
206     #####################
207     REPO['reponame']='centos-sclo-rh'
208     REPO['fullreponame']='Centos-RH Software collections'
209     REPO['EnableGroups']='no'
210     REPO['Visible']='yes'
211     REPO['status']='disabled'
212 jpp 1.6 REPO['BaseURL']='http://mirror.centos.org/centos/$releasever/sclo/$basearch/rh/'
213 jpp 1.1 REPO['MirrorList']=''
214     REPO['GPGCheck']='yes'
215     REPO['GPGKey']='https://www.centos.org/keys/RPM-GPG-KEY-CentOS-SIG-SCLo'
216     REPO['Exclude']=''
217 jpp 1.4 REPO['IncludePkgs']=''
218     createrepo
219 jpp 1.1
220 jpp 1.5
221 jpp 1.1 #####################
222     #####################
223     #egroupware
224     #####################
225     #####################
226     REPO['reponame']='egroupware'
227     REPO['fullreponame']='server_eGroupWare'
228     REPO['EnableGroups']='no'
229     REPO['Visible']='yes'
230     REPO['status']='disabled'
231 jpp 1.6 REPO['BaseURL']='http://download.opensuse.org/repositories/server:/eGroupWare/CentOS_$releasever/'
232 jpp 1.1 REPO['MirrorList']=''
233     REPO['GPGCheck']='yes'
234 jpp 1.6 REPO['GPGKey']='http://download.opensuse.org/repositories/server:/eGroupWare/CentOS_$releasever/repodata/repomd.xml.key'
235 jpp 1.1 REPO['Exclude']=''
236 jpp 1.4 REPO['IncludePkgs']=''
237     createrepo
238 jpp 1.1
239 jpp 1.2 #####################
240     #####################
241     #elastic
242     #####################
243     #####################
244     declare -A elashort=( ['6.x']='6.x' ['5.x']='5.x' ['1.6']='1' )
245     for elasver in "6.x" "5.x" "1.6"; do
246     REPO['reponame']="elastic${elashort[$elasver]}"
247     REPO['fullreponame']="Elasticsearch repository for $elasver packages"
248     REPO['EnableGroups']='yes'
249     REPO['Visible']='yes'
250     REPO['status']='disabled'
251     REPO['BaseURL']="https://artifacts.elastic.co/packages/$elasver/yum"
252     REPO['MirrorList']=''
253     REPO['GPGCheck']='yes'
254     REPO['GPGKey']='https://artifacts.elastic.co/GPG-KEY-elasticsearch'
255     REPO['Exclude']=''
256 jpp 1.4 REPO['IncludePkgs']=''
257     createrepo
258 jpp 1.2 done
259    
260     #####################
261     #####################
262     #ELRepo
263     #####################
264     #####################
265     REPO['reponame']='elrepo'
266     REPO['fullreponame']='ELRepo.org Community Enterprise Linux Repository'
267     REPO['EnableGroups']='no'
268     REPO['Visible']='no'
269     REPO['status']='disabled'
270 jpp 1.6 REPO['BaseURL']='http://elrepo.org/linux/elrepo/el$releasever/$basearch'
271     REPO['MirrorList']='http://elrepo.org/mirrors-elrepo.$releasever'
272 jpp 1.2 REPO['GPGCheck']='yes'
273     REPO['GPGKey']='http://elrepo.org/RPM-GPG-KEY-elrepo.org'
274     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'
275 jpp 1.4 REPO['IncludePkgs']=''
276     createrepo
277 jpp 1.2
278     #####################
279     #####################
280     #EPEL
281     #####################
282     #####################
283     REPO['reponame']='epel'
284     REPO['fullreponame']='EPEL'
285     REPO['EnableGroups']='no'
286     REPO['Visible']='no'
287     REPO['status']='disabled'
288 jpp 1.6 REPO['BaseURL']='http://download.fedoraproject.org/pub/epel/$releasever/$basearch'
289     REPO['MirrorList']='http://mirrors.fedoraproject.org/mirrorlist?repo=epel-$releasever&arch=$basearch'
290 jpp 1.2 REPO['GPGCheck']='yes'
291     REPO['GPGKey']='http://dl.fedoraproject.org/pub/epel/RPM-GPG-KEY-EPEL'
292     REPO['Exclude']='perl-Razor-Agent'
293 jpp 1.4 REPO['IncludePkgs']=''
294     createrepo
295 jpp 1.2
296 jpp 1.3 #####################
297     #####################
298     #erlang
299     #####################
300     #####################
301     REPO['reponame']='erlang'
302     REPO['fullreponame']='erlang programming language'
303     REPO['EnableGroups']='no'
304     REPO['Visible']='yes'
305     REPO['status']='disabled'
306 jpp 1.6 REPO['BaseURL']='http://packages.erlang-solutions.com/rpm/centos/$releasever/$basearch'
307 jpp 1.3 REPO['MirrorList']=''
308     REPO['GPGCheck']='yes'
309     REPO['GPGKey']='http://packages.erlang-solutions.com/rpm/erlang_solutions.asc'
310     REPO['Exclude']=''
311 jpp 1.4 REPO['IncludePkgs']=''
312     createrepo
313 jpp 1.3
314     #####################
315     #####################
316     #freeswitch
317     #####################
318     #####################
319     REPO['reponame']='freeswitch'
320     REPO['fullreponame']='Freeswitch'
321     REPO['EnableGroups']='no'
322     REPO['Visible']='yes'
323     REPO['status']='disabled'
324 jpp 1.6 REPO['BaseURL']='http://files.freeswitch.org/yum/$releasever/$basearch'
325 jpp 1.3 REPO['MirrorList']=''
326     REPO['GPGCheck']='yes'
327     REPO['GPGKey']='file:///etc/pki/rpm-gpg/RPM-GPG-KEY-FREESWITCH'
328     REPO['Exclude']=''
329 jpp 1.4 REPO['IncludePkgs']=''
330     createrepo
331    
332     #####################
333     #####################
334     #firewall Service
335     #####################
336     #####################
337     REPO['reponame']='fws'
338     REPO['fullreponame']='Firewall Services'
339     REPO['EnableGroups']='no'
340     REPO['Visible']='no'
341     REPO['status']='disabled'
342 jpp 1.6 REPO['BaseURL']='http://repo.firewall-services.com/centos/$releasever'
343 jpp 1.4 REPO['MirrorList']=''
344     REPO['GPGCheck']='yes'
345     REPO['GPGKey']='http://repo.firewall-services.com/RPM-GPG-KEY'
346     REPO['Exclude']=''
347     REPO['IncludePkgs']=''
348     createrepo
349    
350     #####################
351     #####################
352     #firewall Service testing
353     #####################
354     #####################
355     REPO['reponame']='fws-testing'
356     REPO['fullreponame']='Firewall Services testing'
357     REPO['EnableGroups']='no'
358     REPO['Visible']='no'
359     REPO['status']='disabled'
360 jpp 1.6 REPO['BaseURL']='http://repo.firewall-services.com/centos-testing/$releasever'
361 jpp 1.4 REPO['MirrorList']=''
362     REPO['GPGCheck']='yes'
363     REPO['GPGKey']='http://repo.firewall-services.com/RPM-GPG-KEY'
364     REPO['Exclude']=''
365     REPO['IncludePkgs']=''
366     createrepo
367    
368     #####################
369     #####################
370     # Geekery (last update 2016-09-25)
371     #####################
372     #####################
373     REPO['reponame']='geekery'
374     REPO['fullreponame']='geekery repository'
375     REPO['EnableGroups']='no'
376     REPO['Visible']='no'
377     REPO['status']='disabled'
378     REPO['BaseURL']=''
379 jpp 1.6 REPO['MirrorList']='http://geekery.epac.to/geekery/el$releasever-mirrors'
380 jpp 1.4 REPO['GPGCheck']='yes'
381     REPO['GPGKey']='http://geekery.altervista.org/download.php?filename=GEEKERY-GPG-KEY'
382     REPO['Exclude']=''
383     REPO['IncludePkgs']=''
384     createrepo
385    
386     if ( "%{?dist}" == "el7" ); then
387     #####################
388     #####################
389     # Odoo10-nightly
390     #####################
391     #####################
392     REPO['reponame']='odoo10-nightly'
393     REPO['fullreponame']='Odoo 10 Nightly - EL7'
394     REPO['EnableGroups']='no'
395     REPO['Visible']='no'
396     REPO['status']='disabled'
397     REPO['BaseURL']='http://nightly.odoo.com/10.0/nightly/rpm/'
398     REPO['MirrorList']=''
399     REPO['GPGCheck']='yes'
400     REPO['GPGKey']='https://nightly.odoo.com/odoo.key'
401     REPO['Exclude']=''
402     REPO['IncludePkgs']=''
403     createrepo
404    
405     #####################
406     #####################
407     # Odoo9-nightly
408     #####################
409     #####################
410     REPO['reponame']='odoo9-nightly'
411     REPO['fullreponame']='Odoo 9 Nightly - EL7'
412     REPO['EnableGroups']='no'
413     REPO['Visible']='no'
414     REPO['status']='disabled'
415     REPO['BaseURL']='http://nightly.odoo.com/9.0/nightly/rpm/'
416     REPO['MirrorList']=''
417     REPO['GPGCheck']='yes'
418     REPO['GPGKey']='https://nightly.odoo.com/odoo.key'
419     REPO['Exclude']=''
420     REPO['IncludePkgs']=''
421     createrepo
422     fi
423    
424     #####################
425     #####################
426     # Okay
427     #####################
428     #####################
429     REPO['reponame']='okay'
430     REPO['fullreponame']='Extra OKay Packages for Enterprise Linux - Freeswitch and FusionPBX'
431     REPO['EnableGroups']='no'
432     REPO['Visible']='no'
433     REPO['status']='disabled'
434 jpp 1.6 REPO['BaseURL']='http://repo.okay.com.mx/centos/$releasever/$basearch/release'
435 jpp 1.4 REPO['MirrorList']=''
436     REPO['GPGCheck']='no'
437     REPO['GPGKey']=''
438     REPO['Exclude']=''
439     REPO['IncludePkgs']=''
440     createrepo
441    
442     #####################
443     #####################
444     # Openfusion
445     #####################
446     #####################
447     REPO['reponame']='openfusion'
448     REPO['fullreponame']='Openfusion'
449     REPO['EnableGroups']='no'
450     REPO['Visible']='yes'
451     REPO['status']='disabled'
452 jpp 1.6 REPO['BaseURL']='http://repo.openfusion.net/centos$releasever-$basearch'
453 jpp 1.4 REPO['MirrorList']=''
454     REPO['GPGCheck']='yes'
455     REPO['GPGKey']='http://repo.openfusion.net/RPM-GPG-KEY-openfusion'
456     REPO['Exclude']=''
457     REPO['IncludePkgs']=''
458     createrepo
459    
460     #####################
461     #####################
462     # Reetspetit
463     #####################
464     #####################
465     REPO['reponame']='reetp'
466     REPO['fullreponame']='Mirror John Crisp reetspetit.com'
467     REPO['EnableGroups']='no'
468     REPO['Visible']='yes'
469     REPO['status']='disabled'
470 jpp 1.6 REPO['BaseURL']='https://reetspetit.com/smeserver/$releasever'
471 jpp 1.4 REPO['MirrorList']=''
472     REPO['GPGCheck']='no'
473     REPO['GPGKey']='https://reetspetit.com/RPM-GPG-KEY'
474     REPO['Exclude']=''
475     REPO['IncludePkgs']=''
476     createrepo
477    
478     #remi-safe
479     REPO['reponame']='remi-safe'
480     REPO['fullreponame']='Remi - safe'
481     REPO['EnableGroups']='no'
482     REPO['GPGCheck']='yes'
483     REPO['Visible']='yes'
484     REPO['status']='enabled'
485 jpp 1.6 REPO['BaseURL']='http://rpms.famillecollet.com/enterprise/$releasever/safe/$basearch/'
486 jpp 1.4 REPO['MirrorList']=''
487     REPO['GPGKey']='http://rpms.famillecollet.com/RPM-GPG-KEY-remi'
488     REPO['Exclude']=''
489     REPO['IncludePkgs']=''
490     createrepo
491    
492     #####################
493     #####################
494     #remi
495     #####################
496     #####################
497     REPO['reponame']='remi'
498     REPO['fullreponame']='Remi - EL unsafe, will conflict with your base rpms'
499     REPO['EnableGroups']='no'
500     REPO['GPGCheck']='yes'
501     REPO['Visible']='no'
502     REPO['status']='enabled'
503 jpp 1.6 REPO['BaseURL']='http://rpms.famillecollet.com/enterprise/$releasever/remi/$basearch/'
504 jpp 1.4 REPO['MirrorList']=''
505     REPO['GPGKey']='http://rpms.famillecollet.com/RPM-GPG-KEY-remi'
506     REPO['Exclude']='mysql*,php-*,phpMyAdmin'
507     REPO['IncludePkgs']=''
508     createrepo
509    
510     #####################
511     #####################
512     #remi-ocsinventory
513     #####################
514     #####################
515     REPO['reponame']='remi-ocsinventory'
516     REPO['fullreponame']='Remi ocsinventory - EL'
517     REPO['EnableGroups']='no'
518     REPO['GPGCheck']='yes'
519     REPO['Visible']='yes'
520     REPO['status']='enabled'
521 jpp 1.6 REPO['BaseURL']='http://rpms.famillecollet.com/enterprise/$releasever/remi/$basearch/'
522 jpp 1.4 REPO['MirrorList']=''
523     REPO['GPGKey']='http://rpms.famillecollet.com/RPM-GPG-KEY-remi'
524     REPO['Exclude']=''
525     REPO['IncludePkgs']='ocsinventory* perl-Ocsinventory-Agent'
526     createrepo
527    
528     #####################
529     #####################
530     #remi-ocsinventory
531     #####################
532     #####################
533     REPO['reponame']='remi-roundcube'
534     REPO['fullreponame']='Remi Roundcube - EL'
535     REPO['EnableGroups']='no'
536     REPO['GPGCheck']='yes'
537     REPO['Visible']='yes'
538     REPO['status']='enabled'
539 jpp 1.6 REPO['BaseURL']='http://rpms.famillecollet.com/enterprise/$releasever/remi/$basearch/'
540 jpp 1.4 REPO['MirrorList']=''
541     REPO['GPGKey']='http://rpms.famillecollet.com/RPM-GPG-KEY-remi'
542     REPO['Exclude']=''
543     REPO['IncludePkgs']='php-kolab-net-ldap3,php-pear-Mail-mimeDecode,php-pear-Net-IDNA2,php-pear-Net-LDAP2,roundcubemail'
544     createrepo
545    
546    
547     #####################
548     #####################
549     #rpmfusion
550     #####################
551     #####################
552     REPO['reponame']='rpmfusion'
553     REPO['fullreponame']='rpmfusion free EL'
554     REPO['EnableGroups']='no'
555     REPO['Visible']='yes'
556     REPO['status']='disabled'
557 jpp 1.6 REPO['BaseURL']='http://download1.rpmfusion.org/free/el/updates/$releasever/$basearch/'
558     REPO['MirrorList']='http://mirrors.rpmfusion.org/mirrorlist?repo=free-el-updates-released-$releasever&arch=$basearch'
559 jpp 1.4 REPO['GPGCheck']='yes'
560 jpp 1.6 REPO['GPGKey']='https://rpmfusion.org/keys?action=AttachFile&do=get&target=RPM-GPG-KEY-rpmfusion-free-el-$releasever'
561 jpp 1.4 REPO['Exclude']=''
562     REPO['IncludePkgs']=''
563     createrepo
564    
565     #####################
566     #####################
567     #rpmfusion
568     #####################
569     #####################
570     REPO['reponame']='rpmfusion-nonfree'
571     REPO['fullreponame']='rpmfusion nonfree EL'
572     REPO['EnableGroups']='no'
573     REPO['Visible']='yes'
574     REPO['status']='disabled'
575 jpp 1.6 REPO['BaseURL']='http://download1.rpmfusion.org/nonfree/el/updates/$releasever/$basearch/'
576     REPO['MirrorList']='http://mirrors.rpmfusion.org/mirrorlist?repo=nonfree-el-updates-released-$releasever&arch=$basearch'
577 jpp 1.4 REPO['GPGCheck']='yes'
578 jpp 1.6 REPO['GPGKey']='https://rpmfusion.org/keys?action=AttachFile&do=get&target=RPM-GPG-KEY-rpmfusion-nonfree-el-$releasever'
579 jpp 1.4 REPO['Exclude']=''
580     REPO['IncludePkgs']=''
581     createrepo
582 jpp 1.3
583 jpp 1.5 #####################
584     #####################
585     #Sogo nightly
586     #####################
587     #####################
588     REPO['reponame']='sogo'
589     REPO['fullreponame']='Inverse SOGo 2 Repository'
590     REPO['EnableGroups']='no'
591     REPO['Visible']='yes'
592     REPO['status']='disabled'
593 jpp 1.6 REPO['BaseURL']='http://packages.inverse.ca/SOGo/nightly/2/rhel/$releasever/$basearch'
594 jpp 1.5 REPO['MirrorList']=''
595     REPO['GPGCheck']='no'
596     REPO['GPGKey']=''
597     REPO['Exclude']=''
598     REPO['IncludePkgs']='gnustep-base,gnustep-make,libmemcached,libwbxml,sogo*,sope49*'
599     createrepo
600    
601     #####################
602     #####################
603     #Sogo3 nightly
604     #####################
605     #####################
606     REPO['reponame']='sogo3'
607     REPO['fullreponame']='Inverse SOGo 3 Repository'
608     REPO['EnableGroups']='no'
609     REPO['Visible']='yes'
610     REPO['status']='disabled'
611 jpp 1.6 REPO['BaseURL']='http://packages.inverse.ca/SOGo/nightly/3/rhel/$releasever/$basearch'
612 jpp 1.5 REPO['MirrorList']=''
613     REPO['GPGCheck']='no'
614     REPO['GPGKey']=''
615     REPO['Exclude']=''
616     REPO['IncludePkgs']='gnustep-base,gnustep-make,libmemcached,libwbxml,sogo*,sope49*'
617     createrepo
618    
619     #####################
620     #####################
621 jpp 1.7 #Sogo3 nightly
622     #####################
623     #####################
624     REPO['reponame']='sogo4'
625     REPO['fullreponame']='Inverse SOGo 4 Repository'
626     REPO['EnableGroups']='no'
627     REPO['Visible']='yes'
628     REPO['status']='disabled'
629     REPO['BaseURL']='http://packages.inverse.ca/SOGo/nightly/4/rhel/$releasever/$basearch'
630     REPO['MirrorList']=''
631     REPO['GPGCheck']='no'
632     REPO['GPGKey']=''
633     REPO['Exclude']=''
634     REPO['IncludePkgs']='gnustep-base,gnustep-make,libmemcached,libwbxml,sogo*,sope49*'
635     createrepo
636    
637    
638     #####################
639     #####################
640 jpp 1.5 #Sogo stable
641     #####################
642     #####################
643     REPO['reponame']='sogo-subscription'
644     REPO['fullreponame']='Inverse SOGo Repository only with subscription'
645     REPO['EnableGroups']='no'
646     REPO['Visible']='yes'
647     REPO['status']='disabled'
648 jpp 1.6 REPO['BaseURL']='http://packages.inverse.ca/download/SOGo/RHEL$releasever/$basearch'
649 jpp 1.5 REPO['MirrorList']=''
650     REPO['GPGCheck']='no'
651     REPO['GPGKey']=''
652     REPO['Exclude']=''
653     REPO['IncludePkgs']='gnustep-base,gnustep-make,libmemcached,libwbxml,sogo*,sope49*'
654     createrepo
655    
656     #####################
657     #####################
658     #Spectrum2
659     #####################
660     #####################
661     REPO['reponame']='spectrum2'
662     REPO['fullreponame']='Spectrum2'
663     REPO['EnableGroups']='no'
664     REPO['Visible']='yes'
665     REPO['status']='disabled'
666 jpp 1.6 REPO['BaseURL']='http://copr-be.cloud.fedoraproject.org/results/mcepl/spectrum2/epel-$releasever-$basearch'
667 jpp 1.5 REPO['MirrorList']=''
668     REPO['GPGCheck']='no'
669     REPO['GPGKey']=''
670     REPO['Exclude']=''
671     REPO['IncludePkgs']=''
672     createrepo
673    
674     #####################
675     #####################
676     #stephDL
677     #####################
678     #####################
679     REPO['reponame']='stephdl'
680     REPO['fullreponame']='Mirror Stephane de Labrusse'
681     REPO['EnableGroups']='no'
682     REPO['Visible']='yes'
683     REPO['status']='disabled'
684 jpp 1.6 REPO['BaseURL']='http://mirror.de-labrusse.fr/smeserver/$releasever'
685 jpp 1.5 REPO['MirrorList']=''
686     REPO['GPGCheck']='yes'
687     REPO['GPGKey']='http://mirror.de-labrusse.fr/RPM-GPG-KEY'
688     REPO['Exclude']=''
689     REPO['IncludePkgs']=''
690     createrepo
691    
692     #####################
693     #####################
694     #VirtualBox
695     #####################
696     #####################
697     REPO['reponame']='virtualbox'
698     REPO['fullreponame']='RHEL/CentOS VirtualBox'
699     REPO['EnableGroups']='no'
700     REPO['Visible']='yes'
701     REPO['status']='disabled'
702 jpp 1.6 REPO['BaseURL']='http://download.virtualbox.org/virtualbox/rpm/el/$releasever/$basearch'
703 jpp 1.5 REPO['MirrorList']=''
704     REPO['GPGCheck']='yes'
705     REPO['GPGKey']='https://www.virtualbox.org/download/oracle_vbox.asc'
706     REPO['Exclude']=''
707     REPO['IncludePkgs']=''
708     createrepo
709    
710     #####################
711     #####################
712     #Webtatic
713     #####################
714     #####################
715     REPO['reponame']='webtatic'
716     REPO['fullreponame']='webtatic - EL'
717     REPO['EnableGroups']='no'
718     REPO['Visible']='yes'
719     REPO['status']='disabled'
720     REPO['BaseURL']=''
721 jpp 1.6 REPO['MirrorList']='http://mirror.webtatic.com/yum/el-$releasever/$basearch/mirrolist'
722 jpp 1.5 REPO['GPGCheck']='yes'
723     if ( "%{?dist}" == "el5" ); then
724     REPO['GPGKey']='http://repo.webtatic.com/yum/RPM-GPG-KEY-webtatic-andy'
725     else
726     REPO['GPGKey']="http://repo.webtatic.com/yum/RPM-GPG-KEY-webtatic-%{?dist}"
727     fi
728     REPO['Exclude']=''
729     REPO['IncludePkgs']=''
730     createrepo
731    
732     #####################
733     #####################
734     #Xymon
735     #####################
736     #####################
737     REPO['reponame']='xymon'
738     REPO['fullreponame']='Xymon Terabithia RPMS - EL'
739     REPO['EnableGroups']='no'
740     REPO['Visible']='yes'
741     REPO['status']='disabled'
742 jpp 1.6 REPO['BaseURL']='http://terabithia.org/rpms/xymon/el$releasever/'
743 jpp 1.5 REPO['MirrorList']=''
744     REPO['GPGCheck']='yes'
745     REPO['GPGKey']="http://terabithia.org/rpms/RPM-GPG-KEY-JCLEAVER"
746     REPO['Exclude']=''
747     REPO['IncludePkgs']=''
748     createrepo
749    
750     #####################
751     #####################
752     #Zabbix2.4
753     #####################
754     #####################
755     declare -A zabshort=( ['2.4']='24' ['2.5']='25' ['3.0']='30' ['3.1']='31' ['3.2']='32' ['3.4']='35' ['3.5']='35')
756     for elasver in "2.4" "2.5" "3.0"; do
757     REPO['reponame']="zabbix${zabshort[$elasver]}"
758     REPO['fullreponame']="Zabbix $elasver Official Repository"
759     REPO['EnableGroups']='no'
760     REPO['Visible']='yes'
761     REPO['status']='disabled'
762 jpp 1.6 REPO['BaseURL']="http://repo.zabbix.com/zabbix/$elasver/rhel/\$releasever/\$basearch/"
763 jpp 1.5 REPO['MirrorList']=''
764     REPO['GPGCheck']='yes'
765     REPO['GPGKey']="http://repo.zabbix.com/RPM-GPG-KEY-ZABBIX"
766     REPO['Exclude']=''
767     REPO['IncludePkgs']=''
768     createrepo
769     done
770 jpp 1.3
771 jpp 1.5 #####################
772     #####################
773     #zmrepo
774     #####################
775     #####################
776     REPO['reponame']='zmrepo'
777     REPO['fullreponame']='ZoneMinder Repo - EL'
778     REPO['EnableGroups']='no'
779     REPO['Visible']='yes'
780     REPO['status']='disabled'
781 jpp 1.6 REPO['BaseURL']='http://zmrepo.mehvc.com/el/$releasever/$basearch'
782 jpp 1.5 REPO['MirrorList']=''
783     REPO['GPGCheck']='no'
784     REPO['GPGKey']=""
785     REPO['Exclude']=''
786     REPO['IncludePkgs']=''
787     createrepo
788 jpp 1.2
789    
790     rm -f %{name}-%{version}-filelist*
791     /sbin/e-smith/genfilelist $RPM_BUILD_ROOT > %{name}-%{version}-filelist
792 jpp 1.5 cat %{name}-%{version}-filelist| grep atomic > %{name}-%{version}-filelist-atomic
793     cat %{name}-%{version}-filelist| grep centos-sclo > %{name}-%{version}-filelist-centos-sclo
794 jpp 1.2 cat %{name}-%{version}-filelist| egrep 'digium|asterisk' > %{name}-%{version}-filelist-asterisk
795     cat %{name}-%{version}-filelist| grep egroupware > %{name}-%{version}-filelist-egroupware
796     cat %{name}-%{version}-filelist| grep elastic > %{name}-%{version}-filelist-elastic
797     cat %{name}-%{version}-filelist| grep elrepo > %{name}-%{version}-filelist-elrepo
798     cat %{name}-%{version}-filelist| grep epel > %{name}-%{version}-filelist-epel
799 jpp 1.3 cat %{name}-%{version}-filelist| grep erlang > %{name}-%{version}-filelist-erlang
800 jpp 1.4 cat %{name}-%{version}-filelist| grep freeswitch > %{name}-%{version}-filelist-freeswitch
801     cat %{name}-%{version}-filelist| grep fws > %{name}-%{version}-filelist-fws
802     cat %{name}-%{version}-filelist| grep geekery > %{name}-%{version}-filelist-geekery
803     if ( "%{?dist}" == "el7" ); then
804     cat %{name}-%{version}-filelist| grep odoo > %{name}-%{version}-filelist-odoo
805     fi
806     cat %{name}-%{version}-filelist| grep okay > %{name}-%{version}-filelist-okay
807     cat %{name}-%{version}-filelist| grep openfusion > %{name}-%{version}-filelist-openfusion
808     cat %{name}-%{version}-filelist| grep reetp > %{name}-%{version}-filelist-reetp
809     cat %{name}-%{version}-filelist| grep remi-safe > %{name}-%{version}-filelist-remi-safe
810     cat %{name}-%{version}-filelist| grep remi-ocsinventory > %{name}-%{version}-filelist-remi-ocsinventory
811     cat %{name}-%{version}-filelist| grep remi-roundcube > %{name}-%{version}-filelist-remi-roundcube
812     cat %{name}-%{version}-filelist| grep remi|egrep -v 'safe|ocsinventory|roundcube' > %{name}-%{version}-filelist-remi
813     cat %{name}-%{version}-filelist| grep rpmfusion > %{name}-%{version}-filelist-rpmfusion
814 jpp 1.5 cat %{name}-%{version}-filelist| grep sogo > %{name}-%{version}-filelist-sogo
815     cat %{name}-%{version}-filelist| grep spectrum2 > %{name}-%{version}-filelist-spectrum2
816     cat %{name}-%{version}-filelist| grep stephdl > %{name}-%{version}-filelist-stephdl
817     cat %{name}-%{version}-filelist| grep virtualbox > %{name}-%{version}-filelist-virtualbox
818     cat %{name}-%{version}-filelist| grep webtatic > %{name}-%{version}-filelist-webtatic
819     cat %{name}-%{version}-filelist| grep xymon > %{name}-%{version}-filelist-xymon
820     cat %{name}-%{version}-filelist| grep zabbix > %{name}-%{version}-filelist-zabbix
821     cat %{name}-%{version}-filelist| grep zmrepo > %{name}-%{version}-filelist-zmrepo
822 jpp 1.1
823     %clean
824     cd ..
825     rm -rf %{name}-%{version}
826    
827 jpp 1.5
828     #%files -f %{name}-%{version}-filelist
829     %files
830 jpp 1.1 %defattr(-,root,root)
831    
832     %pre
833    
834     %preun
835    
836     %post
837    
838     %postun
839     case "$1" in
840    
841     0)
842     # this is an uninstallation
843     ;;
844    
845     1)
846     # this is an upgrade
847     ;;
848     esac
849 jpp 1.5 %package atomic
850     Summary: Atomic Repository
851     %description atomic
852     Atomic Repository
853     %files atomic -f %{name}-%{version}-filelist-atomic
854     %defattr(-,root,root)
855 jpp 1.2
856 jpp 1.5 %package centos-sclo
857 jpp 1.4 Summary: CentOS Red-Hat software collection repository
858 jpp 1.5 %description centos-sclo
859     CentOS Red-Hat software collection repository only for x86_64 arch
860     %files centos-sclo -f %{name}-%{version}-filelist-centos-sclo
861 jpp 1.2 %defattr(-,root,root)
862    
863     %package asterisk
864     Summary: All repositories you need for Asterisk and FreePBX
865     %description asterisk
866     All repositories you need for Asterisk and FreePBX
867     %files asterisk -f %{name}-%{version}-filelist-asterisk
868     %defattr(-,root,root)
869    
870     %package egroupware
871     Summary: Repository for eGroupWare
872     %description egroupware
873     Repository for eGroupWare
874     %files egroupware -f %{name}-%{version}-filelist-egroupware
875     %defattr(-,root,root)
876    
877     %package elastic
878     Summary: Repositories for elastic search
879     %description elastic
880     Repositories for elastic search
881     %files elastic -f %{name}-%{version}-filelist-elastic
882     %defattr(-,root,root)
883    
884     %package elrepo
885     Summary: ElRepo.org Community Enterprise Linux Repository
886     %description elrepo
887     ElRepo.org Community Enterprise Linux Repository
888     %files elrepo -f %{name}-%{version}-filelist-elrepo
889     %defattr(-,root,root)
890    
891     %package epel
892     Summary: Fedora EPEL Repository
893     %description epel
894     Fedora EPEL Repository
895     %files epel -f %{name}-%{version}-filelist-epel
896     %defattr(-,root,root)
897    
898 jpp 1.3 %package erlang
899     Summary: Erlang Repository
900     %description erlang
901     Erlang is a programming language. It is specifically used for ejabberd.
902     %files erlang -f %{name}-%{version}-filelist-erlang
903     %defattr(-,root,root)
904    
905     %package freeswitch
906     Summary: Freeswitch Repository
907     %description freeswitch
908     FreeSWITCH is a scalable open source cross-platform telephony platform designed to route and interconnect popular communication protocols using audio, video, text or any other form of media. It was created in 2006 to fill the void left by proprietary commercial solutions. FreeSWITCH also provides a stable telephony platform on which many applications can be developed using a wide range of free tools
909     %files freeswitch -f %{name}-%{version}-filelist-freeswitch
910     %defattr(-,root,root)
911    
912 jpp 1.4 %package fws
913     Summary: Firewall Services repository
914     %description fws
915     Firewall Services repository
916     %files fws -f %{name}-%{version}-filelist-fws
917     %defattr(-,root,root)
918    
919     %package geekery
920     Summary: Geekery Repository
921     %description geekery
922     Geekery Repository
923     %files geekery -f %{name}-%{version}-filelist-geekery
924     %defattr(-,root,root)
925    
926     %package odoo
927     Summary: Odoo 10 Nightly - EL7 Repository
928     Distribution: el7
929     %description odoo
930     Odoo 10 Nightly - EL7 Repository
931     # comment as not available for centos 6 SME9
932     #%files odoo -f %{name}-%{version}-filelist-odoo
933     #%defattr(-,root,root)
934    
935     %package okay
936     Summary: Extra OKay Packages for Enterprise Linux
937     %description okay
938     Extra OKay Packages for Enterprise Linux - Freeswitch and FusionPBX
939     %files okay -f %{name}-%{version}-filelist-okay
940     %defattr(-,root,root)
941    
942     %package openfusion
943     Summary: Openfusion Repository
944     %description openfusion
945     Openfusion Repository
946     %files openfusion -f %{name}-%{version}-filelist-openfusion
947     %defattr(-,root,root)
948    
949     %package reetp
950     Summary: Mirror John Crisp reetspetit.com
951     %description reetp
952     Mirror John Crisp reetspetit.com
953     %files reetp -f %{name}-%{version}-filelist-reetp
954     %defattr(-,root,root)
955    
956     %package remi-safe
957     Summary: Remi safe repository
958     %description remi-safe
959     Remi safe repository
960     %files remi-safe -f %{name}-%{version}-filelist-remi-safe
961     %defattr(-,root,root)
962    
963     %package remi-ocsinventory
964     Summary: Remi repository filtered to install OCSinventory
965     %description remi-ocsinventory
966     Remi repository filtered to install OCSinventory
967     %files remi-ocsinventory -f %{name}-%{version}-filelist-remi-ocsinventory
968     %defattr(-,root,root)
969    
970     %package remi-roundcube
971     Summary: Remi repository filtered to install Roundcube
972     %description remi-roundcube
973     Remi repository filtered to install Roundcube
974     %files remi-roundcube -f %{name}-%{version}-filelist-remi-roundcube
975     %defattr(-,root,root)
976    
977     %package remi-unsafe
978     Summary: Remi unsafe repository
979     %description remi-unsafe
980     Remi unsafe repository. We call it unsafe, not because of the work, but because it can conflict with base rpm of your favorite distro. Use it at your own risk if you are able to handle the situation.
981     %files remi-unsafe -f %{name}-%{version}-filelist-remi
982     %defattr(-,root,root)
983    
984     %package rpmfusion
985     Summary: RPMFusion repositories
986     %description rpmfusion
987     RPMFusion repositories
988     %files rpmfusion -f %{name}-%{version}-filelist-rpmfusion
989     %defattr(-,root,root)
990 jpp 1.2
991 jpp 1.5 %package sogo
992     Summary: SOGo repositories
993     %description sogo
994     SOGo repositories
995     %files sogo -f %{name}-%{version}-filelist-sogo
996     %defattr(-,root,root)
997    
998     %package spectrum2
999     Summary: Spectrum2 Repository
1000     %description spectrum2
1001     Spectrum2 Repository
1002     %files spectrum2 -f %{name}-%{version}-filelist-spectrum2
1003     %defattr(-,root,root)
1004    
1005     %package stephdl
1006     Summary: Stephane De Labrusse Repository
1007     %description stephdl
1008     Stephane De Labrusse Repository
1009     %files stephdl -f %{name}-%{version}-filelist-stephdl
1010     %defattr(-,root,root)
1011    
1012     %package virtualbox
1013     Summary: Virtualbox Repository
1014     %description virtualbox
1015     Virtualbox Repository
1016     %files virtualbox -f %{name}-%{version}-filelist-virtualbox
1017     %defattr(-,root,root)
1018    
1019     %package webtatic
1020     Summary: Webtatic Repository
1021     %description webtatic
1022     Webtatic Repository
1023     %files webtatic -f %{name}-%{version}-filelist-webtatic
1024     %defattr(-,root,root)
1025    
1026     %package xymon
1027     Summary: Xymon Terabithia Repository
1028     %description xymon
1029     Xymon Terabithia Repository
1030     %files xymon -f %{name}-%{version}-filelist-xymon
1031     %defattr(-,root,root)
1032    
1033     %package zabbix
1034     Summary: Zabbix official Repository
1035     %description zabbix
1036     Zabbix official Repository
1037     %files zabbix -f %{name}-%{version}-filelist-zabbix
1038     %defattr(-,root,root)
1039    
1040     %package zmrepo
1041     Summary: Zone Minder Repository
1042     %description zmrepo
1043     Zone Minder Repository
1044     %files zmrepo -f %{name}-%{version}-filelist-zmrepo
1045     %defattr(-,root,root)
1046    
1047    
1048    

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