SPECS: sope.spec - made it build outside gnustep - taken whole %fi...

czarny czarny at pld-linux.org
Sun Sep 11 16:38:08 CEST 2005


Author: czarny                       Date: Sun Sep 11 14:38:08 2005 GMT
Module: SPECS                         Tag: HEAD
---- Log message:
- made it build outside gnustep
- taken whole %file section from spec file included with sources
- taken subpackages descriptions from spec file included with sources
- rel 0.3

---- Files affected:
SPECS:
   sope.spec (1.14 -> 1.15) 

---- Diffs:

================================================================
Index: SPECS/sope.spec
diff -u SPECS/sope.spec:1.14 SPECS/sope.spec:1.15
--- SPECS/sope.spec:1.14	Wed Sep  7 03:45:35 2005
+++ SPECS/sope.spec	Sun Sep 11 16:38:02 2005
@@ -1,6 +1,10 @@
 # $Revision$, $Date$
 # TODO: descs for subpackages
 #	Mysql and Sqlite backends
+# - cleanup
+# - translations
+# - bconds ond DB backends
+# - R and BRs
 %define		trunkdate	200509061700
 %define		sope_makeflags	-w -s debug=yes strip=no
 %define		versionalpha	r1101
@@ -9,7 +13,7 @@
 Summary(pl):	SKYRiX Object Publishing Environment - środowisko do publikowania obiektów
 Name:		sope
 Version:	4.5
-Release:	0.2
+Release:	0.3
 Vendor:		http://www.opengroupware.org/
 License:	GPL
 Group:		Development/Libraries
@@ -49,9 +53,9 @@
 #Requires:	postgresql >= 7.2.0
 BuildRoot:	%{tmpdir}/%{name}-%{version}-root-%(id -u -n)
 
-%define         _prefix         /usr/%{_lib}/GNUstep
+%define         prefix         %{_libdir}/GNUstep-libFoundation
 
-%define		libcombo	gnu-gnu-gnu
+%define		libcombo	gnu-fd-nil
 %define		gsos		linux-gnu
 %ifarch %{ix86}
 %define		gscpu		ix86
@@ -60,6 +64,10 @@
 %define		gscpu		%(echo %{_target_cpu} | sed -e 's/amd64/x86_64/;s/ppc/powerpc/')
 %endif
 
