5 Name: sope%{sope_major_version}%{sope_minor_version}
6 Version: %{sope_version}
7 Release: %{sope_release}.%{sope_buildcount}%{dist_suffix}
8 Vendor: http://www.opengroupware.org
9 Packager: Frank Reppin <frank@opengroupware.org>
11 URL: http://www.opengroupware.org
12 Group: Development/Libraries
14 Source: %{sope_source}
15 Prefix: %{sope_prefix}
16 BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root
17 BuildPreReq: ogo-gnustep_make
22 #########################################
24 Summary: SOPE libraries for XML processing
25 Group: Development/Libraries
29 The SOPE libraries for XML processing contain:
31 * a SAX2 Implementation for Objective-C
32 * an attempt to implement DOM on top of SaxObjC
33 * an XML-RPC implementation (without a transport layer)
35 SOPE is a framework for developing web applications and services. The
36 name "SOPE" (SKYRiX Object Publishing Environment) is inspired by ZOPE.
39 Summary: Development files for the SOPE XML libraries
40 Group: Development/Libraries
41 Requires: ogo-gnustep_make sope%{sope_major_version}%{sope_minor_version}-xml libxml2-devel
44 %description xml-devel
45 This package contains the development files of the SOPE XML libraries.
47 SOPE is a framework for developing web applications and services. The
48 name "SOPE" (SKYRiX Object Publishing Environment) is inspired by ZOPE.
51 Summary: Tools (domxml/saxxml/xmln)
52 Group: Development/Libraries
53 Requires: sope%{sope_major_version}%{sope_minor_version}-xml
56 %description xml-tools
57 This package contains some tools:
59 * saxxml - parse a file using SAX and print out the XML
60 * xmln - convert a given file to PYX using a SAX handler
61 * domxml - parse a file into a DOM and print out the XML
63 SOPE is a framework for developing web applications and services. The
64 name "SOPE" (SKYRiX Object Publishing Environment) is inspired by ZOPE.
65 #########################################
67 Summary: Core libraries of the SOPE application server
68 Group: Development/Libraries
69 Requires: sope%{sope_major_version}%{sope_minor_version}-xml libfoundation%{lfmaj}%{lfmin}
73 The SOPE core libraries contain:
75 * various Foundation extensions
76 * a java.io like stream and socket library
78 SOPE is a framework for developing web applications and services. The
79 name "SOPE" (SKYRiX Object Publishing Environment) is inspired by ZOPE.
82 Summary: Development files for the SOPE core libraries
83 Group: Development/Libraries
84 Requires: ogo-gnustep_make sope%{sope_major_version}%{sope_minor_version}-core
87 %description core-devel
88 This package contains the header files for the SOPE core
89 libraries, which are part of the SOPE application server framework.
91 SOPE is a framework for developing web applications and services. The
92 name "SOPE" (SKYRiX Object Publishing Environment) is inspired by ZOPE.
93 #########################################
95 Summary: SOPE libraries for MIME processing
96 Group: Development/Libraries
97 Requires: sope%{sope_major_version}%{sope_minor_version}-core sope%{sope_major_version}%{sope_minor_version}-xml libfoundation%{lfmaj}%{lfmin}
101 The SOPE libraries for MIME processing contain:
103 * classes for processing MIME entities
104 * a full IMAP4 implementation
105 * prototypical POP3 and SMTP processor
107 SOPE is a framework for developing web applications and services. The
108 name "SOPE" (SKYRiX Object Publishing Environment) is inspired by ZOPE.
111 Summary: Development files for the SOPE MIME libraries
112 Group: Development/Libraries
113 Requires: ogo-gnustep_make sope%{sope_major_version}%{sope_minor_version}-mime
116 %description mime-devel
117 This package contains the development files of the SOPE
120 SOPE is a framework for developing web applications and services. The
121 name "SOPE" (SKYRiX Object Publishing Environment) is inspired by ZOPE.
122 #########################################
124 Summary: SOPE application server libraries
125 Group: Development/Libraries
126 Requires: sope%{sope_major_version}%{sope_minor_version}-xml sope%{sope_major_version}%{sope_minor_version}-core sope%{sope_major_version}%{sope_minor_version}-mime libfoundation%{lfmaj}%{lfmin}
129 %description appserver
130 The SOPE application server libraries provide:
132 * template rendering engine, lots of dynamic elements
135 * WebDAV server framework
137 * scripting extensions for Foundation, JavaScript bridge
138 * DOM tree rendering library
140 SOPE is a framework for developing web applications and services. The
141 name "SOPE" (SKYRiX Object Publishing Environment) is inspired by ZOPE.
143 %package appserver-devel
144 Summary: Development files for the SOPE application server libraries
145 Group: Development/Libraries
146 Requires: ogo-gnustep_make sope%{sope_major_version}%{sope_minor_version}-appserver
149 %description appserver-devel
150 This package contains the development files for the SOPE application server
153 SOPE is a framework for developing web applications and services. The
154 name "SOPE" (SKYRiX Object Publishing Environment) is inspired by ZOPE.
156 %package appserver-tools
157 Summary: Tools shipped with the SOPE application server
158 Group: Development/Libraries
159 Requires: sope%{sope_major_version}%{sope_minor_version}-appserver
162 %description appserver-tools
163 This package contains some tools shipped with the SOPE application
164 server framework, which are mostly useful for development and debugging
165 of SOPE applications.
167 SOPE is a framework for developing web applications and services. The
168 name "SOPE" (SKYRiX Object Publishing Environment) is inspired by ZOPE.
169 #########################################
171 Summary: SOPE libraries for LDAP access
172 Group: Development/Libraries
173 Requires: sope%{sope_major_version}%{sope_minor_version}-core sope%{sope_major_version}%{sope_minor_version}-xml libfoundation%{lfmaj}%{lfmin}
177 The SOPE libraries for LDAP access contain an Objective-C wrapper for
178 LDAP directory services.
180 SOPE is a framework for developing web applications and services. The
181 name "SOPE" (SKYRiX Object Publishing Environment) is inspired by ZOPE.
184 Summary: Development files for the SOPE LDAP libraries
185 Group: Development/Libraries
186 Requires: ogo-gnustep_make sope%{sope_major_version}%{sope_minor_version}-ldap
189 %description ldap-devel
190 This package contains the development files of the SOPE
193 SOPE is a framework for developing web applications and services. The
194 name "SOPE" (SKYRiX Object Publishing Environment) is inspired by ZOPE.
197 Summary: Tools (ldap2dsml/ldapchkpwd/ldapls)
198 Group: Development/Libraries
199 Requires: sope%{sope_major_version}%{sope_minor_version}-ldap
202 %description ldap-tools
203 This package contains some tools:
205 * ldap2dsml - return the output of an LDAP server as DSML
206 (directory service markup language)
207 * ldapchkpwd - checks whether a login/password combo would be authenticated
208 * ldapls - an 'ls' for LDAP directories
210 SOPE is a framework for developing web applications and services. The
211 name "SOPE" (SKYRiX Object Publishing Environment) is inspired by ZOPE.
212 #########################################
214 Summary: SOPE libraries for iCal handling
215 Group: Development/Libraries
216 Requires: sope%{sope_major_version}%{sope_minor_version}-xml sope%{sope_major_version}%{sope_minor_version}-core libfoundation%{lfmaj}%{lfmin}
220 The SOPE libraries for iCal handling contain classes for iCalendar and
223 SOPE is a framework for developing web applications and services. The
224 name "SOPE" (SKYRiX Object Publishing Environment) is inspired by ZOPE.
227 Summary: Development files for the SOPE iCal libraries
228 Group: Development/Libraries
229 Requires: ogo-gnustep_make sope%{sope_major_version}%{sope_minor_version}-ical
232 %description ical-devel
233 This package contains the development files of the SOPE iCal libraries.
235 SOPE is a framework for developing web applications and services. The
236 name "SOPE" (SKYRiX Object Publishing Environment) is inspired by ZOPE.
237 #########################################
239 Summary: GNUstep database libraries for SOPE
240 Group: Development/Libraries
241 Requires: sope%{sope_major_version}%{sope_minor_version}-core sope%{sope_major_version}%{sope_minor_version}-xml libfoundation%{lfmaj}%{lfmin}
245 This package contains a fork of the GNUstep database libraries used
246 by the SOPE application server.
248 SOPE is a framework for developing web applications and services. The
249 name "SOPE" (SKYRiX Object Publishing Environment) is inspired by ZOPE.
251 %package gdl1-postgresql
252 Summary: PostgreSQL connector for SOPE's fork of the GNUstep database environment
253 Group: Development/Libraries
254 Requires: sope%{sope_major_version}%{sope_minor_version}-gdl1
256 %if %{?_postgresql_server_is_within_postgresql:1}%{!?_postgresql_server_is_within_postgresql:0}
259 Requires: postgresql-server
262 %description gdl1-postgresql
263 This package contains the PostgreSQL connector for SOPE's fork of the
264 GNUstep database libraries.
266 SOPE is a framework for developing web applications and services. The
267 name "SOPE" (SKYRiX Object Publishing Environment) is inspired by ZOPE.
270 Summary: MySQL connector for SOPE's fork of the GNUstep database environment
271 Group: Development/Libraries
272 Requires: sope%{sope_major_version}%{sope_minor_version}-gdl1
275 %description gdl1-mysql
276 This package contains the MySQL connector for SOPE's fork of the
277 GNUstep database libraries.
279 #%package gdl1-sqlite3
280 #Summary: SQLite3 connector for SOPE's fork of the GNUstep database environment
281 #Group: Development/Libraries
282 #Requires: sope%{sope_major_version}%{sope_minor_version}-gdl1
285 #%description gdl1-sqlite3
286 #This package contains the SQLite3 connector for SOPE's fork of the
287 #GNUstep database libraries.
289 #SOPE is a framework for developing web applications and services. The
290 #name "SOPE" (SKYRiX Object Publishing Environment) is inspired by ZOPE.
293 Summary: Tools (gcs_cat/gcs_gensql/gcs_ls/gcs_mkdir/gcs_recreatequick)
294 Group: Development/Libraries
295 Requires: sope%{sope_major_version}%{sope_minor_version}-gdl1
298 %description gdl1-tools
299 Various tools around the GDL.
301 SOPE is a framework for developing web applications and services. The
302 name "SOPE" (SKYRiX Object Publishing Environment) is inspired by ZOPE.
305 Summary: Development files for the GNUstep database libraries
306 Group: Development/Libraries
307 Requires: ogo-gnustep_make sope%{sope_major_version}%{sope_minor_version}-gdl1 postgresql-devel
310 %description gdl1-devel
311 This package contains the header files for SOPE's fork of the GNUstep
314 SOPE is a framework for developing web applications and services. The
315 name "SOPE" (SKYRiX Object Publishing Environment) is inspired by ZOPE.
316 ########################################
318 rm -fr ${RPM_BUILD_ROOT}
321 # ****************************** build ********************************
323 ./configure --prefix=${RPM_BUILD_ROOT}%{prefix} \
325 --gsmake=%{prefix}/OGo-GNUstep
327 make %{sope_makeflags}
330 make %{sope_makeflags}
332 # ****************************** install ******************************
334 mkdir -p ${RPM_BUILD_ROOT}%{prefix}/lib
336 make %{sope_makeflags} INSTALL_ROOT_DIR=${RPM_BUILD_ROOT} \
337 GNUSTEP_INSTALLATION_DIR=${RPM_BUILD_ROOT}%{prefix} \
341 make %{sope_makeflags} INSTALL_ROOT_DIR=${RPM_BUILD_ROOT} \
342 GNUSTEP_INSTALLATION_DIR=${RPM_BUILD_ROOT}%{prefix} \
345 rm -f ${RPM_BUILD_ROOT}%{prefix}/bin/rss2plist1
346 rm -f ${RPM_BUILD_ROOT}%{prefix}/bin/rss2plist2
347 rm -f ${RPM_BUILD_ROOT}%{prefix}/bin/rssparse
348 rm -f ${RPM_BUILD_ROOT}%{prefix}/bin/testqp
349 rm -fr ${RPM_BUILD_ROOT}%{prefix}/man/
351 rm -fr ${RPM_BUILD_ROOT}%{prefix}/lib/sope-%{sope_major_version}.%{sope_minor_version}/dbadaptors/SQLite3.gdladaptor
353 # ****************************** post *********************************
356 if [ -d %{_sysconfdir}/ld.so.conf.d ]; then
357 echo "%{prefix}/lib" > %{_sysconfdir}/ld.so.conf.d/sope%{sope_major_version}%{sope_minor_version}.conf
358 elif [ ! "`grep '%{prefix}/lib' %{_sysconfdir}/ld.so.conf`" ]; then
359 echo "%{prefix}/lib" >> %{_sysconfdir}/ld.so.conf
364 # ****************************** postun *********************************
367 if [ -e %{_sysconfdir}/ld.so.conf.d/sope%{sope_major_version}%{sope_minor_version}.conf ]; then
368 rm -f %{_sysconfdir}/ld.so.conf.d/sope%{sope_major_version}%{sope_minor_version}.conf
373 # ****************************** clean ********************************
375 rm -fr ${RPM_BUILD_ROOT}
377 # ****************************** files ********************************
379 %defattr(-,root,root,-)
380 %{prefix}/lib/libDOM*.so.%{sope_libversion}*
381 %{prefix}/lib/libSaxObjC*.so.%{sope_libversion}*
382 %{prefix}/lib/libXmlRpc*.so.%{sope_libversion}*
383 %{prefix}/lib/sope-%{sope_libversion}/saxdrivers/libxmlSAXDriver.sax
384 %{prefix}/lib/sope-%{sope_libversion}/saxdrivers/STXSaxDriver.sax
387 %defattr(-,root,root,-)
393 %defattr(-,root,root,-)
394 %{prefix}/include/DOM
395 %{prefix}/include/SaxObjC
396 %{prefix}/include/XmlRpc
397 %{prefix}/lib/libDOM*.so
398 %{prefix}/lib/libSaxObjC*.so
399 %{prefix}/lib/libXmlRpc*.so
402 %defattr(-,root,root,-)
403 %{prefix}/lib/libEOControl*.so.%{sope_libversion}*
404 %{prefix}/lib/libNGExtensions*.so.%{sope_libversion}*
405 %{prefix}/lib/libNGStreams*.so.%{sope_libversion}*
408 %defattr(-,root,root,-)
409 %{prefix}/include/EOControl
410 %{prefix}/include/NGExtensions
411 %{prefix}/include/NGStreams
412 %{prefix}/lib/libEOControl*.so
413 %{prefix}/lib/libNGExtensions*.so
414 %{prefix}/lib/libNGStreams*.so
417 %defattr(-,root,root,-)
418 %{prefix}/lib/libNGMime*.so.%{sope_libversion}*
421 %defattr(-,root,root,-)
422 %{prefix}/include/NGImap4
423 %{prefix}/include/NGMail
424 %{prefix}/include/NGMime
425 %{prefix}/lib/libNGMime*.so
428 %defattr(-,root,root,-)
429 %{prefix}/lib/libNGObjWeb*.so.%{sope_libversion}*
430 %{prefix}/lib/libNGXmlRpc*.so.%{sope_libversion}*
431 %{prefix}/lib/libSoOFS*.so.%{sope_libversion}*
432 %{prefix}/lib/libWEExtensions*.so.%{sope_libversion}*
433 %{prefix}/lib/libWEPrototype*.so.%{sope_libversion}*
434 %{prefix}/lib/libWOExtensions*.so.%{sope_libversion}*
435 %{prefix}/lib/libWOXML*.so.%{sope_libversion}*
436 %{prefix}/share/sope-%{sope_libversion}/ngobjweb/DAVPropMap.plist
437 %{prefix}/share/sope-%{sope_libversion}/ngobjweb/Defaults.plist
438 %{prefix}/share/sope-%{sope_libversion}/ngobjweb/Languages.plist
439 %{prefix}/lib/sope-%{sope_libversion}/products/SoCore.sxp
440 %{prefix}/lib/sope-%{sope_libversion}/products/SoOFS.sxp
441 %{prefix}/lib/sope-%{sope_libversion}/wox-builders/WEExtensions.wox
442 %{prefix}/lib/sope-%{sope_libversion}/wox-builders/WEPrototype.wox
443 %{prefix}/lib/sope-%{sope_libversion}/wox-builders/WOExtensions.wox
446 %files appserver-tools
447 %defattr(-,root,root,-)
448 %{prefix}/sbin/sope-%{sope_major_version}.%{sope_minor_version}
449 %{prefix}/bin/xmlrpc_call
451 %files appserver-devel
452 %defattr(-,root,root,-)
454 %{prefix}/include/NGHttp
455 %{prefix}/include/NGObjWeb
456 %{prefix}/include/NGXmlRpc
457 %{prefix}/include/SoOFS
458 %{prefix}/include/WEExtensions
459 %{prefix}/include/WOExtensions
460 %{prefix}/include/WOXML
461 %{prefix}/lib/libNGObjWeb*.so
462 %{prefix}/lib/libNGXmlRpc*.so
463 %{prefix}/lib/libSoOFS*.so
464 %{prefix}/lib/libWEExtensions*.so
465 %{prefix}/lib/libWEPrototype*.so
466 %{prefix}/lib/libWOExtensions*.so
467 %{prefix}/lib/libWOXML*.so
468 %{prefix}/OGo-GNUstep/Library/Makefiles/Additional/ngobjweb.make
469 %{prefix}/OGo-GNUstep/Library/Makefiles/woapp.make
470 %{prefix}/OGo-GNUstep/Library/Makefiles/wobundle.make
473 %defattr(-,root,root,-)
474 %{prefix}/lib/libNGLdap*.so.%{sope_libversion}*
477 %defattr(-,root,root,-)
478 %{prefix}/bin/ldap2dsml
479 %{prefix}/bin/ldapchkpwd
483 %defattr(-,root,root,-)
484 %{prefix}/include/NGLdap
485 %{prefix}/lib/libNGLdap*.so
488 %defattr(-,root,root,-)
489 %{prefix}/lib/libNGiCal*.so.%{sope_libversion}*
490 %{prefix}/share/sope-%{sope_libversion}/saxmappings/NGiCal.xmap
491 %{prefix}/lib/sope-%{sope_libversion}/saxdrivers/versitSaxDriver.sax
494 %defattr(-,root,root,-)
495 %{prefix}/include/NGiCal
496 %{prefix}/lib/libNGiCal*.so
499 %defattr(-,root,root,-)
500 %{prefix}/bin/connect-EOAdaptor
501 %{prefix}/bin/load-EOAdaptor
502 %{prefix}/lib/libGDLAccess*.so.%{sope_libversion}*
504 %files gdl1-postgresql
505 %defattr(-,root,root,-)
506 %{prefix}/lib/sope-%{sope_libversion}/dbadaptors/PostgreSQL.gdladaptor
509 %defattr(-,root,root,-)
510 %{prefix}/lib/sope-%{sope_libversion}/dbadaptors/MySQL.gdladaptor
513 #%defattr(-,root,root,-)
514 #%{prefix}/lib/sope-%{sope_libversion}/dbadaptors/SQLite3.gdladaptor
517 %defattr(-,root,root,-)
518 %{prefix}/bin/gcs_cat
519 %{prefix}/bin/gcs_gensql
521 %{prefix}/bin/gcs_mkdir
522 %{prefix}/bin/gcs_recreatequick
525 %defattr(-,root,root,-)
526 %{prefix}/include/GDLAccess
527 %{prefix}/lib/libGDLAccess*.so
529 # ********************************* changelog *************************
531 * Thu Sep 27 2007 Helge Hess <helge@opengroupware.org>
532 - removed GDLContentStore
533 * Mon Jul 10 2006 Frank Reppin <frank@opengroupware.org>
534 - adjust requires on new libfoundation
535 * Fri Sep 16 2005 Frank Reppin <frank@opengroupware.org>
536 - added WEPrototype and its lib to appserver/appserver-devel
537 * Fri Aug 26 2005 Frank Reppin <frank@opengroupware.org>
538 - added sope-gdl1-sqlite3 (as comment)
539 * Thu Apr 21 2005 Frank Reppin <frank@opengroupware.org>
540 - added sope-gdl1-mysql
541 * Tue Mar 22 2005 Frank Reppin <frank@opengroupware.org>
542 - added GDLContentStore to sope-gdl1
543 - reworked descriptions regarding GDLContentStore
544 - added new subpackage sope-gdl1-tools
545 - sope-gdl1 now depends on sope-xml due to -lDOM -lSaxObjC
546 used by GDLContentStore
547 * Fri Jan 28 2005 Frank Reppin <frank@opengroupware.org>
548 - reworked dependencies
549 - deal with ld.so.conf in (post|preun) of appserver rather than core
550 * Tue Jan 25 2005 Frank Reppin <frank@opengroupware.org>
551 - fix for OGo Bug #1192
552 * Tue Jan 11 2005 Frank Reppin <frank@opengroupware.org>
553 - reworked all summaries and descriptions (taken from Debian control
555 * Tue Nov 16 2004 Frank Reppin <frank@opengroupware.org>
556 - s^4.5^%{sope_version}^g everywhere bc .rpmmacros knows
557 the current version we build for
558 * Sat Nov 06 2004 Helge Hess <helge.hess@opengroupware.org>
559 - updated to 4.5 version
560 * Wed Sep 09 2004 Frank Reppin <frank@opengroupware.org>