/[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.22 - (hide annotations) (download)
Fri Jan 4 15:47:57 2019 UTC (5 years, 10 months ago) by jcrisp
Branch: MAIN
CVS Tags: smeserver-extrarepositories-0_1-17
Changes since 1.21: +9 -5 lines
* Fri Jan 04 2019 John Crisp <jcrisp@safeandsoundit.co.uk> 0.1-17.sme
- revised Include and Exclude to prevident accidental update
- updated incorrect changelog dates

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

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