+%define 		sope_libversion		4.5
+%define		sope_major_version	4
+%define		sope_minor_version	5
+
 
 %description
 The SOPE package is an extensive set of frameworks (16 frameworks,
@@ -81,162 +89,312 @@
 łączności z serwerami relacyjnych baz danych oraz przetwarzania
 formatu iCalendar.
 
+#########################################
 %package xml
-Summary:	sope-xml
-Group:		Libraries
+Summary:      SOPE libraries for XML processing
+Group:        Development/Libraries
+AutoReqProv:  off
 
 %description xml
-sope-xml
+The SOPE libraries for XML processing contain:
+
+  * a SAX2 Implementation for Objective-C
+  * an attempt to implement DOM on top of SaxObjC
+  * an XML-RPC implementation (without a transport layer)
+
+SOPE is a framework for developing web applications and services. The
+name "SOPE" (SKYRiX Object Publishing Environment) is inspired by ZOPE.
 
 %package xml-devel
-Summary:	sope-xml devel
-Group:		Development/Libraries
+Summary:      Development files for the SOPE XML libraries
+Group:        Development/Libraries
+Requires:     ogo-gnustep_make sope%{sope_major_version}%{sope_minor_version}-xml libxml2-devel
+AutoReqProv:  off
 
 %description xml-devel
-sope-xml devel package.
+This package contains the development files of the SOPE XML libraries.
+
+SOPE is a framework for developing web applications and services. The
+name "SOPE" (SKYRiX Object Publishing Environment) is inspired by ZOPE.
 
 %package xml-tools
-Summary:	sope-xml tools
-Group:		Development/Tools
+Summary:      Tools (domxml/saxxml/xmln)
+Group:        Development/Libraries
+Requires:     sope%{sope_major_version}%{sope_minor_version}-xml
+AutoReqProv:  off
 
 %description xml-tools
-sope-xml tools package.
+This package contains some tools:
 
+  * saxxml    - parse a file using SAX and print out the XML
+  * xmln      - convert a given file to PYX using a SAX handler
+  * domxml    - parse a file into a DOM and print out the XML
+
+SOPE is a framework for developing web applications and services. The
+name "SOPE" (SKYRiX Object Publishing Environment) is inspired by ZOPE.
+#########################################
 %package core
-Summary:	sope-core
-Group:		Libraries
+Summary:      Core libraries of the SOPE application server
+Group:        Development/Libraries
+Requires:     sope%{sope_major_version}%{sope_minor_version}-xml libfoundation%{lfmaj}%{lfmin}
+AutoReqProv:  off
 
 %description core
-sope-core
+The SOPE core libraries contain:
+
+  * various Foundation extensions
+  * a java.io like stream and socket library
+
+SOPE is a framework for developing web applications and services. The
+name "SOPE" (SKYRiX Object Publishing Environment) is inspired by ZOPE.
 
 %package core-devel
-Summary:	sope-core devel
-Group:		Development/Libraries
+Summary:      Development files for the SOPE core libraries
+Group:        Development/Libraries
+Requires:     ogo-gnustep_make sope%{sope_major_version}%{sope_minor_version}-core
+AutoReqProv:  off
 
 %description core-devel
-sope-core devel package.
+This package contains the header files for the SOPE core
+libraries,  which are part of the SOPE application server framework.
 
+SOPE is a framework for developing web applications and services. The
+name "SOPE" (SKYRiX Object Publishing Environment) is inspired by ZOPE.
+#########################################
 %package mime
-Summary:	sope-mime
-Group:		Libraries
+Summary:      SOPE libraries for MIME processing
+Group:        Development/Libraries
+Requires:     sope%{sope_major_version}%{sope_minor_version}-core sope%{sope_major_version}%{sope_minor_version}-xml libfoundation%{lfmaj}%{lfmin}
+AutoReqProv:  off
 
 %description mime
-sope-mime
+The SOPE libraries for MIME processing contain:
+
+  * classes for processing MIME entities
+  * a full IMAP4 implementation
+  * prototypical POP3 and SMTP processor
+
+SOPE is a framework for developing web applications and services. The
+name "SOPE" (SKYRiX Object Publishing Environment) is inspired by ZOPE.
 
 %package mime-devel
-Summary:	sope-mime devel
-Group:		Development/Libraries
+Summary:      Development files for the SOPE MIME libraries
+Group:        Development/Libraries
+Requires:     ogo-gnustep_make sope%{sope_major_version}%{sope_minor_version}-mime
+AutoReqProv:  off
 
 %description mime-devel
-sope-mime devel package.
+This package contains the development files of the SOPE
+MIME libraries.
 
+SOPE is a framework for developing web applications and services. The
+name "SOPE" (SKYRiX Object Publishing Environment) is inspired by ZOPE.
+#########################################
 %package appserver
-Summary:	sope-appserver
-Group:		Libraries
+Summary:      SOPE application server libraries
+Group:        Development/Libraries
+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}
+AutoReqProv:  off
 
 %description appserver
-sope-appserver
+The SOPE application server libraries provide:
+
+  * template rendering engine, lots of dynamic elements
+  * HTTP client/server
+  * XML-RPC client
+  * WebDAV server framework
+  * session management
+  * scripting extensions for Foundation, JavaScript bridge
+  * DOM tree rendering library
+
+SOPE is a framework for developing web applications and services. The
+name "SOPE" (SKYRiX Object Publishing Environment) is inspired by ZOPE.
 
 %package appserver-devel
-Summary:	sope-appserver devel
-Group:		Development/Libraries
+Summary:      Development files for the SOPE application server libraries
+Group:        Development/Libraries
+Requires:     ogo-gnustep_make sope%{sope_major_version}%{sope_minor_version}-appserver
+AutoReqProv:  off
 
 %description appserver-devel
