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

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

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


Revision 1.24 - (show annotations) (download)
Sat Jan 5 03:54:38 2019 UTC (5 years, 10 months ago) by jpp
Branch: MAIN
CVS Tags: smeserver-extrarepositories-0_1-19
Changes since 1.23: +59 -6 lines
* Fri Jan 04 2019 Jean-Philipe Pialasse <tests@pialasse.com> 0.1-19.sme
- improve zmrepo migrate fragment to avoid action if not needed.
- migrate fragment for openfusion

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

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