/[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.21 - (hide annotations) (download)
Thu Jan 3 10:21:59 2019 UTC (5 years, 10 months ago) by jcrisp
Branch: MAIN
CVS Tags: smeserver-extrarepositories-0_1-16
Changes since 1.20: +5 -2 lines
* Tue Jan 03 2019 John Crisp <jcrisp@safeandsoundit.co.uk> 0.1-16.sme
- Add more Excludes to Openfusion

1 jpp 1.1 %define name smeserver-extrarepositories
2     %define version 0.1
3 jcrisp 1.21 %define release 16
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 jcrisp 1.21 * Tue Jan 03 2019 John Crisp <jcrisp@safeandsoundit.co.uk> 0.1-16.sme
22     - Add more Excludes to Openfusion
23    
24 jcrisp 1.20 * Mon Jan 02 2019 John Crisp <jcrisp@safeandsoundit.co.uk> 0.1-15.sme
25     - Exclude mod_perl and other files from OpenFusion repo
26    
27 jpp 1.19 * Sat Dec 29 2018 Jean-Philipe Pialasse <tests@pialasse.com> 0.1-14.sme
28 jpp 1.18 - fix typo in asterisk-current
29     - fix typo in migrate fragment for zmrepo
30 jpp 1.19 - renamed digium as digium-current
31 jpp 1.18
32 jpp 1.17 * Fri Dec 28 2018 Jean-Philipe Pialasse <tests@pialasse.com> 0.1-12.sme
33     - zoneminder needs ffmpeg from zmrepo [SME: 10539]
34    
35 jpp 1.16 * Fri Dec 28 2018 Jean-Philipe Pialasse <tests@pialasse.com> 0.1-11.sme
36 jpp 1.12 - zmrepo url has changed [SME: 10675]
37    
38 jpp 1.13 * Fri Nov 30 2018 John Crisp <jcrisp@safeandsoundit.co.uk> 0.1-7.sme
39 jcrisp 1.11 - Add libreswan repo [SME: 10605]
40     - remove duplicate remi-safe entry
41    
42     * Mon Jun 25 2018 John Crisp <jcrisp@safeandsoundit.co.uk> 0.1-6.sme
43     - Update reetp URL [SME: 10604]
44 jcrisp 1.10
45 jpp 1.9 * Tue May 08 2018 Jean-Philipe Pialasse <tests@pialasse.com> 0.1-5.sme
46     - add elrepo-kernel repo [SME: 10581]
47    
48 jpp 1.8 * Sun Mar 18 2018 Jean-Philipe Pialasse <tests@pialasse.com> 0.1-4.sme
49     - exclude ffmpeg-2.6.4 and celt-0.11 from zmrepo [SME: 10543]
50     - add Sogo4 repo + migrate to exclude gnustep from epel if sogo repo present
51    
52 jpp 1.6 * Sun Feb 18 2018 Jean-Philipe Pialasse <tests@pialasse.com> 0.1-3.sme
53     - fix wrong escape sequence for $basearch and $releasever [SME: 10239]
54    
55 jpp 1.5 * Thu Feb 15 2018 Jean-Philipe Pialasse <tests@pialasse.com> 0.1-2.sme
56     - first multipackage version
57     - gpg keys not included
58    
59 jpp 1.1 * Mon May 01 2017 Jean-Philipe Pialasse <tests@pialasse.com> 0.1-1.sme
60     - initial release
61    
62     %prep
63    
64     %build
65    
66     %install
67     rm -rf $RPM_BUILD_ROOT
68     # if needing to add a gpg key
69     mkdir -p $RPM_BUILD_ROOT/usr/share/rpm-gpg-keys/
70    
71     # if needing to add a gpg key
72     #cp %source0 $RPM_BUILD_ROOT/usr/share/rpm-gpg-keys/
73     #/usr/share/rpm-gpg-keys/RPM-GPG-KEY-${REPO['reponame']}
74    
75     # if needing to migrate something :
76     #mkdir -p $RPM_BUILD_ROOT/etc/e-smith/db/yum_repositories/migrate
77     #echo "" >$RPM_BUILD_ROOT/etc/e-smith/db/yum_repositories/migrate/00REPONAMEmigrate
78    
79     # if needed to force something
80     #mkdir -p $RPM_BUILD_ROOT/etc/e-smith/db/yum_repositories/force/${REPO['reponame']}
81     #echo "${REPO['Exclude']}" >\
82     # $RPM_BUILD_ROOT/etc/e-smith/db/yum_repositories/force/${REPO['reponame']}/Exclude
83    
84    
85    
86     declare -A REPO
87    
88 jpp 1.4 function createrepo {
89 jpp 1.1 mkdir -p $RPM_BUILD_ROOT/etc/e-smith/db/yum_repositories/defaults/${REPO['reponame']}
90     echo "${REPO['EnableGroups']}" > $RPM_BUILD_ROOT/etc/e-smith/db/yum_repositories/defaults/${REPO['reponame']}/EnableGroups
91     echo "${REPO['GPGCheck']}" > $RPM_BUILD_ROOT/etc/e-smith/db/yum_repositories/defaults/${REPO['reponame']}/GPGCheck
92     echo "${REPO['fullreponame']}" > $RPM_BUILD_ROOT/etc/e-smith/db/yum_repositories/defaults/${REPO['reponame']}/Name
93     echo "${REPO['Visible']}" > $RPM_BUILD_ROOT/etc/e-smith/db/yum_repositories/defaults/${REPO['reponame']}/Visible
94     echo "${REPO['status']}" > $RPM_BUILD_ROOT/etc/e-smith/db/yum_repositories/defaults/${REPO['reponame']}/status
95     echo "repository" > $RPM_BUILD_ROOT/etc/e-smith/db/yum_repositories/defaults/${REPO['reponame']}/type
96     [[ "${REPO['BaseURL']}" != '' ]] && echo "${REPO['BaseURL']}" >\
97     $RPM_BUILD_ROOT/etc/e-smith/db/yum_repositories/defaults/${REPO['reponame']}/BaseURL
98     [[ "${REPO['GPGKey']}" != '' ]] && echo "${REPO['GPGKey']}" >\
99 jpp 1.4 $RPM_BUILD_ROOT/etc/e-smith/db/yum_repositories/defaults/${REPO['reponame']}/GPGKey
100     [[ "${REPO['MirrorList']}" != '' ]] && echo "${REPO['MirrorList']}" >\
101     $RPM_BUILD_ROOT/etc/e-smith/db/yum_repositories/defaults/${REPO['reponame']}/MirrorList
102 jpp 1.1 [[ "${REPO['Exclude']}" != '' ]] && echo "${REPO['Exclude']}" >\
103 jpp 1.4 $RPM_BUILD_ROOT/etc/e-smith/db/yum_repositories/defaults/${REPO['reponame']}/Exclude
104     [[ "${REPO['IncludePkgs']}" != '' ]] && echo "${REPO['IncludePkgs']}" >\
105     $RPM_BUILD_ROOT/etc/e-smith/db/yum_repositories/defaults/${REPO['reponame']}/IncludePkgs
106     return 0
107     }
108    
109    
110    
111 jpp 1.1 ######################
112     #####################
113     # asterisk 13 LTS
114     #####################
115     #####################
116     REPO['reponame']='asterisk-13'
117     REPO['fullreponame']='Asterisk-13 - EL'
118     REPO['EnableGroups']='yes'
119     REPO['GPGCheck']='no'
120     REPO['Visible']='no'
121     REPO['status']='disabled'
122 jpp 1.6 REPO['BaseURL']='http://packages.asterisk.org/centos/$releasever/asterisk-13/$basearch/'
123 jpp 1.1 REPO['MirrorList']=''
124     REPO['GPGKey']=''
125     REPO['Exclude']=''
126 jpp 1.4 REPO['IncludePkgs']=''
127     createrepo
128 jpp 1.1
129     ######################
130     #####################
131     # asterisk current
132     #####################
133     #####################
134     REPO['reponame']='asterisk-current'
135     REPO['fullreponame']='Asterisk-current - EL'
136     REPO['EnableGroups']='yes'
137     REPO['GPGCheck']='no'
138     REPO['Visible']='no'
139     REPO['status']='disabled'
140 jpp 1.18 REPO['BaseURL']='http://packages.asterisk.org/centos/$releasever/current/$basearch/'
141 jpp 1.1 REPO['MirrorList']=''
142     REPO['GPGKey']=''
143     REPO['Exclude']=''
144 jpp 1.4 REPO['IncludePkgs']=''
145     createrepo
146 jpp 1.1
147     #####################
148     #####################
149     # Digium Repo
150     #####################
151     #####################
152 jpp 1.19 REPO['reponame']='digium-current'
153 jpp 1.1 REPO['fullreponame']='Digium packages - EL'
154     REPO['EnableGroups']='no'
155     REPO['Visible']='no'
156     REPO['status']='disabled'
157 jpp 1.6 REPO['BaseURL']='http://packages.digium.com/centos/$releasever/current/$basearch/'
158 jpp 1.1 REPO['MirrorList']=''
159     REPO['GPGCheck']='no'
160     REPO['GPGKey']=''
161     REPO['Exclude']=''
162 jpp 1.4 REPO['IncludePkgs']=''
163     createrepo
164 jpp 1.1
165     #####################
166     #####################
167     # Digium 13
168     #####################
169     #####################
170     REPO['reponame']='digium-13'
171     REPO['fullreponame']='Digium-13 packages - EL'
172     REPO['EnableGroups']='no'
173     REPO['Visible']='no'
174     REPO['status']='disabled'
175 jpp 1.6 REPO['BaseURL']='http://packages.digium.com/centos/$releasever/digium-13/$basearch/'
176 jpp 1.1 REPO['MirrorList']=''
177     REPO['GPGCheck']='no'
178     REPO['GPGKey']=''
179     REPO['Exclude']=''
180 jpp 1.4 REPO['IncludePkgs']=''
181     createrepo
182 jpp 1.1
183     #####################
184     #####################
185     #atomic
186     #####################
187     #####################
188     REPO['reponame']='atomic'
189     REPO['fullreponame']='Atomic'
190     REPO['EnableGroups']='no'
191     REPO['Visible']='no'
192     REPO['status']='disabled'
193     REPO['BaseURL']=''
194 jpp 1.6 REPO['MirrorList']='http://www.atomicorp.com/mirrorlist/atomic/centos-$releasever-$basearch'
195 jpp 1.1 REPO['GPGCheck']='yes'
196     REPO['GPGKey']='https://www.atomicorp.com/RPM-GPG-KEY.art.txt'
197     REPO['Exclude']=''
198 jpp 1.4 REPO['IncludePkgs']=''
199     createrepo
200 jpp 1.1
201     #####################
202     #####################
203 jpp 1.5 #centos-sclo-centos
204     #####################
205     #####################
206     REPO['reponame']='centos-sclo-centos'
207     REPO['fullreponame']='Centos-RH Software collections'
208     REPO['EnableGroups']='no'
209     REPO['Visible']='yes'
210     REPO['status']='disabled'
211 jpp 1.6 REPO['BaseURL']='http://mirror.centos.org/centos/$releasever/sclo/$basearch/sclo/'
212 jpp 1.5 REPO['MirrorList']=''
213     REPO['GPGCheck']='yes'
214     REPO['GPGKey']='https://www.centos.org/keys/RPM-GPG-KEY-CentOS-SIG-SCLo'
215     REPO['Exclude']=''
216     REPO['IncludePkgs']=''
217     createrepo
218    
219     #####################
220     #####################
221 jpp 1.1 #centos-sclo-rh
222     #####################
223     #####################
224     REPO['reponame']='centos-sclo-rh'
225     REPO['fullreponame']='Centos-RH Software collections'
226     REPO['EnableGroups']='no'
227     REPO['Visible']='yes'
228     REPO['status']='disabled'
229 jpp 1.6 REPO['BaseURL']='http://mirror.centos.org/centos/$releasever/sclo/$basearch/rh/'
230 jpp 1.1 REPO['MirrorList']=''
231     REPO['GPGCheck']='yes'
232     REPO['GPGKey']='https://www.centos.org/keys/RPM-GPG-KEY-CentOS-SIG-SCLo'
233     REPO['Exclude']=''
234 jpp 1.4 REPO['IncludePkgs']=''
235     createrepo
236 jpp 1.1
237     #####################
238     #####################
239     #egroupware
240     #####################
241     #####################
242     REPO['reponame']='egroupware'
243     REPO['fullreponame']='server_eGroupWare'
244     REPO['EnableGroups']='no'
245     REPO['Visible']='yes'
246     REPO['status']='disabled'
247 jpp 1.6 REPO['BaseURL']='http://download.opensuse.org/repositories/server:/eGroupWare/CentOS_$releasever/'
248 jpp 1.1 REPO['MirrorList']=''
249     REPO['GPGCheck']='yes'
250 jpp 1.6 REPO['GPGKey']='http://download.opensuse.org/repositories/server:/eGroupWare/CentOS_$releasever/repodata/repomd.xml.key'
251 jpp 1.1 REPO['Exclude']=''
252 jpp 1.4 REPO['IncludePkgs']=''
253     createrepo
254 jpp 1.1
255 jpp 1.2 #####################
256     #####################
257     #elastic
258     #####################
259     #####################
260     declare -A elashort=( ['6.x']='6.x' ['5.x']='5.x' ['1.6']='1' )
261     for elasver in "6.x" "5.x" "1.6"; do
262     REPO['reponame']="elastic${elashort[$elasver]}"
263     REPO['fullreponame']="Elasticsearch repository for $elasver packages"
264     REPO['EnableGroups']='yes'
265     REPO['Visible']='yes'
266     REPO['status']='disabled'
267     REPO['BaseURL']="https://artifacts.elastic.co/packages/$elasver/yum"
268     REPO['MirrorList']=''
269     REPO['GPGCheck']='yes'
270     REPO['GPGKey']='https://artifacts.elastic.co/GPG-KEY-elasticsearch'
271     REPO['Exclude']=''
272 jpp 1.4 REPO['IncludePkgs']=''
273     createrepo
274 jpp 1.2 done
275    
276     #####################
277     #####################
278     #ELRepo
279     #####################
280     #####################
281     REPO['reponame']='elrepo'
282     REPO['fullreponame']='ELRepo.org Community Enterprise Linux Repository'
283     REPO['EnableGroups']='no'
284     REPO['Visible']='no'
285     REPO['status']='disabled'
286 jpp 1.6 REPO['BaseURL']='http://elrepo.org/linux/elrepo/el$releasever/$basearch'
287 jpp 1.9 REPO['MirrorList']='http://elrepo.org/mirrors-elrepo.el$releasever'
288 jpp 1.2 REPO['GPGCheck']='yes'
289     REPO['GPGKey']='http://elrepo.org/RPM-GPG-KEY-elrepo.org'
290     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'
291 jpp 1.4 REPO['IncludePkgs']=''
292     createrepo
293 jpp 1.2
294     #####################
295     #####################
296 jpp 1.9 #ELRepo kernel
297     #####################
298     #####################
299     REPO['reponame']='elrepo-kernel'
300     REPO['fullreponame']='ELRepo.org Community Enterprise Linux Repository Kernel'
301     REPO['EnableGroups']='no'
302     REPO['Visible']='no'
303     REPO['status']='disabled'
304     REPO['BaseURL']='http://elrepo.org/linux/kernel/el$releasever/$basearch'
305     REPO['MirrorList']='http://elrepo.org/mirrors-elrepo-kernel.el$releasever'
306     REPO['GPGCheck']='yes'
307     REPO['GPGKey']='http://elrepo.org/RPM-GPG-KEY-elrepo.org'
308     REPO['Exclude']=''
309     REPO['IncludePkgs']=''
310     createrepo
311    
312     #####################
313     #####################
314 jpp 1.2 #EPEL
315     #####################
316     #####################
317     REPO['reponame']='epel'
318     REPO['fullreponame']='EPEL'
319     REPO['EnableGroups']='no'
320     REPO['Visible']='no'
321     REPO['status']='disabled'
322 jpp 1.6 REPO['BaseURL']='http://download.fedoraproject.org/pub/epel/$releasever/$basearch'
323     REPO['MirrorList']='http://mirrors.fedoraproject.org/mirrorlist?repo=epel-$releasever&arch=$basearch'
324 jpp 1.2 REPO['GPGCheck']='yes'
325     REPO['GPGKey']='http://dl.fedoraproject.org/pub/epel/RPM-GPG-KEY-EPEL'
326     REPO['Exclude']='perl-Razor-Agent'
327 jpp 1.4 REPO['IncludePkgs']=''
328     createrepo
329 jpp 1.2
330 jpp 1.3 #####################
331     #####################
332     #erlang
333     #####################
334     #####################
335     REPO['reponame']='erlang'
336     REPO['fullreponame']='erlang programming language'
337     REPO['EnableGroups']='no'
338     REPO['Visible']='yes'
339     REPO['status']='disabled'
340 jpp 1.6 REPO['BaseURL']='http://packages.erlang-solutions.com/rpm/centos/$releasever/$basearch'
341 jpp 1.3 REPO['MirrorList']=''
342     REPO['GPGCheck']='yes'
343     REPO['GPGKey']='http://packages.erlang-solutions.com/rpm/erlang_solutions.asc'
344     REPO['Exclude']=''
345 jpp 1.4 REPO['IncludePkgs']=''
346     createrepo
347 jpp 1.3
348     #####################
349     #####################
350     #freeswitch
351     #####################
352     #####################
353     REPO['reponame']='freeswitch'
354     REPO['fullreponame']='Freeswitch'
355     REPO['EnableGroups']='no'
356     REPO['Visible']='yes'
357     REPO['status']='disabled'
358 jpp 1.6 REPO['BaseURL']='http://files.freeswitch.org/yum/$releasever/$basearch'
359 jpp 1.3 REPO['MirrorList']=''
360     REPO['GPGCheck']='yes'
361     REPO['GPGKey']='file:///etc/pki/rpm-gpg/RPM-GPG-KEY-FREESWITCH'
362     REPO['Exclude']=''
363 jpp 1.4 REPO['IncludePkgs']=''
364     createrepo
365    
366     #####################
367     #####################
368     #firewall Service
369     #####################
370     #####################
371     REPO['reponame']='fws'
372     REPO['fullreponame']='Firewall Services'
373     REPO['EnableGroups']='no'
374     REPO['Visible']='no'
375     REPO['status']='disabled'
376 jpp 1.6 REPO['BaseURL']='http://repo.firewall-services.com/centos/$releasever'
377 jpp 1.4 REPO['MirrorList']=''
378     REPO['GPGCheck']='yes'
379     REPO['GPGKey']='http://repo.firewall-services.com/RPM-GPG-KEY'
380     REPO['Exclude']=''
381     REPO['IncludePkgs']=''
382     createrepo
383    
384     #####################
385     #####################
386     #firewall Service testing
387     #####################
388     #####################
389     REPO['reponame']='fws-testing'
390     REPO['fullreponame']='Firewall Services testing'
391     REPO['EnableGroups']='no'
392     REPO['Visible']='no'
393     REPO['status']='disabled'
394 jpp 1.6 REPO['BaseURL']='http://repo.firewall-services.com/centos-testing/$releasever'
395 jpp 1.4 REPO['MirrorList']=''
396     REPO['GPGCheck']='yes'
397     REPO['GPGKey']='http://repo.firewall-services.com/RPM-GPG-KEY'
398     REPO['Exclude']=''
399     REPO['IncludePkgs']=''
400     createrepo
401    
402     #####################
403     #####################
404     # Geekery (last update 2016-09-25)
405     #####################
406     #####################
407     REPO['reponame']='geekery'
408     REPO['fullreponame']='geekery repository'
409     REPO['EnableGroups']='no'
410     REPO['Visible']='no'
411     REPO['status']='disabled'
412     REPO['BaseURL']=''
413 jpp 1.6 REPO['MirrorList']='http://geekery.epac.to/geekery/el$releasever-mirrors'
414 jpp 1.4 REPO['GPGCheck']='yes'
415     REPO['GPGKey']='http://geekery.altervista.org/download.php?filename=GEEKERY-GPG-KEY'
416     REPO['Exclude']=''
417     REPO['IncludePkgs']=''
418     createrepo
419    
420 jcrisp 1.11 #####################
421     #####################
422     # Libreswan
423     #####################
424     #####################
425     REPO['reponame']='libreswan'
426     REPO['fullreponame']='Libreswan'
427     REPO['EnableGroups']='no'
428     REPO['Visible']='no'
429     REPO['status']='disabled'
430     REPO['BaseURL']='http://download.libreswan.org/binaries/rhel/6/x86_64/'
431     REPO['MirrorList']=''
432     REPO['GPGCheck']='yes'
433     REPO['GPGKey']='http://download.libreswan.org/binaries/RPM-GPG-KEY-libreswan'
434     REPO['Exclude']=''
435     REPO['IncludePkgs']=''
436     createrepo
437    
438    
439 jpp 1.4 if ( "%{?dist}" == "el7" ); then
440     #####################
441     #####################
442     # Odoo10-nightly
443     #####################
444     #####################
445     REPO['reponame']='odoo10-nightly'
446     REPO['fullreponame']='Odoo 10 Nightly - EL7'
447     REPO['EnableGroups']='no'
448     REPO['Visible']='no'
449     REPO['status']='disabled'
450     REPO['BaseURL']='http://nightly.odoo.com/10.0/nightly/rpm/'
451     REPO['MirrorList']=''
452     REPO['GPGCheck']='yes'
453     REPO['GPGKey']='https://nightly.odoo.com/odoo.key'
454     REPO['Exclude']=''
455     REPO['IncludePkgs']=''
456     createrepo
457    
458     #####################
459     #####################
460     # Odoo9-nightly
461     #####################
462     #####################
463     REPO['reponame']='odoo9-nightly'
464     REPO['fullreponame']='Odoo 9 Nightly - EL7'
465     REPO['EnableGroups']='no'
466     REPO['Visible']='no'
467     REPO['status']='disabled'
468     REPO['BaseURL']='http://nightly.odoo.com/9.0/nightly/rpm/'
469     REPO['MirrorList']=''
470     REPO['GPGCheck']='yes'
471     REPO['GPGKey']='https://nightly.odoo.com/odoo.key'
472     REPO['Exclude']=''
473     REPO['IncludePkgs']=''
474     createrepo
475     fi
476    
477     #####################
478     #####################
479     # Okay
480     #####################
481     #####################
482     REPO['reponame']='okay'
483     REPO['fullreponame']='Extra OKay Packages for Enterprise Linux - Freeswitch and FusionPBX'
484     REPO['EnableGroups']='no'
485     REPO['Visible']='no'
486     REPO['status']='disabled'
487 jpp 1.6 REPO['BaseURL']='http://repo.okay.com.mx/centos/$releasever/$basearch/release'
488 jpp 1.4 REPO['MirrorList']=''
489     REPO['GPGCheck']='no'
490     REPO['GPGKey']=''
491     REPO['Exclude']=''
492     REPO['IncludePkgs']=''
493     createrepo
494    
495     #####################
496     #####################
497     # Openfusion
498     #####################
499     #####################
500     REPO['reponame']='openfusion'
501     REPO['fullreponame']='Openfusion'
502     REPO['EnableGroups']='no'
503     REPO['Visible']='yes'
504     REPO['status']='disabled'
505 jpp 1.6 REPO['BaseURL']='http://repo.openfusion.net/centos$releasever-$basearch'
506 jpp 1.4 REPO['MirrorList']=''
507     REPO['GPGCheck']='yes'
508     REPO['GPGKey']='http://repo.openfusion.net/RPM-GPG-KEY-openfusion'
509 jcrisp 1.21 REPO['Exclude']='daemontools,mod_auth_tkt,mod_perl,nmap,mutt,perl-Apache-AuthTkt,perl-Archive-Tar,perl-Authen-SASL,perl-B-Keywords,perl-BSD-Resource,perl-Class-Inspector,perl-Clone,perl-Compress-Raw-Bzip2,perl-Compress-Raw-Zlib,perl-Compress-Zlib,perl-Config-IniFiles,perl-Config-Tiny,perl-Convert-ASN1,perl-CPAN,perl-Crypt-OpenSSL-RSA,perl-Data-Validate-Domain,perl-Date-Manip,perl-DBD-MySQL,perl-DBD-SQLite,perl-Devel-StackTrace,perl-Digest-HMAC,perl-Digest-SHA,perl-Digest-SHA1,perl-Email-Address,perl-Email-Date-Format,perl-Email-MessageID,perl-Email-MIME-ContentType,perl-Email-MIME-Encodings,perl-Email-MIME,perl-Email-Simple,perl-Exception-Class,perl-Exporter-Tiny,Perl-ExtUtils-MakeMaker,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-Compress-Base,perl-IO-Compress-Base2,perl-IO-Compress-Zlib,perl-IO-Compress,perl-IO-Socket-INET6,perl-IO-Socket-IP,perl-IO-Socket-SSL,perl-IP-Country,perl-JSON,perl-libwww-perl,Perl-List-MoreUtils,perl-Mail-SPF,perl-MailTools,perl-MIME-Lite,perl-MIME-tools,perl-MIME-Types,perl-Module-Pluggable,perl-Mojolicious,perl-Moo,perl-Net-CIDR-Lite,perl-Net-DNS,perl-Net-Domain-TLD,perl-Net-IP,perl-Net-Server,perl-Net-SSLeay,perl-NetAddr-IP,perl-Number-Compare,perl-Params-Util,Perl-parent,perl-Perl-Critic,perl-Pod-Simple,perl-PPI,perl-Proc-ProcessTable,perl-Role-Tiny,perl-RPM2,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-version,perl-WWW-Curl,perl-XML-LibXML,perl-XML-NamespaceSupport,perl-XML-Parser,perl-XML-SAX,perl-YAML-Syck,tokyocabinet,urlview'
510 jpp 1.4 REPO['IncludePkgs']=''
511     createrepo
512    
513     #####################
514     #####################
515     # Reetspetit
516     #####################
517     #####################
518     REPO['reponame']='reetp'
519     REPO['fullreponame']='Mirror John Crisp reetspetit.com'
520     REPO['EnableGroups']='no'
521     REPO['Visible']='yes'
522     REPO['status']='disabled'
523 jcrisp 1.10 REPO['BaseURL']='https://www.reetspetit.com/smeserver/$releasever'
524 jpp 1.4 REPO['MirrorList']=''
525     REPO['GPGCheck']='no'
526 jcrisp 1.10 REPO['GPGKey']='https://www.reetspetit.com/RPM-GPG-KEY'
527 jpp 1.4 REPO['Exclude']=''
528     REPO['IncludePkgs']=''
529     createrepo
530    
531 jcrisp 1.11 #####################
532     #####################
533 jpp 1.4 #remi-safe
534 jcrisp 1.11 #####################
535     #####################
536 jpp 1.4 REPO['reponame']='remi-safe'
537     REPO['fullreponame']='Remi - safe'
538     REPO['EnableGroups']='no'
539     REPO['GPGCheck']='yes'
540     REPO['Visible']='yes'
541     REPO['status']='enabled'
542 jpp 1.6 REPO['BaseURL']='http://rpms.famillecollet.com/enterprise/$releasever/safe/$basearch/'
543 jpp 1.4 REPO['MirrorList']=''
544     REPO['GPGKey']='http://rpms.famillecollet.com/RPM-GPG-KEY-remi'
545     REPO['Exclude']=''
546     REPO['IncludePkgs']=''
547     createrepo
548    
549     #####################
550     #####################
551     #remi
552     #####################
553     #####################
554     REPO['reponame']='remi'
555     REPO['fullreponame']='Remi - EL unsafe, will conflict with your base rpms'
556     REPO['EnableGroups']='no'
557     REPO['GPGCheck']='yes'
558     REPO['Visible']='no'
559     REPO['status']='enabled'
560 jpp 1.6 REPO['BaseURL']='http://rpms.famillecollet.com/enterprise/$releasever/remi/$basearch/'
561 jpp 1.4 REPO['MirrorList']=''
562     REPO['GPGKey']='http://rpms.famillecollet.com/RPM-GPG-KEY-remi'
563     REPO['Exclude']='mysql*,php-*,phpMyAdmin'
564     REPO['IncludePkgs']=''
565     createrepo
566    
567     #####################
568     #####################
569     #remi-ocsinventory
570     #####################
571     #####################
572     REPO['reponame']='remi-ocsinventory'
573     REPO['fullreponame']='Remi ocsinventory - EL'
574     REPO['EnableGroups']='no'
575     REPO['GPGCheck']='yes'
576     REPO['Visible']='yes'
577     REPO['status']='enabled'
578 jpp 1.6 REPO['BaseURL']='http://rpms.famillecollet.com/enterprise/$releasever/remi/$basearch/'
579 jpp 1.4 REPO['MirrorList']=''
580     REPO['GPGKey']='http://rpms.famillecollet.com/RPM-GPG-KEY-remi'
581     REPO['Exclude']=''
582     REPO['IncludePkgs']='ocsinventory* perl-Ocsinventory-Agent'
583     createrepo
584    
585     #####################
586     #####################
587     #remi-ocsinventory
588     #####################
589     #####################
590     REPO['reponame']='remi-roundcube'
591     REPO['fullreponame']='Remi Roundcube - EL'
592     REPO['EnableGroups']='no'
593     REPO['GPGCheck']='yes'
594     REPO['Visible']='yes'
595     REPO['status']='enabled'
596 jpp 1.6 REPO['BaseURL']='http://rpms.famillecollet.com/enterprise/$releasever/remi/$basearch/'
597 jpp 1.4 REPO['MirrorList']=''
598     REPO['GPGKey']='http://rpms.famillecollet.com/RPM-GPG-KEY-remi'
599     REPO['Exclude']=''
600     REPO['IncludePkgs']='php-kolab-net-ldap3,php-pear-Mail-mimeDecode,php-pear-Net-IDNA2,php-pear-Net-LDAP2,roundcubemail'
601     createrepo
602    
603    
604     #####################
605     #####################
606     #rpmfusion
607     #####################
608     #####################
609     REPO['reponame']='rpmfusion'
610     REPO['fullreponame']='rpmfusion free EL'
611     REPO['EnableGroups']='no'
612     REPO['Visible']='yes'
613     REPO['status']='disabled'
614 jpp 1.6 REPO['BaseURL']='http://download1.rpmfusion.org/free/el/updates/$releasever/$basearch/'
615     REPO['MirrorList']='http://mirrors.rpmfusion.org/mirrorlist?repo=free-el-updates-released-$releasever&arch=$basearch'
616 jpp 1.4 REPO['GPGCheck']='yes'
617 jpp 1.6 REPO['GPGKey']='https://rpmfusion.org/keys?action=AttachFile&do=get&target=RPM-GPG-KEY-rpmfusion-free-el-$releasever'
618 jpp 1.4 REPO['Exclude']=''
619     REPO['IncludePkgs']=''
620     createrepo
621    
622     #####################
623     #####################
624     #rpmfusion
625     #####################
626     #####################
627     REPO['reponame']='rpmfusion-nonfree'
628     REPO['fullreponame']='rpmfusion nonfree EL'
629     REPO['EnableGroups']='no'
630     REPO['Visible']='yes'
631     REPO['status']='disabled'
632 jpp 1.6 REPO['BaseURL']='http://download1.rpmfusion.org/nonfree/el/updates/$releasever/$basearch/'
633     REPO['MirrorList']='http://mirrors.rpmfusion.org/mirrorlist?repo=nonfree-el-updates-released-$releasever&arch=$basearch'
634 jpp 1.4 REPO['GPGCheck']='yes'
635 jpp 1.6 REPO['GPGKey']='https://rpmfusion.org/keys?action=AttachFile&do=get&target=RPM-GPG-KEY-rpmfusion-nonfree-el-$releasever'
636 jpp 1.4 REPO['Exclude']=''
637     REPO['IncludePkgs']=''
638     createrepo
639 jpp 1.3
640 jpp 1.5 #####################
641     #####################
642     #Sogo nightly
643     #####################
644     #####################
645     REPO['reponame']='sogo'
646     REPO['fullreponame']='Inverse SOGo 2 Repository'
647     REPO['EnableGroups']='no'
648     REPO['Visible']='yes'
649     REPO['status']='disabled'
650 jpp 1.6 REPO['BaseURL']='http://packages.inverse.ca/SOGo/nightly/2/rhel/$releasever/$basearch'
651 jpp 1.5 REPO['MirrorList']=''
652     REPO['GPGCheck']='no'
653     REPO['GPGKey']=''
654     REPO['Exclude']=''
655     REPO['IncludePkgs']='gnustep-base,gnustep-make,libmemcached,libwbxml,sogo*,sope49*'
656     createrepo
657    
658     #####################
659     #####################
660     #Sogo3 nightly
661     #####################
662     #####################
663     REPO['reponame']='sogo3'
664     REPO['fullreponame']='Inverse SOGo 3 Repository'
665     REPO['EnableGroups']='no'
666     REPO['Visible']='yes'
667     REPO['status']='disabled'
668 jpp 1.6 REPO['BaseURL']='http://packages.inverse.ca/SOGo/nightly/3/rhel/$releasever/$basearch'
669 jpp 1.5 REPO['MirrorList']=''
670     REPO['GPGCheck']='no'
671     REPO['GPGKey']=''
672     REPO['Exclude']=''
673     REPO['IncludePkgs']='gnustep-base,gnustep-make,libmemcached,libwbxml,sogo*,sope49*'
674     createrepo
675    
676     #####################
677     #####################
678 jpp 1.8 #Sogo4 nightly
679 jpp 1.7 #####################
680     #####################
681     REPO['reponame']='sogo4'
682     REPO['fullreponame']='Inverse SOGo 4 Repository'
683     REPO['EnableGroups']='no'
684     REPO['Visible']='yes'
685     REPO['status']='disabled'
686     REPO['BaseURL']='http://packages.inverse.ca/SOGo/nightly/4/rhel/$releasever/$basearch'
687     REPO['MirrorList']=''
688     REPO['GPGCheck']='no'
689     REPO['GPGKey']=''
690     REPO['Exclude']=''
691     REPO['IncludePkgs']='gnustep-base,gnustep-make,libmemcached,libwbxml,sogo*,sope49*'
692     createrepo
693    
694     #####################
695     #####################
696 jpp 1.5 #Sogo stable
697     #####################
698     #####################
699     REPO['reponame']='sogo-subscription'
700     REPO['fullreponame']='Inverse SOGo Repository only with subscription'
701     REPO['EnableGroups']='no'
702     REPO['Visible']='yes'
703     REPO['status']='disabled'
704 jpp 1.6 REPO['BaseURL']='http://packages.inverse.ca/download/SOGo/RHEL$releasever/$basearch'
705 jpp 1.5 REPO['MirrorList']=''
706     REPO['GPGCheck']='no'
707     REPO['GPGKey']=''
708     REPO['Exclude']=''
709     REPO['IncludePkgs']='gnustep-base,gnustep-make,libmemcached,libwbxml,sogo*,sope49*'
710     createrepo
711    
712     #####################
713     #####################
714     #Spectrum2
715     #####################
716     #####################
717     REPO['reponame']='spectrum2'
718     REPO['fullreponame']='Spectrum2'
719     REPO['EnableGroups']='no'
720     REPO['Visible']='yes'
721     REPO['status']='disabled'
722 jpp 1.6 REPO['BaseURL']='http://copr-be.cloud.fedoraproject.org/results/mcepl/spectrum2/epel-$releasever-$basearch'
723 jpp 1.5 REPO['MirrorList']=''
724     REPO['GPGCheck']='no'
725     REPO['GPGKey']=''
726     REPO['Exclude']=''
727     REPO['IncludePkgs']=''
728     createrepo
729    
730     #####################
731     #####################
732     #stephDL
733     #####################
734     #####################
735     REPO['reponame']='stephdl'
736     REPO['fullreponame']='Mirror Stephane de Labrusse'
737     REPO['EnableGroups']='no'
738     REPO['Visible']='yes'
739     REPO['status']='disabled'
740 jpp 1.6 REPO['BaseURL']='http://mirror.de-labrusse.fr/smeserver/$releasever'
741 jpp 1.5 REPO['MirrorList']=''
742     REPO['GPGCheck']='yes'
743     REPO['GPGKey']='http://mirror.de-labrusse.fr/RPM-GPG-KEY'
744     REPO['Exclude']=''
745     REPO['IncludePkgs']=''
746     createrepo
747    
748     #####################
749     #####################
750     #VirtualBox
751     #####################
752     #####################
753     REPO['reponame']='virtualbox'
754     REPO['fullreponame']='RHEL/CentOS VirtualBox'
755     REPO['EnableGroups']='no'
756     REPO['Visible']='yes'
757     REPO['status']='disabled'
758 jpp 1.6 REPO['BaseURL']='http://download.virtualbox.org/virtualbox/rpm/el/$releasever/$basearch'
759 jpp 1.5 REPO['MirrorList']=''
760     REPO['GPGCheck']='yes'
761     REPO['GPGKey']='https://www.virtualbox.org/download/oracle_vbox.asc'
762     REPO['Exclude']=''
763     REPO['IncludePkgs']=''
764     createrepo
765    
766     #####################
767     #####################
768     #Webtatic
769     #####################
770     #####################
771     REPO['reponame']='webtatic'
772     REPO['fullreponame']='webtatic - EL'
773     REPO['EnableGroups']='no'
774     REPO['Visible']='yes'
775     REPO['status']='disabled'
776     REPO['BaseURL']=''
777 jpp 1.6 REPO['MirrorList']='http://mirror.webtatic.com/yum/el-$releasever/$basearch/mirrolist'
778 jpp 1.5 REPO['GPGCheck']='yes'
779     if ( "%{?dist}" == "el5" ); then
780     REPO['GPGKey']='http://repo.webtatic.com/yum/RPM-GPG-KEY-webtatic-andy'
781     else
782     REPO['GPGKey']="http://repo.webtatic.com/yum/RPM-GPG-KEY-webtatic-%{?dist}"
783     fi
784     REPO['Exclude']=''
785     REPO['IncludePkgs']=''
786     createrepo
787    
788     #####################
789     #####################
790     #Xymon
791     #####################
792     #####################
793     REPO['reponame']='xymon'
794     REPO['fullreponame']='Xymon Terabithia RPMS - EL'
795     REPO['EnableGroups']='no'
796     REPO['Visible']='yes'
797     REPO['status']='disabled'
798 jpp 1.6 REPO['BaseURL']='http://terabithia.org/rpms/xymon/el$releasever/'
799 jpp 1.5 REPO['MirrorList']=''
800     REPO['GPGCheck']='yes'
801     REPO['GPGKey']="http://terabithia.org/rpms/RPM-GPG-KEY-JCLEAVER"
802     REPO['Exclude']=''
803     REPO['IncludePkgs']=''
804     createrepo
805    
806     #####################
807     #####################
808     #Zabbix2.4
809     #####################
810     #####################
811     declare -A zabshort=( ['2.4']='24' ['2.5']='25' ['3.0']='30' ['3.1']='31' ['3.2']='32' ['3.4']='35' ['3.5']='35')
812     for elasver in "2.4" "2.5" "3.0"; do
813     REPO['reponame']="zabbix${zabshort[$elasver]}"
814     REPO['fullreponame']="Zabbix $elasver Official Repository"
815     REPO['EnableGroups']='no'
816     REPO['Visible']='yes'
817     REPO['status']='disabled'
818 jpp 1.6 REPO['BaseURL']="http://repo.zabbix.com/zabbix/$elasver/rhel/\$releasever/\$basearch/"
819 jpp 1.5 REPO['MirrorList']=''
820     REPO['GPGCheck']='yes'
821     REPO['GPGKey']="http://repo.zabbix.com/RPM-GPG-KEY-ZABBIX"
822     REPO['Exclude']=''
823     REPO['IncludePkgs']=''
824     createrepo
825     done
826 jpp 1.3
827 jpp 1.5 #####################
828     #####################
829     #zmrepo
830     #####################
831     #####################
832     REPO['reponame']='zmrepo'
833     REPO['fullreponame']='ZoneMinder Repo - EL'
834     REPO['EnableGroups']='no'
835     REPO['Visible']='yes'
836     REPO['status']='disabled'
837 jpp 1.12 REPO['BaseURL']='http://zmrepo.zoneminder.com/el/$releasever/$basearch'
838 jpp 1.5 REPO['MirrorList']=''
839     REPO['GPGCheck']='no'
840     REPO['GPGKey']=""
841 jpp 1.17 REPO['Exclude']=''
842 jpp 1.5 REPO['IncludePkgs']=''
843     createrepo
844 jpp 1.2
845    
846 jpp 1.8 #####################################################
847     # migrates
848     ######################################################
849     mkdir -p $RPM_BUILD_ROOT/etc/e-smith/db/yum_repositories/migrate
850     cat << 'EOF' >$RPM_BUILD_ROOT/etc/e-smith/db/yum_repositories/migrate/90sogo
851     {
852     my @add = split(/[,; ]+/, 'gnustep-*');
853     my %remove = map { $_ => 1 } split(/[,; ]+/, '');
854    
855     for my $name ( qw(epel) )
856     {
857     my $repo = $DB->get($name) or next;
858    
859     my @exclude = split(/,/, $repo->prop('Exclude') || '');
860     push @exclude, @add;
861     @exclude = grep(!defined $remove{$_} && !/^CENTOS_/, @exclude);
862    
863     # remove duplicates
864     undef %saw;
865     @exclude = grep(!$saw{$_}++, @exclude);
866    
867     if ($#exclude >= 0)
868     {
869     $repo->set_prop('Exclude', join(',', @exclude));
870     }
871     else
872     {
873     $repo->delete('Exclude');
874     }
875     }
876     }
877    
878     EOF
879    
880    
881     cat << 'EOF' >$RPM_BUILD_ROOT/etc/e-smith/db/yum_repositories/migrate/10epel
882     {
883     my @add = split(/[,; ]+/, '');
884     my %remove = map { $_ => 1 } split(/[,; ]+/, 'gnustep-*,gnustep*,gnustep-base,gnustep-make');
885    
886     for my $name ( qw(epel) )
887     {
888     my $repo = $DB->get($name) or next;
889    
890     my @exclude = split(/,/, $repo->prop('Exclude') || '');
891     push @exclude, @add;
892     @exclude = grep(!defined $remove{$_} && !/^CENTOS_/, @exclude);
893    
894     # remove duplicates
895     undef %saw;
896     @exclude = grep(!$saw{$_}++, @exclude);
897    
898     if ($#exclude >= 0)
899     {
900     $repo->set_prop('Exclude', join(',', @exclude));
901     }
902     else
903     {
904     $repo->delete('Exclude');
905     }
906     }
907     }
908    
909     EOF
910    
911 jpp 1.14 cat << 'EOF' >$RPM_BUILD_ROOT/etc/e-smith/db/yum_repositories/migrate/10zmrepo
912 jpp 1.12 {
913     for my $name ( qw(zmrepo) )
914     {
915     my $repo = $DB->get($name) or next;
916     my $BaseURL = $repo->prop('BaseURL') || '';
917 jpp 1.18 $BaseURL =~ s/zmrepo.mehvc.com/zmrepo.zoneminder.com/g;
918     $repo->set_prop('BaseURL', $BaseURL);
919     $repo->delete('Exclude');
920 jpp 1.12 }
921    
922     }
923 jpp 1.8
924 jpp 1.12 EOF
925 jpp 1.8
926 jpp 1.18 cat << 'EOF' >$RPM_BUILD_ROOT/etc/e-smith/db/yum_repositories/migrate/10asterisk
927     {
928     for my $name ( qw(asterisk-current) )
929     {
930     my $repo = $DB->get($name) or next;
931     my $BaseURL = $repo->prop('BaseURL') || '';
932     $BaseURL =~ s/centos\$/centos\/\$/g;
933     $repo->set_prop('BaseURL', $BaseURL);
934     }
935    
936     }
937    
938     EOF
939 jpp 1.8
940    
941    
942 jpp 1.14
943 jpp 1.8 ##########################################################
944    
945 jpp 1.2 rm -f %{name}-%{version}-filelist*
946     /sbin/e-smith/genfilelist $RPM_BUILD_ROOT > %{name}-%{version}-filelist
947 jpp 1.5 cat %{name}-%{version}-filelist| grep atomic > %{name}-%{version}-filelist-atomic
948     cat %{name}-%{version}-filelist| grep centos-sclo > %{name}-%{version}-filelist-centos-sclo
949 jpp 1.2 cat %{name}-%{version}-filelist| egrep 'digium|asterisk' > %{name}-%{version}-filelist-asterisk
950     cat %{name}-%{version}-filelist| grep egroupware > %{name}-%{version}-filelist-egroupware
951     cat %{name}-%{version}-filelist| grep elastic > %{name}-%{version}-filelist-elastic
952     cat %{name}-%{version}-filelist| grep elrepo > %{name}-%{version}-filelist-elrepo
953     cat %{name}-%{version}-filelist| grep epel > %{name}-%{version}-filelist-epel
954 jpp 1.3 cat %{name}-%{version}-filelist| grep erlang > %{name}-%{version}-filelist-erlang
955 jpp 1.4 cat %{name}-%{version}-filelist| grep freeswitch > %{name}-%{version}-filelist-freeswitch
956     cat %{name}-%{version}-filelist| grep fws > %{name}-%{version}-filelist-fws
957     cat %{name}-%{version}-filelist| grep geekery > %{name}-%{version}-filelist-geekery
958 jcrisp 1.11 cat %{name}-%{version}-filelist| grep libreswan > %{name}-%{version}-filelist-libreswan
959 jpp 1.4 if ( "%{?dist}" == "el7" ); then
960     cat %{name}-%{version}-filelist| grep odoo > %{name}-%{version}-filelist-odoo
961     fi
962     cat %{name}-%{version}-filelist| grep okay > %{name}-%{version}-filelist-okay
963     cat %{name}-%{version}-filelist| grep openfusion > %{name}-%{version}-filelist-openfusion
964     cat %{name}-%{version}-filelist| grep reetp > %{name}-%{version}-filelist-reetp
965     cat %{name}-%{version}-filelist| grep remi-safe > %{name}-%{version}-filelist-remi-safe
966     cat %{name}-%{version}-filelist| grep remi-ocsinventory > %{name}-%{version}-filelist-remi-ocsinventory
967     cat %{name}-%{version}-filelist| grep remi-roundcube > %{name}-%{version}-filelist-remi-roundcube
968     cat %{name}-%{version}-filelist| grep remi|egrep -v 'safe|ocsinventory|roundcube' > %{name}-%{version}-filelist-remi
969     cat %{name}-%{version}-filelist| grep rpmfusion > %{name}-%{version}-filelist-rpmfusion
970 jpp 1.5 cat %{name}-%{version}-filelist| grep sogo > %{name}-%{version}-filelist-sogo
971     cat %{name}-%{version}-filelist| grep spectrum2 > %{name}-%{version}-filelist-spectrum2
972     cat %{name}-%{version}-filelist| grep stephdl > %{name}-%{version}-filelist-stephdl
973     cat %{name}-%{version}-filelist| grep virtualbox > %{name}-%{version}-filelist-virtualbox
974     cat %{name}-%{version}-filelist| grep webtatic > %{name}-%{version}-filelist-webtatic
975     cat %{name}-%{version}-filelist| grep xymon > %{name}-%{version}-filelist-xymon
976     cat %{name}-%{version}-filelist| grep zabbix > %{name}-%{version}-filelist-zabbix
977     cat %{name}-%{version}-filelist| grep zmrepo > %{name}-%{version}-filelist-zmrepo
978 jpp 1.1
979     %clean
980     cd ..
981     rm -rf %{name}-%{version}
982    
983 jpp 1.5
984     #%files -f %{name}-%{version}-filelist
985     %files
986 jpp 1.1 %defattr(-,root,root)
987    
988     %pre
989    
990     %preun
991    
992     %post
993    
994     %postun
995     case "$1" in
996    
997     0)
998     # this is an uninstallation
999     ;;
1000    
1001     1)
1002     # this is an upgrade
1003     ;;
1004     esac
1005 jpp 1.5 %package atomic
1006     Summary: Atomic Repository
1007     %description atomic
1008     Atomic Repository
1009     %files atomic -f %{name}-%{version}-filelist-atomic
1010     %defattr(-,root,root)
1011 jpp 1.2
1012 jpp 1.5 %package centos-sclo
1013 jpp 1.4 Summary: CentOS Red-Hat software collection repository
1014 jpp 1.5 %description centos-sclo
1015     CentOS Red-Hat software collection repository only for x86_64 arch
1016     %files centos-sclo -f %{name}-%{version}-filelist-centos-sclo
1017 jpp 1.2 %defattr(-,root,root)
1018    
1019     %package asterisk
1020     Summary: All repositories you need for Asterisk and FreePBX
1021     %description asterisk
1022     All repositories you need for Asterisk and FreePBX
1023     %files asterisk -f %{name}-%{version}-filelist-asterisk
1024     %defattr(-,root,root)
1025    
1026     %package egroupware
1027     Summary: Repository for eGroupWare
1028     %description egroupware
1029     Repository for eGroupWare
1030     %files egroupware -f %{name}-%{version}-filelist-egroupware
1031     %defattr(-,root,root)
1032    
1033     %package elastic
1034     Summary: Repositories for elastic search
1035     %description elastic
1036     Repositories for elastic search
1037     %files elastic -f %{name}-%{version}-filelist-elastic
1038     %defattr(-,root,root)
1039    
1040     %package elrepo
1041     Summary: ElRepo.org Community Enterprise Linux Repository
1042     %description elrepo
1043     ElRepo.org Community Enterprise Linux Repository
1044     %files elrepo -f %{name}-%{version}-filelist-elrepo
1045     %defattr(-,root,root)
1046    
1047     %package epel
1048     Summary: Fedora EPEL Repository
1049     %description epel
1050     Fedora EPEL Repository
1051     %files epel -f %{name}-%{version}-filelist-epel
1052     %defattr(-,root,root)
1053    
1054 jpp 1.3 %package erlang
1055     Summary: Erlang Repository
1056     %description erlang
1057     Erlang is a programming language. It is specifically used for ejabberd.
1058     %files erlang -f %{name}-%{version}-filelist-erlang
1059     %defattr(-,root,root)
1060    
1061     %package freeswitch
1062     Summary: Freeswitch Repository
1063     %description freeswitch
1064     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
1065     %files freeswitch -f %{name}-%{version}-filelist-freeswitch
1066     %defattr(-,root,root)
1067    
1068 jpp 1.4 %package fws
1069     Summary: Firewall Services repository
1070     %description fws
1071     Firewall Services repository
1072     %files fws -f %{name}-%{version}-filelist-fws
1073     %defattr(-,root,root)
1074    
1075     %package geekery
1076     Summary: Geekery Repository
1077     %description geekery
1078     Geekery Repository
1079     %files geekery -f %{name}-%{version}-filelist-geekery
1080     %defattr(-,root,root)
1081    
1082 jcrisp 1.11 %package libreswan
1083     Summary: Libreswan Repository
1084     %description libreswan
1085     Geekery Repository
1086     %files libreswan -f %{name}-%{version}-filelist-libreswan
1087     %defattr(-,root,root)
1088    
1089 jpp 1.4 %package odoo
1090     Summary: Odoo 10 Nightly - EL7 Repository
1091     Distribution: el7
1092     %description odoo
1093     Odoo 10 Nightly - EL7 Repository
1094     # comment as not available for centos 6 SME9
1095     #%files odoo -f %{name}-%{version}-filelist-odoo
1096     #%defattr(-,root,root)
1097    
1098     %package okay
1099     Summary: Extra OKay Packages for Enterprise Linux
1100     %description okay
1101     Extra OKay Packages for Enterprise Linux - Freeswitch and FusionPBX
1102     %files okay -f %{name}-%{version}-filelist-okay
1103     %defattr(-,root,root)
1104    
1105     %package openfusion
1106     Summary: Openfusion Repository
1107     %description openfusion
1108     Openfusion Repository
1109     %files openfusion -f %{name}-%{version}-filelist-openfusion
1110     %defattr(-,root,root)
1111    
1112     %package reetp
1113     Summary: Mirror John Crisp reetspetit.com
1114     %description reetp
1115     Mirror John Crisp reetspetit.com
1116     %files reetp -f %{name}-%{version}-filelist-reetp
1117     %defattr(-,root,root)
1118    
1119     %package remi-safe
1120     Summary: Remi safe repository
1121     %description remi-safe
1122     Remi safe repository
1123     %files remi-safe -f %{name}-%{version}-filelist-remi-safe
1124     %defattr(-,root,root)
1125    
1126     %package remi-ocsinventory
1127     Summary: Remi repository filtered to install OCSinventory
1128     %description remi-ocsinventory
1129     Remi repository filtered to install OCSinventory
1130     %files remi-ocsinventory -f %{name}-%{version}-filelist-remi-ocsinventory
1131     %defattr(-,root,root)
1132    
1133     %package remi-roundcube
1134     Summary: Remi repository filtered to install Roundcube
1135     %description remi-roundcube
1136     Remi repository filtered to install Roundcube
1137     %files remi-roundcube -f %{name}-%{version}-filelist-remi-roundcube
1138     %defattr(-,root,root)
1139    
1140     %package remi-unsafe
1141     Summary: Remi unsafe repository
1142     %description remi-unsafe
1143     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.
1144     %files remi-unsafe -f %{name}-%{version}-filelist-remi
1145     %defattr(-,root,root)
1146    
1147     %package rpmfusion
1148     Summary: RPMFusion repositories
1149     %description rpmfusion
1150     RPMFusion repositories
1151     %files rpmfusion -f %{name}-%{version}-filelist-rpmfusion
1152     %defattr(-,root,root)
1153 jpp 1.2
1154 jpp 1.5 %package sogo
1155     Summary: SOGo repositories
1156     %description sogo
1157     SOGo repositories
1158     %files sogo -f %{name}-%{version}-filelist-sogo
1159     %defattr(-,root,root)
1160    
1161     %package spectrum2
1162     Summary: Spectrum2 Repository
1163     %description spectrum2
1164     Spectrum2 Repository
1165     %files spectrum2 -f %{name}-%{version}-filelist-spectrum2
1166     %defattr(-,root,root)
1167    
1168     %package stephdl
1169     Summary: Stephane De Labrusse Repository
1170     %description stephdl
1171     Stephane De Labrusse Repository
1172     %files stephdl -f %{name}-%{version}-filelist-stephdl
1173     %defattr(-,root,root)
1174    
1175     %package virtualbox
1176     Summary: Virtualbox Repository
1177     %description virtualbox
1178     Virtualbox Repository
1179     %files virtualbox -f %{name}-%{version}-filelist-virtualbox
1180     %defattr(-,root,root)
1181    
1182     %package webtatic
1183     Summary: Webtatic Repository
1184     %description webtatic
1185     Webtatic Repository
1186     %files webtatic -f %{name}-%{version}-filelist-webtatic
1187     %defattr(-,root,root)
1188    
1189     %package xymon
1190     Summary: Xymon Terabithia Repository
1191     %description xymon
1192     Xymon Terabithia Repository
1193     %files xymon -f %{name}-%{version}-filelist-xymon
1194     %defattr(-,root,root)
1195    
1196     %package zabbix
1197     Summary: Zabbix official Repository
1198     %description zabbix
1199     Zabbix official Repository
1200     %files zabbix -f %{name}-%{version}-filelist-zabbix
1201     %defattr(-,root,root)
1202    
1203     %package zmrepo
1204     Summary: Zone Minder Repository
1205     %description zmrepo
1206     Zone Minder Repository
1207     %files zmrepo -f %{name}-%{version}-filelist-zmrepo
1208     %defattr(-,root,root)
1209    
1210    
1211    

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