-sope-appserver devel package.
+This package contains the development files for the SOPE application server
+libraries.
+
+SOPE is a framework for developing web applications and services. The
+name "SOPE" (SKYRiX Object Publishing Environment) is inspired by ZOPE.
 
 %package appserver-tools
-Summary:	sope-appserver tools
-Group:		Development/Tools
+Summary:      Tools shipped with the SOPE application server
+Group:        Development/Libraries
+Requires:     sope%{sope_major_version}%{sope_minor_version}-appserver
+AutoReqProv:  off
 
 %description appserver-tools
-sope-appserver tools package.
-
+This package contains some tools shipped with the SOPE application
+server framework, which are mostly useful for development and debugging
+of SOPE applications.
+
+SOPE is a framework for developing web applications and services. The
+name "SOPE" (SKYRiX Object Publishing Environment) is inspired by ZOPE.
+#########################################
 %package ldap
-Summary:	sope-ldap
-Group:		Libraries
+Summary:      SOPE libraries for LDAP access
+Group:        Development/Libraries
+Requires:     sope%{sope_major_version}%{sope_minor_version}-core sope%{sope_major_version}%{sope_minor_version}-xml libfoundation%{lfmaj}%{lfmin}
+AutoReqProv:  off
 
 %description ldap
-sope-ldap
+The SOPE libraries for LDAP access contain an Objective-C wrapper for
+LDAP directory services.
+
+SOPE is a framework for developing web applications and services. The
+name "SOPE" (SKYRiX Object Publishing Environment) is inspired by ZOPE.
 
 %package ldap-devel
-Summary:	sope-ldap devel
-Group:		Development/Libraries
+Summary:      Development files for the SOPE LDAP libraries
+Group:        Development/Libraries
+Requires:     ogo-gnustep_make sope%{sope_major_version}%{sope_minor_version}-ldap
+AutoReqProv:  off
 
 %description ldap-devel
-sope-ldap devel package.
+This package contains the development files of the SOPE
+LDAP libraries.
+
+SOPE is a framework for developing web applications and services. The
+name "SOPE" (SKYRiX Object Publishing Environment) is inspired by ZOPE.
 
 %package ldap-tools
-Summary:	sope-ldap tools
-Group:		Development/Tools
+Summary:      Tools (ldap2dsml/ldapchkpwd/ldapls)
+Group:        Development/Libraries
+Requires:     sope%{sope_major_version}%{sope_minor_version}-ldap
+AutoReqProv:  off
 
 %description ldap-tools
-sope-ldap tools package.
+This package contains some tools:
 
+  * ldap2dsml   - return the output of an LDAP server as DSML
+                  (directory service markup language)
+  * ldapchkpwd  - checks whether a login/password combo would be authenticated
+  * ldapls      - an 'ls' for LDAP directories
+
+SOPE is a framework for developing web applications and services. The
+name "SOPE" (SKYRiX Object Publishing Environment) is inspired by ZOPE.
+#########################################
 %package ical
-Summary:	sope-ical
-Group:		Libraries
+Summary:      SOPE libraries for iCal handling
+Group:        Development/Libraries
+Requires:     sope%{sope_major_version}%{sope_minor_version}-xml sope%{sope_major_version}%{sope_minor_version}-core libfoundation%{lfmaj}%{lfmin}
+AutoReqProv:  off
 
 %description ical
-sope-ical
+The SOPE libraries for iCal handling contain classes for iCalendar and
+vCard objects.
+
+SOPE is a framework for developing web applications and services. The
+name "SOPE" (SKYRiX Object Publishing Environment) is inspired by ZOPE.
 
 %package ical-devel
-Summary:	sope-ical devel
-Group:		Development/Libraries
+Summary:      Development files for the SOPE iCal libraries
+Group:        Development/Libraries
+Requires:     ogo-gnustep_make sope%{sope_major_version}%{sope_minor_version}-ical
+AutoReqProv:  off
 
 %description ical-devel
-sope-ical devel package.
+This package contains the development files of the SOPE iCal libraries.
 
