/[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.23 - (hide annotations) (download)
Fri Jan 4 17:23:28 2019 UTC (5 years, 9 months ago) by jcrisp
Branch: MAIN
CVS Tags: smeserver-extrarepositories-0_1-18
Changes since 1.22: +6 -3 lines
* Fri Jan 04 2019 John Crisp <jcrisp@safeandsoundit.co.uk> 0.1-18.sme
- remove perl-version from pkg lists

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

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