5 License: New BSD License
6 Group: Development/Languages/PHP
7 Source0: http://ezcomponents.org/files/downloads/%{name}-%{version}.tar.bz2
8 # Source0-md5: 57b211e2e85670633ebb165e14742f95
9 URL: http://www.ezcomponents.org/
10 BuildRequires: php-common >= 4:5.2.1
11 BuildRequires: rpm-php-pearprov >= 4.4.2-11
12 BuildRequires: rpmbuild(macros) >= 1.461
14 BuildRoot: %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
16 %define _appdir %{php_data_dir}/%{name}
18 # fool adapter: allow version macro in url
19 %define docver %{version}
22 eZ Components is an enterprise ready general purpose PHP components
23 library used independently or together for PHP application
24 development. With eZ Components, developers do not have to reinvent
25 the wheel, instead they can concentrate on solving customer-specific
30 Group: Development/Languages/PHP
31 URL: http://www.ezcomponents.org/docs/api/%{docver}/classtrees_Archive.html
32 Requires: %{name} = %{version}-%{release}
35 The component allows you to create, modify, and extract archive files
36 of various formats. The currently supported archives formats are Tar
37 (with the flavours: ustar, v7, pax, and gnu) and Zip.
39 %package Authentication
40 Summary: Authentication
41 Group: Development/Languages/PHP
42 URL: http://www.ezcomponents.org/docs/api/%{docver}/classtrees_Authentication.html
43 Requires: %{name} = %{version}-%{release}
45 %description Authentication
46 The purpose of the Authentication component is to provide support for
47 different means of identification and authentication of users using
48 different providers and protocols.
50 %package AuthenticationDatabaseTiein
51 Summary: AuthenticationDatabaseTiein
52 Group: Development/Languages/PHP
53 URL: http://www.ezcomponents.org/docs/api/%{docver}/classtrees_AuthenticationDatabaseTiein.html
54 Requires: %{name} = %{version}-%{release}
56 %description AuthenticationDatabaseTiein
57 The purpose of the Authentication component is to provide support for
58 different means of identification and authentication of users using
59 different providers and protocols.
63 Group: Development/Languages/PHP
64 URL: http://www.ezcomponents.org/docs/api/%{docver}/classtrees_Base.html
65 Requires: %{name} = %{version}-%{release}
68 The Base package provides the basic infrastructure that all packages
69 rely on. Therefore every component relies on this package.
73 Group: Development/Languages/PHP
74 URL: http://www.ezcomponents.org/docs/api/%{docver}/classtrees_Cache.html
75 Requires: %{name} = %{version}-%{release}
78 A solution for caching, supporting multiple backends allowing you to
79 specify the best performing solution for your caching-problem.
81 %package Configuration
82 Summary: Configuration
83 Group: Development/Languages/PHP
84 URL: http://www.ezcomponents.org/docs/api/%{docver}/classtrees_Configuration.html
85 Requires: %{name} = %{version}-%{release}
87 %description Configuration
88 A component that allows you to use configuration files in different
89 formats. The formats include the standard .ini file, and an array
94 Group: Development/Languages/PHP
95 URL: http://www.ezcomponents.org/docs/api/%{docver}/classtrees_ConsoleTools.html
96 Requires: %{name} = %{version}-%{release}
98 %description ConsoleTools
99 A set of classes to do different actions with the console (also called
100 shell). It can render a progress bar, tables and a status bar and
101 contains a class for parsing command line options.
105 Group: Development/Languages/PHP
106 URL: http://www.ezcomponents.org/docs/api/%{docver}/classtrees_Database.html
107 Requires: %{name} = %{version}-%{release}
109 %description Database
110 A lightweight database layer on top of PHP's PDO that allows you to
111 utilize a database without having to take care of differences in SQL
114 %package DatabaseSchema
115 Summary: DatabaseSchema
116 Group: Development/Languages/PHP
117 URL: http://www.ezcomponents.org/docs/api/%{docver}/classtrees_DatabaseSchema.html
118 Requires: %{name} = %{version}-%{release}
120 %description DatabaseSchema
121 A set of classes that allow you to extract information from a database
122 schema, compare database schemas and apply a set of changes to a
127 Group: Development/Languages/PHP
128 URL: http://www.ezcomponents.org/docs/api/%{docver}/classtrees_Debug.html
129 Requires: %{name} = %{version}-%{release}
132 This component provides a set of classes that help you to debug an
133 application. It provides timers and report generators for different
134 formats that give a summary of warnings and errors that occurred
135 within your application.
139 Group: Development/Languages/PHP
140 URL: http://www.ezcomponents.org/docs/api/%{docver}/classtrees_Document.html
141 Requires: %{name} = %{version}-%{release}
143 %description Document
144 The Document components provides a general conversion framework for
145 different semantic document markup languages like XHTML, Docbook, RST
150 Group: Development/Languages/PHP
151 URL: http://www.ezcomponents.org/docs/api/%{docver}/classtrees_EventLog.html
152 Requires: %{name} = %{version}-%{release}
154 %description EventLog
155 Allows you to log events or audit trails into files or other storage
156 spaces in different formats.
158 %package EventLogDatabaseTiein
159 Summary: EventLogDatabaseTiein
160 Group: Development/Languages/PHP
161 URL: http://www.ezcomponents.org/docs/api/%{docver}/classtrees_EventLogDatabaseTiein.html
162 Requires: %{name} = %{version}-%{release}
164 %description EventLogDatabaseTiein
165 Contains the database writer backend for the EventLog component.
169 Group: Development/Languages/PHP
170 URL: http://www.ezcomponents.org/docs/api/%{docver}/classtrees_Execution.html
171 Requires: %{name} = %{version}-%{release}
173 %description Execution
174 Provides functionality to give feedback to your application's users
175 when a fatal error happened or an uncaught exception was thrown.
179 Group: Development/Languages/PHP
180 URL: http://www.ezcomponents.org/docs/api/%{docver}/classtrees_Feed.html
181 Requires: %{name} = %{version}-%{release}
184 This component handles parsing and creating RSS1, RSS2 and ATOM feeds,
185 with support for different feed modules (dc, content, creativeCommons,
190 Group: Development/Languages/PHP
191 URL: http://www.ezcomponents.org/docs/api/%{docver}/classtrees_File.html
192 Requires: %{name} = %{version}-%{release}
195 Provides support for file operations which are not covered by PHP or
200 Group: Development/Languages/PHP
201 URL: http://www.ezcomponents.org/docs/api/%{docver}/classtrees_Graph.html
202 Requires: %{name} = %{version}-%{release}
205 A component for creating pie charts, line graphs and other kinds of
208 %package GraphDatabaseTiein
209 Summary: GraphDatabaseTiein
210 Group: Development/Languages/PHP
211 URL: http://www.ezcomponents.org/docs/api/%{docver}/classtrees_GraphDatabaseTiein.html
212 Requires: %{name} = %{version}-%{release}
214 %description GraphDatabaseTiein
215 The GraphDatabaseTiein provides functionality to directly use PDO
216 statements as basis for ezcGraph Datasets.
218 %package ImageAnalysis
219 Summary: ImageAnalysis
220 Group: Development/Languages/PHP
221 URL: http://www.ezcomponents.org/docs/api/%{docver}/classtrees_ImageAnalysis.html
222 Requires: %{name} = %{version}-%{release}
224 %description ImageAnalysis
225 This class allows you to analyse image files in different ways. At
226 least the MIME type of the file is returned. In some cases (JPEG, TIFF
227 and GIF) additional information is gathered as well.
229 %package ImageConversion
230 Summary: ImageConversion
231 Group: Development/Languages/PHP
232 URL: http://www.ezcomponents.org/docs/api/%{docver}/classtrees_ImageConversion.html
233 Requires: %{name} = %{version}-%{release}
235 %description ImageConversion
236 A set of classes to apply different filters on images, such as colour
237 changes, resizing and special effects.
241 Group: Development/Languages/PHP
242 URL: http://www.ezcomponents.org/docs/api/%{docver}/classtrees_Mail.html
243 Requires: %{name} = %{version}-%{release}
246 The component allows you construct and/or parse Mail messages
247 conforming to the mail standard. It has support for attachments,
248 multipart messages and HTML mail. It also interfaces with SMTP to send
249 mail or IMAP, POP3 or mbox to retrieve e-mail.
251 %package MvcMailTiein
252 Summary: MvcMailTiein
253 Group: Development/Languages/PHP
254 URL: http://www.ezcomponents.org/docs/api/%{docver}/classtrees_MvcMailTiein.html
255 Requires: %{name} = %{version}-%{release}
257 %description MvcMailTiein
258 This component provides a request parser that extracts request data
259 from e-mail messages.
261 %package MvcTemplateTiein
262 Summary: MvcTemplateTiein
263 Group: Development/Languages/PHP
264 URL: http://www.ezcomponents.org/docs/api/%{docver}/classtrees_MvcTemplateTiein.html
265 Requires: %{name} = %{version}-%{release}
267 %description MvcTemplateTiein
268 This component provides a view handler that renders result data with
269 the Template component.
273 Group: Development/Languages/PHP
274 URL: http://www.ezcomponents.org/docs/api/%{docver}/classtrees_MvcTools.html
275 Requires: %{name} = %{version}-%{release}
277 %description MvcTools
278 The MvcTools component provides functionality for request parsing,
279 routing, dispatching, views and response writing. With the tools in
280 this component you can very easily build an MVC framework.
282 %package PersistentObject
283 Summary: PersistentObject
284 Group: Development/Languages/PHP
285 URL: http://www.ezcomponents.org/docs/api/%{docver}/classtrees_PersistentObject.html
286 Requires: %{name} = %{version}-%{release}
288 %description PersistentObject
289 This component allows you to store an arbitrary data structures to a
290 fixed database table. The component provides all the functionality
291 needed to fetch, list, delete etc these datastructures.
293 %package PersistentObjectDatabaseSchemaTiein
294 Summary: PersistentObjectDatabaseSchemaTiein
295 Group: Development/Languages/PHP
296 URL: http://www.ezcomponents.org/docs/api/%{docver}/classtrees_PersistentObjectDatabaseSchemaTiein.html
297 Requires: %{name} = %{version}-%{release}
299 %description PersistentObjectDatabaseSchemaTiein
300 This component allows the automatic generation of PersistentObject
301 definition files from DatabaseSchema definitions.
303 %package PhpGenerator
304 Summary: PhpGenerator
305 Group: Development/Languages/PHP
306 URL: http://www.ezcomponents.org/docs/api/%{docver}/classtrees_PhpGenerator.html
307 Requires: %{name} = %{version}-%{release}
309 %description PhpGenerator
310 Provides a simple interface for creating PHP files and executing PHP
315 Group: Development/Languages/PHP
316 URL: http://www.ezcomponents.org/docs/api/%{docver}/classtrees_Search.html
317 Requires: %{name} = %{version}-%{release}
320 The Search component provides an interface to index and query
321 documents with different search engine backends.
325 Group: Development/Languages/PHP
326 URL: http://www.ezcomponents.org/docs/api/%{docver}/classtrees_SignalSlot.html
327 Requires: %{name} = %{version}-%{release}
329 %description SignalSlot
330 The SignalSlot component implements a mechanism for inter and intra
331 object communication through the use of signals and slots.
333 %package SystemInformation
334 Summary: SystemInformation
335 Group: Development/Languages/PHP
336 URL: http://www.ezcomponents.org/docs/api/%{docver}/classtrees_SystemInformation.html
337 Requires: %{name} = %{version}-%{release}
339 %description SystemInformation
340 Provides access to common system variables, such as CPU type and
341 speed, and the available amount of memory.
345 Group: Development/Languages/PHP
346 URL: http://www.ezcomponents.org/docs/api/%{docver}/classtrees_Template.html
347 Requires: %{name} = %{version}-%{release}
349 %description Template
350 A fully functional Templating system, supporting template compilation
351 in different levels, user defined functions and operators, an
352 optimizer, output escaping for different output handlers to prevent
353 XSS and other security problems and a plug in system for extra
354 functionality (such as a Translation system).
356 %package TemplateTranslationTiein
357 Summary: TemplateTranslationTiein
358 Group: Development/Languages/PHP
359 URL: http://www.ezcomponents.org/docs/api/%{docver}/classtrees_TemplateTranslationTiein.html
360 Requires: %{name} = %{version}-%{release}
362 %description TemplateTranslationTiein
363 Provides functionality to use translations inside templates.
367 Group: Development/Languages/PHP
368 URL: http://www.ezcomponents.org/docs/api/%{docver}/classtrees_Translation.html
369 Requires: %{name} = %{version}-%{release}
371 %description Translation
372 A component that reads XML translation definitions (the Qt Linguist
373 format), supports caching of translation contexts and presents you
374 with a class to apply translations to strings. A filter system allows
375 you to transform translation definitions for special use.
377 %package TranslationCacheTiein
378 Summary: TranslationCacheTiein
379 Group: Development/Languages/PHP
380 URL: http://www.ezcomponents.org/docs/api/%{docver}/classtrees_TranslationCacheTiein.html
381 Requires: %{name} = %{version}-%{release}
383 %description TranslationCacheTiein
384 This component adds the TranslationCache backend to the Translation
385 component and allows cached translations.
389 Group: Development/Languages/PHP
390 URL: http://www.ezcomponents.org/docs/api/%{docver}/classtrees_Tree.html
391 Requires: %{name} = %{version}-%{release}
394 The Tree component handles the creating, manipulating and querying of
395 tree structures. The component supports different storage algorithms
396 for optimal performance.
398 %package TreeDatabaseTiein
399 Summary: TreeDatabaseTiein
400 Group: Development/Languages/PHP
401 URL: http://www.ezcomponents.org/docs/api/%{docver}/classtrees_TreeDatabaseTiein.html
402 Requires: %{name} = %{version}-%{release}
404 %description TreeDatabaseTiein
405 The Tree component handles the creating, manipulating and querying of
406 tree structures. This component implements the database related
407 backends and data stores.
409 %package TreePersistentObjectTiein
410 Summary: TreePersistentObjectTiein
411 Group: Development/Languages/PHP
412 URL: http://www.ezcomponents.org/docs/api/%{docver}/classtrees_TreePersistentObjectTiein.html
413 Requires: %{name} = %{version}-%{release}
415 %description TreePersistentObjectTiein
416 The Tree component handles the creating, manipulating and querying of
417 tree structures. This component uses persistent objects as data
418 storage for the data elements of the tree nodes.
422 Group: Development/Languages/PHP
423 URL: http://www.ezcomponents.org/docs/api/%{docver}/classtrees_Url.html
424 Requires: %{name} = %{version}-%{release}
427 The Url package provides basic operations to handle urls (parse,
428 build, get/set path, get/set query).
432 Group: Development/Languages/PHP
433 URL: http://www.ezcomponents.org/docs/api/%{docver}/classtrees_UserInput.html
434 Requires: %{name} = %{version}-%{release}
436 %description UserInput
437 A component that assists you to safely user input variables coming
438 into your application. It builds on top of PHP's filter extension and
439 extends it by providing a more inituitive API.
443 Group: Development/Languages/PHP
444 URL: http://www.ezcomponents.org/docs/api/%{docver}/classtrees_Webdav.html
445 Requires: %{name} = %{version}-%{release}
448 This component allows you to set up and run your own WebDAV (RFC 2518)
449 server, to enable online content editing for the users of your system
450 through the WebDAV HTTP extension.
454 Group: Development/Languages/PHP
455 URL: http://www.ezcomponents.org/docs/api/%{docver}/classtrees_Workflow.html
456 Requires: %{name} = %{version}-%{release}
458 %description Workflow
459 The purpose of the Workflow component is to provide the core
460 functionality of an activity-based workflow system including the
461 definition and execution of workflow specifications.
463 %package WorkflowDatabaseTiein
464 Summary: WorkflowDatabaseTiein
465 Group: Development/Languages/PHP
466 URL: http://www.ezcomponents.org/docs/api/%{docver}/classtrees_WorkflowDatabaseTiein.html
467 Requires: %{name} = %{version}-%{release}
469 %description WorkflowDatabaseTiein
470 Contains the database backend for the Workflow component.
472 %package WorkflowEventLogTiein
473 Summary: WorkflowEventLogTiein
474 Group: Development/Languages/PHP
475 URL: http://www.ezcomponents.org/docs/api/%{docver}/classtrees_WorkflowEventLogTiein.html
476 Requires: %{name} = %{version}-%{release}
478 %description WorkflowEventLogTiein
479 Contains the EventLog listener for the Workflow component.
481 %package WorkflowSignalSlotTiein
482 Summary: WorkflowSignalSlotTiein
483 Group: Development/Languages/PHP
484 URL: http://www.ezcomponents.org/docs/api/%{docver}/classtrees_WorkflowSignalSlotTiein.html
485 Requires: %{name} = %{version}-%{release}
487 %description WorkflowSignalSlotTiein
488 Contains the SignalSlot links for the Workflow component.
494 rm -rf $RPM_BUILD_ROOT
495 install -d $RPM_BUILD_ROOT%{_appdir}
497 cp -a autoload $RPM_BUILD_ROOT%{_appdir}
501 cp -a $a/src $RPM_BUILD_ROOT%{_appdir}/$a
503 # produce spec template
504 cat > $a-desc.spec <<-EOF
507 Group: Development/Languages/PHP
508 URL: http://www.ezcomponents.org/docs/api/%%{version}/classtrees_$a.html
509 Requires: %%{name} = %%{version}-%%{release}
512 $(cat $a/DESCRIPTION)
516 cat > $a-files.spec <<-EOF
518 %%defattr(644,root,root,755)
519 %%doc $a/{ChangeLog,CREDITS}$(
520 if [ "$(ls $a/*.txt 2>/dev/null)" ]; then
522 echo "%%doc $a/*.txt"
529 cat *-desc.spec *-files.spec > ez.spec
530 rm -f *-desc.spec *-files.spec
533 rm -rf $RPM_BUILD_ROOT
536 %defattr(644,root,root,755)
541 %defattr(644,root,root,755)
542 %doc Archive/{ChangeLog,CREDITS}
545 %files Authentication
546 %defattr(644,root,root,755)
547 %doc Authentication/{ChangeLog,CREDITS}
548 %doc Authentication/*.txt
549 %{_appdir}/Authentication
551 %files AuthenticationDatabaseTiein
552 %defattr(644,root,root,755)
553 %doc AuthenticationDatabaseTiein/{ChangeLog,CREDITS}
554 %{_appdir}/AuthenticationDatabaseTiein
557 %defattr(644,root,root,755)
558 %doc Base/{ChangeLog,CREDITS}
563 %defattr(644,root,root,755)
564 %doc Cache/{ChangeLog,CREDITS}
569 %defattr(644,root,root,755)
570 %doc Configuration/{ChangeLog,CREDITS}
571 %{_appdir}/Configuration
574 %defattr(644,root,root,755)
575 %doc ConsoleTools/{ChangeLog,CREDITS}
576 %doc ConsoleTools/*.txt
577 %{_appdir}/ConsoleTools
580 %defattr(644,root,root,755)
581 %doc Database/{ChangeLog,CREDITS}
584 %files DatabaseSchema
585 %defattr(644,root,root,755)
586 %doc DatabaseSchema/{ChangeLog,CREDITS}
587 %doc DatabaseSchema/*.txt
588 %{_appdir}/DatabaseSchema
591 %defattr(644,root,root,755)
592 %doc Debug/{ChangeLog,CREDITS}
597 %defattr(644,root,root,755)
598 %doc Document/{ChangeLog,CREDITS}
603 %defattr(644,root,root,755)
604 %doc EventLog/{ChangeLog,CREDITS}
607 %files EventLogDatabaseTiein
608 %defattr(644,root,root,755)
609 %doc EventLogDatabaseTiein/{ChangeLog,CREDITS}
610 %{_appdir}/EventLogDatabaseTiein
613 %defattr(644,root,root,755)
614 %doc Execution/{ChangeLog,CREDITS}
618 %defattr(644,root,root,755)
619 %doc Feed/{ChangeLog,CREDITS}
624 %defattr(644,root,root,755)
625 %doc File/{ChangeLog,CREDITS}
629 %defattr(644,root,root,755)
630 %doc Graph/{ChangeLog,CREDITS}
633 %files GraphDatabaseTiein
634 %defattr(644,root,root,755)
635 %doc GraphDatabaseTiein/{ChangeLog,CREDITS}
636 %{_appdir}/GraphDatabaseTiein
639 %defattr(644,root,root,755)
640 %doc ImageAnalysis/{ChangeLog,CREDITS}
641 %{_appdir}/ImageAnalysis
643 %files ImageConversion
644 %defattr(644,root,root,755)
645 %doc ImageConversion/{ChangeLog,CREDITS}
646 %doc ImageConversion/*.txt
647 %{_appdir}/ImageConversion
650 %defattr(644,root,root,755)
651 %doc Mail/{ChangeLog,CREDITS}
656 %defattr(644,root,root,755)
657 %doc MvcMailTiein/{ChangeLog,CREDITS}
658 %{_appdir}/MvcMailTiein
660 %files MvcTemplateTiein
661 %defattr(644,root,root,755)
662 %doc MvcTemplateTiein/{ChangeLog,CREDITS}
663 %{_appdir}/MvcTemplateTiein
666 %defattr(644,root,root,755)
667 %doc MvcTools/{ChangeLog,CREDITS}
671 %files PersistentObject
672 %defattr(644,root,root,755)
673 %doc PersistentObject/{ChangeLog,CREDITS}
674 %doc PersistentObject/*.txt
675 %{_appdir}/PersistentObject
677 %files PersistentObjectDatabaseSchemaTiein
678 %defattr(644,root,root,755)
679 %doc PersistentObjectDatabaseSchemaTiein/{ChangeLog,CREDITS}
680 %{_appdir}/PersistentObjectDatabaseSchemaTiein
683 %defattr(644,root,root,755)
684 %doc PhpGenerator/{ChangeLog,CREDITS}
685 %{_appdir}/PhpGenerator
688 %defattr(644,root,root,755)
689 %doc Search/{ChangeLog,CREDITS}
694 %defattr(644,root,root,755)
695 %doc SignalSlot/{ChangeLog,CREDITS}
696 %{_appdir}/SignalSlot
698 %files SystemInformation
699 %defattr(644,root,root,755)
700 %doc SystemInformation/{ChangeLog,CREDITS}
701 %{_appdir}/SystemInformation
704 %defattr(644,root,root,755)
705 %doc Template/{ChangeLog,CREDITS}
709 %files TemplateTranslationTiein
710 %defattr(644,root,root,755)
711 %doc TemplateTranslationTiein/{ChangeLog,CREDITS}
712 %{_appdir}/TemplateTranslationTiein
715 %defattr(644,root,root,755)
716 %doc Translation/{ChangeLog,CREDITS}
717 %doc Translation/*.txt
718 %{_appdir}/Translation
720 %files TranslationCacheTiein
721 %defattr(644,root,root,755)
722 %doc TranslationCacheTiein/{ChangeLog,CREDITS}
723 %{_appdir}/TranslationCacheTiein
726 %defattr(644,root,root,755)
727 %doc Tree/{ChangeLog,CREDITS}
730 %files TreeDatabaseTiein
731 %defattr(644,root,root,755)
732 %doc TreeDatabaseTiein/{ChangeLog,CREDITS}
733 %{_appdir}/TreeDatabaseTiein
735 %files TreePersistentObjectTiein
736 %defattr(644,root,root,755)
737 %doc TreePersistentObjectTiein/{ChangeLog,CREDITS}
738 %{_appdir}/TreePersistentObjectTiein
741 %defattr(644,root,root,755)
742 %doc Url/{ChangeLog,CREDITS}
747 %defattr(644,root,root,755)
748 %doc UserInput/{ChangeLog,CREDITS}
752 %defattr(644,root,root,755)
753 %doc Webdav/{ChangeLog,CREDITS}
758 %defattr(644,root,root,755)
759 %doc Workflow/{ChangeLog,CREDITS}
763 %files WorkflowDatabaseTiein
764 %defattr(644,root,root,755)
765 %doc WorkflowDatabaseTiein/{ChangeLog,CREDITS}
766 %{_appdir}/WorkflowDatabaseTiein
768 %files WorkflowEventLogTiein
769 %defattr(644,root,root,755)
770 %doc WorkflowEventLogTiein/{ChangeLog,CREDITS}
771 %{_appdir}/WorkflowEventLogTiein
773 %files WorkflowSignalSlotTiein
774 %defattr(644,root,root,755)
775 %doc WorkflowSignalSlotTiein/{ChangeLog,CREDITS}
776 %{_appdir}/WorkflowSignalSlotTiein