+SOPE is a framework for developing web applications and services. The
+name "SOPE" (SKYRiX Object Publishing Environment) is inspired by ZOPE.
+#########################################
 %package gdl1
-Summary:	sope-gdl1
-Group:		Libraries
+Summary:      GNUstep database libraries for SOPE
+Group:        Development/Libraries
+Requires:     sope%{sope_major_version}%{sope_minor_version}-core sope%{sope_major_version}%{sope_minor_version}-xml libfoundation%{lfmaj}%{lfmin}
+AutoReqProv:  off
 
 %description gdl1
-sope-gdl1
+This package contains a fork of the GNUstep database libraries used
+by the SOPE application server (including GDLContentStore).
+
+SOPE is a framework for developing web applications and services. The
+name "SOPE" (SKYRiX Object Publishing Environment) is inspired by ZOPE.
 
 %package gdl1-postgresql
-Summary:	sope-gdl1-postgresql
-Group:		Libraries
+Summary:      PostgreSQL connector for SOPE's fork of the GNUstep database environment
+Group:        Development/Libraries
+Requires:     sope%{sope_major_version}%{sope_minor_version}-gdl1
+AutoReqProv:  off
+%if %{?_postgresql_server_is_within_postgresql:1}%{!?_postgresql_server_is_within_postgresql:0}
+Requires: postgresql
+%else
+Requires: postgresql-server
+%endif
 
 %description gdl1-postgresql
-sope-gdl1-postgresql
-
-%package gdl1-devel
-Summary:	sope-gdl1 devel
-Group:		Development/Libraries
+This package contains the PostgreSQL connector for SOPE's fork of the
+GNUstep database libraries.
 
-%description gdl1-devel
-sope-gdl1 devel package.
+SOPE is a framework for developing web applications and services. The
+name "SOPE" (SKYRiX Object Publishing Environment) is inspired by ZOPE.
 
-%package EOF
-Summary:	Enterprise Objects Framework
-Summary(pl):	Szkielet Enterprise Objects Framework
-Group:		Development/Libraries
-Requires:	%{name}-core = %{version}-%{release}
+%package gdl1-mysql
+Summary:      MySQL connector for SOPE's fork of the GNUstep database environment
+Group:        Development/Libraries
+Requires:     sope%{sope_major_version}%{sope_minor_version}-gdl1
+AutoReqProv:  off
+
+%description gdl1-mysql
+This package contains the MySQL connector for SOPE's fork of the
+GNUstep database libraries.
+
+#%package gdl1-sqlite3
+#Summary:      SQLite3 connector for SOPE's fork of the GNUstep database environment
+#Group:        Development/Libraries
+#Requires:     sope%{sope_major_version}%{sope_minor_version}-gdl1
+#AutoReqProv:  off
+#
+#%description gdl1-sqlite3
+#This package contains the SQLite3 connector for SOPE's fork of the
+#GNUstep database libraries.
+#
+#SOPE is a framework for developing web applications and services. The
+#name "SOPE" (SKYRiX Object Publishing Environment) is inspired by ZOPE.
+
+%package gdl1-tools
+Summary:      Tools (gcs_cat/gcs_gensql/gcs_ls/gcs_mkdir/gcs_recreatequick)
+Group:        Development/Libraries
+Requires:     sope%{sope_major_version}%{sope_minor_version}-gdl1
+AutoReqProv:  off
 
-%description EOF
-Enterprise Objects Framework.
+%description gdl1-tools
+Various tools around the GDLContentStore.
 
-%description EOF -l pl
-Szkielet Enterprise Objects Framework.
+SOPE is a framework for developing web applications and services. The
+name "SOPE" (SKYRiX Object Publishing Environment) is inspired by ZOPE.
 
-%package EOF-devel
-Summary:	Headers for Enterprise Objects Framework
-Summary(pl):	Pliki nagłówkowe dla szkieletu Enterprise Objects Framework
-Group:		Development/Libraries
-Requires:	%{name}-EOF = %{version}-%{release}
+%package gdl1-devel
+Summary:      Development files for the GNUstep database libraries
+Group:        Development/Libraries
+Requires:     ogo-gnustep_make sope%{sope_major_version}%{sope_minor_version}-gdl1 postgresql-devel
+AutoReqProv:  off
 
-%description EOF-devel
-Headers for Enterprise Objects Framework.
+%description gdl1-devel
+This package contains the header files for SOPE's fork of the GNUstep
+database libraries (including GDLContentStore).
 
-%description EOF-devel -l pl
-Pliki nagłówkowe dla szkieletu Enterprise Objects Framework.
+SOPE is a framework for developing web applications and services. The
+name "SOPE" (SKYRiX Object Publishing Environment) is inspired by ZOPE.
 
 %prep
 %setup -q -n %{name}
 
 %build
-. %{_prefix}/System/Library/Makefiles/GNUstep.sh
-./configure --with-gnustep
+. %{prefix}/System/Library/Makefiles/GNUstep.sh
+export LIBRARY_COMBO=%{libcombo}
+export LDFLAGS="-llibobjc.so.lf2 %{rpmldflags}"
+./configure \
+	--prefix=$RPM_BUILD_ROOT%{_prefix} \
+	--gsmake=%{prefix}/System
+
 %{__make} \
 	all \
 	OPTFLAG="%{rpmcflags}" \
@@ -244,15 +402,34 @@
 
 %install
 rm -rf $RPM_BUILD_ROOT
-. %{_prefix}/System/Library/Makefiles/GNUstep.sh
+. %{prefix}/System/Library/Makefiles/GNUstep.sh
 
 %{__make} install \
-	GNUSTEP_INSTALLATION_DIR=$RPM_BUILD_ROOT%{_prefix}/System \
+	GNUSTEP_INSTALLATION_DIR=$RPM_BUILD_ROOT%{prefix}/System \
 	INSTALL_ROOT_DIR=$RPM_BUILD_ROOT
 
 %clean
 rm -rf $RPM_BUILD_ROOT
 
+%post appserver
+if [ $1 = 1 ]; then
+  if [ -d %{_sysconfdir}/ld.so.conf.d ]; then
+    echo "%{prefix}/lib" > %{_sysconfdir}/ld.so.conf.d/sope%{sope_major_version}%{sope_minor_version}.conf
+  elif [ ! "`grep '%{prefix}/lib' %{_sysconfdir}/ld.so.conf`" ]; then
+    echo "%{prefix}/lib" >> %{_sysconfdir}/ld.so.conf
+  fi
+  /sbin/ldconfig
+fi
+
+# ****************************** postun *********************************
+%postun appserver
+if [ $1 = 0 ]; then
+  if [ -e %{_sysconfdir}/ld.so.conf.d/sope%{sope_major_version}%{sope_minor_version}.conf ]; then
+    rm -f %{_sysconfdir}/ld.so.conf.d/sope%{sope_major_version}%{sope_minor_version}.conf
+  fi
+  /sbin/ldconfig
+fi
+
 %post	xml -p /sbin/ldconfig
 %postun	xml -p /sbin/ldconfig
 
@@ -262,9 +439,6 @@
 %post	mime -p /sbin/ldconfig
 %postun	mime -p /sbin/ldconfig
 
-%post	appserver -p /sbin/ldconfig
-%postun	appserver -p /sbin/ldconfig
-
 %post	ldap -p /sbin/ldconfig
 %postun	ldap -p /sbin/ldconfig
 
@@ -274,204 +448,156 @@
 %post	gdl1 -p /sbin/ldconfig
 %postun	gdl1 -p /sbin/ldconfig
 
-%post	EOF -p /sbin/ldconfig
-%postun	EOF -p /sbin/ldconfig
-
-
 %files xml
-%defattr(644,root,root,755)
-%attr(755,root,root) %{_prefix}/System/Library/Libraries/%{gscpu}/%{gsos}/%{libcombo}/libDOM*.so.%{version}*
-%attr(755,root,root) %{_prefix}/System/Library/Libraries/%{gscpu}/%{gsos}/%{libcombo}/libSaxObjC*.so.%{version}*
-%attr(755,root,root) %{_prefix}/System/Library/Libraries/%{gscpu}/%{gsos}/%{libcombo}/libXmlRpc*.so.%{version}*
-%dir %{_prefix}/System/Library/SaxDrivers-%{version}/libxmlSAXDriver.sax
-%dir %{_prefix}/System/Library/SaxDrivers-%{version}/libxmlSAXDriver.sax/%{gscpu}
-%dir %{_prefix}/System/Library/SaxDrivers-%{version}/libxmlSAXDriver.sax/%{gscpu}/%{gsos}
-%dir %{_prefix}/System/Library/SaxDrivers-%{version}/libxmlSAXDriver.sax/%{gscpu}/%{gsos}/%{libcombo}
-%dir %{_prefix}/System/Library/SaxDrivers-%{version}/STXSaxDriver.sax
-%dir %{_prefix}/System/Library/SaxDrivers-%{version}/STXSaxDriver.sax/%{gscpu}
-%dir %{_prefix}/System/Library/SaxDrivers-%{version}/STXSaxDriver.sax/%{gscpu}/%{gsos}
-%dir %{_prefix}/System/Library/SaxDrivers-%{version}/STXSaxDriver.sax/%{gscpu}/%{gsos}/%{libcombo}
-%dir %{_prefix}/System/Library/SaxDrivers-%{version}/libxmlSAXDriver.sax/Resources
-%dir %{_prefix}/System/Library/SaxDrivers-%{version}/STXSaxDriver.sax/Resources
-%attr(755,root,root) %{_prefix}/System/Library/SaxDrivers-%{version}/libxmlSAXDriver.sax/%{gscpu}/%{gsos}/%{libcombo}/*
-%attr(755,root,root) %{_prefix}/System/Library/SaxDrivers-%{version}/STXSaxDriver.sax/%{gscpu}/%{gsos}/%{libcombo}/*
-%{_prefix}/System/Library/SaxDrivers-%{version}/STXSaxDriver.sax/*.plist
-%{_prefix}/System/Library/SaxDrivers-%{version}/STXSaxDriver.sax/Resources/*.plist
-%{_prefix}/System/Library/SaxDrivers-%{version}/libxmlSAXDriver.sax/Resources/*.plist
-%{_prefix}/System/Library/SaxDrivers-%{version}/libxmlSAXDriver.sax/*.plist
-%{_prefix}/System/Library/SaxDrivers-%{version}/STXSaxDriver.sax/Resources/Version
-%{_prefix}/System/Library/SaxDrivers-%{version}/libxmlSAXDriver.sax/Resources/Version
-%{_prefix}/System/Library/SaxDrivers-%{version}/libxmlSAXDriver.sax/stamp.make
-%{_prefix}/System/Library/SaxDrivers-%{version}/STXSaxDriver.sax/stamp.make
+%defattr(-,root,root,-)
+%{_libdir}/libDOM*.so.%{sope_libversion}*
+%{_libdir}/libSaxObjC*.so.%{sope_libversion}*
+%{_libdir}/libXmlRpc*.so.%{sope_libversion}*
+%{_libdir}/sope-%{sope_libversion}/saxdrivers/libxmlSAXDriver.sax
+%{_libdir}/sope-%{sope_libversion}/saxdrivers/STXSaxDriver.sax
 
 %files xml-tools
-%defattr(644,root,root,755)
-%attr(755,root,root) %{_prefix}/System/Tools/%{gscpu}/%{gsos}/%{libcombo}/domxml
-%attr(755,root,root) %{_prefix}/System/Tools/%{gscpu}/%{gsos}/%{libcombo}/saxxml
-%attr(755,root,root) %{_prefix}/System/Tools/%{gscpu}/%{gsos}/%{libcombo}/xmln
+%defattr(-,root,root,-)
+%{_bindir}/domxml
+%{_bindir}/saxxml
+%{_bindir}/xmln
 
 %files xml-devel
-%defattr(644,root,root,755)
-%attr(755,root,root) %{_prefix}/System/Library/Libraries/%{gscpu}/%{gsos}/%{libcombo}/libDOM*.so
-%attr(755,root,root) %{_prefix}/System/Library/Libraries/%{gscpu}/%{gsos}/%{libcombo}/libSaxObjC*.so
-%attr(755,root,root) %{_prefix}/System/Library/Libraries/%{gscpu}/%{gsos}/%{libcombo}/libXmlRpc*.so
-%{_prefix}/System/Library/Headers/%{libcombo}/DOM
-%{_prefix}/System/Library/Headers/%{libcombo}/SaxObjC
-%{_prefix}/System/Library/Headers/%{libcombo}/XmlRpc
+%defattr(-,root,root,-)
+%{_includedir}/DOM
+%{_includedir}/SaxObjC
+%{_includedir}/XmlRpc
+%{_libdir}/libDOM*.so
+%{_libdir}/libSaxObjC*.so
+%{_libdir}/libXmlRpc*.so
 
 %files core
-%defattr(644,root,root,755)
-%attr(755,root,root) %{_prefix}/System/Library/Libraries/%{gscpu}/%{gsos}/%{libcombo}/libNGExtensions*.so.%{version}*
-%attr(755,root,root) %{_prefix}/System/Library/Libraries/%{gscpu}/%{gsos}/%{libcombo}/libNGStreams*.so.%{version}*
+%defattr(-,root,root,-)
+%{_libdir}/libEOControl*.so.%{sope_libversion}*
+%{_libdir}/libNGExtensions*.so.%{sope_libversion}*
+%{_libdir}/libNGStreams*.so.%{sope_libversion}*
 
 %files core-devel
-%defattr(644,root,root,755)
-%attr(755,root,root) %{_prefix}/System/Library/Libraries/%{gscpu}/%{gsos}/%{libcombo}/libNGExtensions*.so
-%attr(755,root,root) %{_prefix}/System/Library/Libraries/%{gscpu}/%{gsos}/%{libcombo}/libNGStreams*.so
-%{_prefix}/System/Library/Headers/%{libcombo}/NGExtensions
-%{_prefix}/System/Library/Headers/%{libcombo}/NGStreams
+%defattr(-,root,root,-)
+%{_includedir}/EOControl
+%{_includedir}/NGExtensions
+%{_includedir}/NGStreams
+%{_libdir}/libEOControl*.so
+%{_libdir}/libNGExtensions*.so
+%{_libdir}/libNGStreams*.so
 
 %files mime
-%defattr(644,root,root,755)
-%attr(755,root,root) %{_prefix}/System/Library/Libraries/%{gscpu}/%{gsos}/%{libcombo}/libNGMime*.so.%{version}*
+%defattr(-,root,root,-)
+%{_libdir}/libNGMime*.so.%{sope_libversion}*
 
 %files mime-devel
-%defattr(644,root,root,755)
-%attr(755,root,root) %{_prefix}/System/Library/Libraries/%{gscpu}/%{gsos}/%{libcombo}/libNGMime*.so
-%{_prefix}/System/Library/Headers/%{libcombo}/NGImap4
-%{_prefix}/System/Library/Headers/%{libcombo}/NGMail
-%{_prefix}/System/Library/Headers/%{libcombo}/NGMime
+%defattr(-,root,root,-)
+%{_includedir}/NGImap4
+%{_includedir}/NGMail
+%{_includedir}/NGMime
+%{_libdir}/libNGMime*.so
 
 %files appserver
-%defattr(644,root,root,755)
-%attr(755,root,root) %{_prefix}/System/Library/Libraries/%{gscpu}/%{gsos}/%{libcombo}/libNGObjWeb*.so.%{version}*
-%attr(755,root,root) %{_prefix}/System/Library/Libraries/%{gscpu}/%{gsos}/%{libcombo}/libNGXmlRpc*.so.%{version}*
<<Diff was trimmed, longer than 597 lines>>

---- CVS-web:
    http://cvs.pld-linux.org/SPECS/sope.spec?r1=1.14&r2=1.15&f=u




More information about the pld-cvs-commit mailing list