opengroupware.spolszczenie
Michał Panasiewicz
wolvverine w tarchomin.pl
Wto, 16 Lis 2004, 01:35:50 CET
Dnia 14-11-2004, nie o godzinie 13:07 +0100, Michał Panasiewicz
napisał(a):
> Dnia 14-11-2004, nie o godzinie 12:29 +0100, Andrzej Zawadzki
> napisał(a):
> > Michał Panasiewicz wrote:
> > > SPECE mam porobione
> >
> > I są w CVSie?
> nie ma
>
> >
> > > tyle tylko ze trzeba je będzie ciut poprawić
> > > oraz nie narzekać na następną wersje Gnustep-a w repozytorium
> > > (Gnustep-OGo) niestety normalnie nie da na razie rady (coś zmieniają
> > > powoli w OG ale troche to jeszcze potrwa)
> >
> > Właśnie w okolicach tego wywalało mi się ostatnio budowanie tego co mi
> > przesłałeś.
> > Postaram się dziś pobudować na testowej maszynce.
> >
> nie ma sensu, tamte są na orginalnym gnustepie i nie pójdą
kurcze dopiero zauwazyłem ze:
Wysłana na listę pld-devel-pl wiadomość o tytule
Re: opengroupware.spolszczenie
została wstrzymana do dalszej decyzji moderatora.
Powodem wstrzymania było:
Wiadomość zbyt duża: 49698 bajtów przy limicie 40 kB
>
masz tu to na czym skonczyłem
trzeba tylko je zmienic by korzystały z gnustepa dla OGo
opis do gnustepa jest tu
http://sope.opengroupware.org/en/build/thirdparty.html
tylko w tej chwili nie potrzebny juz jest GNUstep Objective-C Runtime
zastapiła go libFoundation Library
z tych specy co podesłąłęm budowało mi sie poprawnie aż doszło do
opengroupware spec i padło (włąśnie z powodu tego ze nie było robione na
ogo-gnustep
strona o błedach przy kompilacji
http://www.opengroupware.org/en/devs/build/errors.html
--
jabber: wolvverine [ at ] chrome [ dot ] pl
e-mail: wolvverine [ at ] tlen [ dot ] pl
-------------- następna część ---------
# $Revision:$, $Date:$
%define libf_objc_makeflags -s
%define __source .
Summary: GNUstep Objective C runtime.
Name: libobjc-lf2
Version: lf2
Release: 95.3
Vendor: http://www.gnustep.org
License: GPL
Group: Development/Libraries
AutoReqProv: off
Source0: http://download.opengroupware.org/sources/trunk/%{name}-trunk-latest.tar.gz
#Patch0:
URL: http://www.opengroupware.org
BuildRoot: %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
BuildPreReq: gnustep-make
BuildRequires: autoconf
BuildRequires: automake
BuildRequires: bison
BuildRequires: flex
BuildRequires: gcc-objc
BuildRequires: gnustep-make >= 1.10.0
%description
GNUstep Objective C runtime.
%package devel
Summary: The header files for the objc library.
Group: Development/Libraries
Requires: %{name} = %{version}-%{release}
Requires: gnustep-make
AutoReqProv: off
%description devel
GNUstep Objective C development package.
%prep
%setup -q -n libobjc-lf2
%build
%{__source} %{_libdir}/GNUstep/System/Library/Makefiles/GNUstep.sh
%{__make} %{libf_objc_makeflags} all
%install
rm -rf $RPM_BUILD_ROOT
%{__source} %{_libdir}/GNUstep/System/Library/Makefiles/GNUstep.sh
%{__make} %{libf_objc_makeflags} GNUSTEP_INSTALLATION_DIR=${RPM_BUILD_ROOT}%{_libdir}/GNUstep/System install
install -d ${RPM_BUILD_ROOT}%{_libdir}
mv ${RPM_BUILD_ROOT}%{_libdir}/GNUstep/System/Library/Libraries/ix86/linux-gnu/gnu-gnu-gnu/libobjc*.so.lf2* ${RPM_BUILD_ROOT}%{_libdir}/
%post
if [ $1 = 1 ]; then
if [ -e %{_libdir}/libobjc_d.so.lf2 ]; then
cd %{_libdir}/GNUstep/System/Library/Libraries/ix86/linux-gnu/gnu-gnu-gnu
ln -s %{_libdir}/libobjc_d.so.lf2
fi
if [ -e %{_libdir}/libobjc.so.lf2 ]; then
cd %{_libdir}/GNUstep/System/Library/Libraries/ix86/linux-gnu/gnu-gnu-gnu
ln -s %{_libdir}/libobjc.so.lf2
fi
if [ -d %{_sysconfdir}/ld.so.conf.d ]; then
echo "%{_libdir}" > %{_sysconfdir}/ld.so.conf.d/libobjc-lf2.conf
elif [ ! "`grep '%{_libdir}' %{_sysconfdir}/ld.so.conf`" ]; then
echo "%{_libdir}" >> %{_sysconfdir}/ld.so.conf
fi
/sbin/ldconfig
fi
%postun
if [ $1 = 0 ]; then
if [ -h %{_libdir}/GNUstep/System/Library/Libraries/ix86/linux-gnu/gnu-gnu-gnu/libobjc_d.so.lf2 ]; then
rm -f %{_libdir}/GNUstep/System/Library/Libraries/ix86/linux-gnu/gnu-gnu-gnu/libobjc_d.so.lf2
fi
if [ -h %{_libdir}/GNUstep/System/Library/Libraries/ix86/linux-gnu/gnu-gnu-gnu/libobjc.so.lf2 ]; then
rm -f %{_libdir}/GNUstep/System/Library/Libraries/ix86/linux-gnu/gnu-gnu-gnu/libobjc.so.lf2
fi
if [ -e %{_sysconfdir}/ld.so.conf.d/libobjc-lf2.conf ]; then
rm -f %{_sysconfdir}/ld.so.conf.d/libobjc-lf2.conf
fi
/sbin/ldconfig
fi
%clean
rm -fr ${RPM_BUILD_ROOT}
%files
%defattr(644,root,root,755)
%attr(755,root,root) %{_libdir}/libobjc*.so.lf2*
%files devel
%defattr(644,root,root,755)
%{_libdir}/GNUstep/System/Library/Headers/gnu-gnu-gnu/objc
%attr(755,root,root) %{_libdir}/GNUstep/System/Library/Libraries/ix86/linux-gnu/gnu-gnu-gnu/libobjc*.so
%define date %(echo `LC_ALL="C" date +"%a %b %d %Y"`)
%changelog
* %{date} PLD Team <feedback w pld-linux.org>
All persons listed below can be reached at <cvs_login>@pld-linux.org
$Log:$
* Wed Sep 09 2004 Frank Reppin <frank w opengroupware.org>
- initial build
-------------- następna część ---------
# $Revision:$, $Date:$
%define pilot-link_makeflags -w
%define __source .
Summary: OGo Pilot link
Name: opengroupware.org-pilot-link
Version: 1.0a
Release: 8
Vendor: http://www.opengroupware.org
License: LGPL
Group: Development/Libraries
AutoReqProv: off
Source0: http://download.opengroupware.org/sources/trunk/%{name}-trunk-latest.tar.gz
#Patch:
URL: http://www.gnustep.org
#Requires:
#BuildPreReq:
BuildRoot: %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
Requires: readline
BuildRequires: autoconf
BuildRequires: automake
BuildRequires: bison
BuildRequires: flex
BuildRequires: gnustep-make >= 1.10
BuildRequires: readline-devel >= 4.3
BuildRequires: libiconv-devel >= 1.9.2
BuildRequires: perl
BuildRequires: ncurses-devel >= 5.4
BuildRequires: compat-libg++-2.7
BuildRequires: libpng-devel >= 1.2.7
BuildRequires: libxml2-devel
BuildRequires: postgresql-devel
BuildRequires: openldap-devel >= 2.2.17
BuildRequires: libxml2-progs
libc6-dev
gobjc
libpisock-devel
# BuildRequires: ElectricFence >= 2.2.2
%description
%description -l pl
%package opengroupware.org-pilot-link-devel
Summary: opengroupware.org pilot link devel
Group: Development/Libraries
#Requires: gnustep-make
AutoReqProv: off
%description opengroupware.org-pilot-link-devel
opengroupware.org pilot link devel package.
%package opengroupware.org-pilot-link
Summary: opengroupware.org pilot link
Group: Development/Libraries
#Requires: gnustep-make
AutoReqProv: off
%description opengroupware.org-pilot-link
opengroupware.org pilot link package.
%prep
%setup -q -n %{name}
%build
%{__source} %{_libdir}/GNUstep/System/Library/Makefiles/GNUstep.sh
%configure
%{__make} %{pilot-link_makeflags} all
%install
rm -rf $RPM_BUILD_ROOT
%{__make} %{pilot-link_makeflags} INSTALL_ROOT_DIR=${RPM_BUILD_ROOT} \
GNUSTEP_INSTALLATION_DIR=${RPM_BUILD_ROOT}%{_prefix} \
FHS_INSTALL_ROOT=${RPM_BUILD_ROOT}%{_prefix} \
install
%pre
%post
%postun
%clean
rm -fr ${RPM_BUILD_ROOT}
%files opengroupware.org-pilot-link
%defattr(644,root,root,755)
%dir %attr(700,ogo,skyrix)
%files opengroupware.org-pilot-link-devel
%defattr(644,root,root,755)
%dir %attr(700,ogo,skyrix)
%define date %(echo `LC_ALL="C" date +"%a %b %d %Y"`)
%changelog
* %{date} PLD Team <feedback w pld-linux.org>
All persons listed below can be reached at <cvs_login>@pld-linux.org
$Log:$
* Wed Sep 09 2004 Frank Reppin <frank w opengroupware.org>
- initial release
-------------- następna część ---------
# $Revision:$, $Date:$
%define libf_makeflags -w
%define __source .
Summary: libFoundation Objective-C library.
Name: libfoundation
Version: 1.0
Release: 62.1
Vendor: OpenGroupware.org
License: libFoundation license
Group: Development/Libraries
AutoReqProv: off
Source0: http://download.opengroupware.org/sources/trunk/%{name}-trunk-latest.tar.gz
#Patch0:
URL: http://www.opengroupware.org
BuildRoot: %{tmpdir}/%{name}-%{version}.%{release}-root-%(id -u -n)
Requires: libobjc-lf2
BuildRequires: autoconf
BuildRequires: automake
BuildRequires: bison
BuildRequires: flex
BuildRequires: gcc-objc
BuildRequires: libobjc
BuildRequires: gnustep-make >= 1.10.0
BuildRequires: libobjc-lf2
BuildRequires: libobjc-lf2-devel
%description
This package contains the libFoundation library, an Objective-C
library which aims to implement the Foundation part of the OpenStep
specification.
%package devel
Summary: The header files for the libfoundation objective c library.
Group: Development/Libraries
Requires: gnustep-make >= 1.10.0
Requires: %{name} = %{version}-%{release}
AutoReqProv: off
%description devel
libFoundation objective-c development package.
%prep
%setup -q -n libfoundation
%build
%{__source} %{_libdir}/GNUstep/System/Library/Makefiles/GNUstep.sh
./configure
%{__make} %{libf_makeflags} all
%install
rm -rf $RPM_BUILD_ROOT
%{__source} %{_libdir}/GNUstep/System/Library/Makefiles/GNUstep.sh
install -d ${RPM_BUILD_ROOT}%{_libdir}
install -d ${RPM_BUILD_ROOT}%{_libdir}/GNUstep/System/Library/Makefiles/Additional
%{__make} %{libf_makeflags} INSTALL_ROOT_DIR=${RPM_BUILD_ROOT} \
GNUSTEP_INSTALLATION_DIR=${RPM_BUILD_ROOT}%{_prefix} \
FHS_INSTALL_ROOT=${RPM_BUILD_ROOT}%{_prefix} \
install
rm -f ${RPM_BUILD_ROOT}%{_prefix}/GNUstep/System/Library/Headers/libFoundation/extensions/exceptions/FoundationException.h
rm -f ${RPM_BUILD_ROOT}%{_prefix}/GNUstep/System/Library/Headers/libFoundation/extensions/exceptions/GeneralExceptions.h
rm -f ${RPM_BUILD_ROOT}%{_prefix}/GNUstep/System/Library/Headers/libFoundation/extensions/exceptions/NSCoderExceptions.h
%post
if [ $1 = 1 ]; then
if [ -d %{_sysconfdir}/ld.so.conf.d ]; then
echo "/usr/lib" > %{_sysconfdir}/ld.so.conf.d/libfoundation.conf
elif [ ! "`grep '/usr/lib' %{_sysconfdir}/ld.so.conf`" ]; then
echo "/usr/lib" >> %{_sysconfdir}/ld.so.conf
fi
/sbin/ldconfig
fi
%postun
if [ $1 = 0 ]; then
if [ -e %{_sysconfdir}/ld.so.conf.d/libfoundation.conf ]; then
rm -f %{_sysconfdir}/ld.so.conf.d/libfoundation.conf
fi
/sbin/ldconfig
fi
%clean
rm -fr ${RPM_BUILD_ROOT}
%files
%defattr(644,root,root,755)
%attr(755,root,root) %{_bindir}/Defaults
%attr(755,root,root) %{_libdir}/libFoundation*.so.%{version}
# %attr(755,root,root) %{_libdir}/libFoundation*.so.1.0
%{_datadir}/libFoundation/CharacterSets
%{_datadir}/libFoundation/Defaults
%{_datadir}/libFoundation/TimeZoneInfo
%files devel
%defattr(644,root,root,755)
%dir %attr(755,root,root) %{_libdir}/GNUstep/System/Library/Makefiles/Additional
%{_libdir}/GNUstep/System/Library/Makefiles/Additional/libFoundation.make
%{_includedir}/lfmemory.h
%{_includedir}/real_exception_file.h
%{_includedir}/Foundation
%{_includedir}/extensions
%attr(755,root,root) %{_libdir}/libFoundation*.so
%define date %(echo `LC_ALL="C" date +"%a %b %d %Y"`)
%changelog
* %{date} PLD Team <feedback w pld-linux.org>
All persons listed below can be reached at <cvs_login>@pld-linux.org
$Log:$
-------------- następna część ---------
# $Revision:$, $Date:$
Summary: OGo environment
Name: ogo-environment
Version: 1.0a
Release: 8
Vendor: http://www.opengroupware.org
License: LGPL
Group: Development/Libraries
AutoReqProv: off
#Source: %{ogo_env_source}
#Patch:
URL: http://www.gnustep.org
#Requires:
#BuildPreReq:
BuildRoot: %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
%description
Adds the required user and some configurations.
%description
Ustawia wymagane przez OpenGroupware.org zmienne, userów i podstawową konfiguracje.
%prep
%build
%install
rm -rf $RPM_BUILD_ROOT
install -d ${RPM_BUILD_ROOT}%{_var}/lib/opengroupware.org/.libFoundation/Defaults
install -d ${RPM_BUILD_ROOT}%{_var}/lib/opengroupware.org/documents
install -d ${RPM_BUILD_ROOT}%{_var}/lib/opengroupware.org/news
%pre
if [ $1 = 1 ]; then
OGO_USER="ogo"
OGO_GROUP="skyrix"
OGO_SHELL="`which bash`"
OGO_HOME="%{_var}/lib/opengroupware.org"
echo -en "adding group ${OGO_GROUP}.\n"
/usr/sbin/groupadd "${OGO_GROUP}" 2>/dev/null || :
echo -en "adding user ${OGO_USER}.\n"
/usr/sbin/useradd -c "OpenGroupware.org User" \
-s "${OGO_SHELL}" -d "${OGO_HOME}" -g "${OGO_GROUP}" "${OGO_USER}" 2>/dev/null || :
fi
%post
if [ $1 = 1 ]; then
cd %{_sysconfdir}
ln -s %{_var}/lib/opengroupware.org/.libFoundation opengroupware.org
## some defaults
OGO_USER="ogo"
export PATH=$PATH:%{prefix}/bin
su - ${OGO_USER} -c "
Defaults write NSGlobalDomain LSConnectionDictionary '{hostName=localhost; userName=OGo; password=\"\"; port=5432; databaseName=OGo}'
Defaults write NSGlobalDomain skyrix_id `hostname`
Defaults write NSGlobalDomain TimeZoneName GMT
Defaults write NSGlobalDomain WOHttpAllowHost '( localhost, 127.0.0.1, localhost.localdomain)'
Defaults write nhsd NGBundlePath '%{prefix}/opengroupware.org-1.0a/conduits'
"
##
if [ -f %{_var}/lib/pgsql/data/pg_hba.conf ]; then
if [ "`grep -iE '^host.*all.*all.*127.0.0.1.*trust$' %{_var}/lib/pgsql/data/pg_hba.conf`" ]; then
echo -en "pg_hba.conf seems to be OK.\n"
else
echo -en "pg_hba.conf needs to be edited - please refer to our FAQ\n"
fi
fi
if [ -f %{_var}/lib/pgsql/data/postgresql.conf ]; then
if [ "`grep -iE '^tcpip_socket.*=.*true$' %{_var}/lib/pgsql/data/postgresql.conf`" ]; then
echo -en "postgresql.conf seems to be OK.\n"
else
echo -en "postgresql.conf needs to be edited - please refer to our FAQ\n"
fi
fi
##
if [ -d %{_sysconfdir}/ld.so.conf.d ]; then
echo "%{_libdir}/" > %{_sysconfdir}/ld.so.conf.d/opengroupware.conf
elif [ ! "`grep '%{_libdir}/' %{_sysconfdir}/ld.so.conf`" ]; then
echo "%{_libdir}/" >> %{_sysconfdir}/ld.so.conf
fi
/sbin/ldconfig
fi
%postun
if [ $1 = 0 ]; then
OGO_USER="ogo"
OGO_GROUP="skyrix"
if [ "`getent passwd ${OGO_USER}`" ]; then
echo -en "removing user ${OGO_USER}.\n"
/usr/sbin/userdel "${OGO_USER}" 2>/dev/null || :
fi
if [ "`getent group ${OGO_GROUP}`" ]; then
echo -en "removing group ${OGO_GROUP}.\n"
/usr/sbin/groupdel "${OGO_GROUP}" 2>/dev/null || :
fi
if [ -h "/etc/opengroupware.org" ]; then
rm /etc/opengroupware.org
fi
if [ -e %{_sysconfdir}/ld.so.conf.d/opengroupware.conf ]; then
rm -f %{_sysconfdir}/ld.so.conf.d/opengroupware.conf
fi
/sbin/ldconfig
fi
%clean
rm -fr ${RPM_BUILD_ROOT}
%files
%defattr(644,root,root,755)
%dir %attr(700,ogo,skyrix) %{_var}/lib/opengroupware.org/.libFoundation
%dir %attr(700,ogo,skyrix) %{_var}/lib/opengroupware.org/.libFoundation/Defaults
%dir %attr(700,ogo,skyrix) %{_var}/lib/opengroupware.org/documents
%dir %attr(700,ogo,skyrix) %{_var}/lib/opengroupware.org/news
%define date %(echo `LC_ALL="C" date +"%a %b %d %Y"`)
%changelog
* %{date} PLD Team <feedback w pld-linux.org>
All persons listed below can be reached at <cvs_login>@pld-linux.org
$Log:$
* Wed Sep 09 2004 Frank Reppin <frank w opengroupware.org>
- initial release
-------------- następna część ---------
# $Revision:$, $Date:$
%define __source .
%define sope_makeflags -w -s debug=yes strip=yes
Summary: SOPE
Summary(pl): SOPE
Name: sope
Version: 4.3
Release: 8.0
Vendor: http://www.opengroupware.org
License: GPL
Source0: http://download.opengroupware.org/sources/trunk/%{name}-trunk-latest.tar.gz
#Patch0:
URL: http://www.opengroupware.org
Group: Development/Libraries
AutoReqProv: off
BuildRoot: %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
BuildPreReq: gnustep-make
Requires: libfoundation
#Requires: libobjc
Requires: libobjc-lf2
Requires: libical-sope
Requires: postgresql >= 7.2.0
Requires: openldap >= 2.2.10
Requires: libxml2 >= 2.6.14
Requires: apache >= 2.0.50
Requires: zlib >= 1.1.0
BuildRequires: autoconf
BuildRequires: automake
BuildRequires: bison
BuildRequires: flex
BuildRequires: gcc-objc
BuildRequires: binutils >= 2.15.90
BuildRequires: zlib-devel >= 1.1.0
BuildRequires: apache-devel >= 2.0.50
BuildRequires: libxml2-devel >= 2.6.14
BuildRequires: openldap-devel >= 2.2.10
BuildRequires: postgresql-devel >= 7.4.0
BuildRequires: gnustep-make >= 1.10.0
BuildRequires: gnustep-make-devel >= 1.10.0
BuildRequires: libfoundation-devel
BuildRequires: libfoundation
BuildRequires: libical-sope
BuildRequires: libobjc
BuildRequires: libobjc-lf2
BuildRequires: libobjc-lf2-devel
BuildRequires: postgresql >= 7.2.0
BuildRequires: openldap >= 2.2.17
BuildRequires: libxml2 >= 2.6.10
BuildRequires: apache >= 2.0.50
BuildRequires: zlib >= 1.2.1
BuildRequires: gettext-devel >=0.14.1
BuildRequires: libstdc++ >=3.3.45
BuildRequires: libffi-devel >= 3.3.5
BuildRequires: libxml >= 1.8.17
BuildRequires: ffcall-devel >= 1.10
BuildRequires: gmp-devel >= 4.1.2
BuildRequires: glibc-devel >= 2.3.4
BuildRequires: openssl-devel >= 0.9.7
BuildRequires: gnustep-base-devel >= 1.10.0 #mi skompilowało przy 1.9.2-2 ale...
BuildRequires: gnustep-base >= 1.10.0
BuildRequires: cyrus-sasl-devel >= 2.1.18
BuildRequires: expat-devel >= 1.95.7
BuildRequires: STLport-devel >= 4.6.2
BuildRequires: libtool >= 1.5.10
Requires(post,postun): /sbin/ldconfig
%description
sope
%description -l pl
sope
%package xml
Summary: sope-xml
Group: Development/Libraries
#Requires: gnustep-make
AutoReqProv: off
%description xml
sope-xml
%package xml-devel
Summary: sope-xml devel
Group: Development/Libraries
#Requires: gnustep-make
AutoReqProv: off
%description xml-devel
sope-xml devel package.
%package xml-tools
Summary: sope-xml tools
Group: Development/Libraries
#Requires: gnustep-make
AutoReqProv: off
%description xml-tools
sope-xml tools package.
%package core
Summary: sope-core
Group: Development/Libraries
#Requires: gnustep-make
AutoReqProv: off
%description core
sope-core
%package core-devel
Summary: sope-core devel
Group: Development/Libraries
#Requires: gnustep-make
AutoReqProv: off
%description core-devel
sope-core devel package.
%package mime
Summary: sope-mime
Group: Development/Libraries
#Requires: gnustep-make
AutoReqProv: off
%description mime
sope-mime
%package mime-devel
Summary: sope-mime devel
Group: Development/Libraries
#Requires: gnustep-make
AutoReqProv: off
%description mime-devel
sope-mime devel package.
%package appserver
Summary: sope-appserver
Group: Development/Libraries
#Requires: gnustep-make
AutoReqProv: off
%description appserver
sope-appserver
%package appserver-devel
Summary: sope-appserver devel
Group: Development/Libraries
#Requires: gnustep-make
AutoReqProv: off
%description appserver-devel
sope-appserver devel package.
%package appserver-tools
Summary: sope-appserver tools
Group: Development/Libraries
#Requires: gnustep-make
AutoReqProv: off
%description appserver-tools
sope-appserver tools package.
%package ldap
Summary: sope-ldap
Group: Development/Libraries
#Requires: gnustep-make
AutoReqProv: off
%description ldap
sope-ldap
%package ldap-devel
Summary: sope-ldap devel
Group: Development/Libraries
#Requires: gnustep-make
AutoReqProv: off
%description ldap-devel
sope-ldap devel package.
%package ldap-tools
Summary: sope-ldap tools
Group: Development/Libraries
#Requires: gnustep-make
AutoReqProv: off
%description ldap-tools
sope-ldap tools package.
%package ical
Summary: sope-ical
Group: Development/Libraries
#Requires: gnustep-make
AutoReqProv: off
%description ical
sope-ical
%package ical-devel
Summary: sope-ical devel
Group: Development/Libraries
#Requires: gnustep-make
AutoReqProv: off
%description ical-devel
sope-ical devel package.
%package gdl1
Summary: sope-gdl1
Group: Development/Libraries
#Requires: gnustep-make
AutoReqProv: off
%description gdl1
sope-gdl1
%package gdl1-postgresql
Summary: sope-gdl1-postgresql
Group: Development/Libraries
#Requires: gnustep-make
AutoReqProv: off
%description gdl1-postgresql
sope-gdl1-postgresql
%package gdl1-devel
Summary: sope-gdl1 devel
Group: Development/Libraries
#Requires: gnustep-make
AutoReqProv: off
%description gdl1-devel
sope-gdl1 devel package.
%prep
rm -fr ${RPM_BUILD_ROOT}
%setup -q -n sope
%build
%{__source} %{_libdir}/GNUstep/System/Library/Makefiles/GNUstep.sh
%{__make} %{sope_makeflags}
%install
rm -rf $RPM_BUILD_ROOT
%{__source} %{_libdir}/GNUstep/System/Library/Makefiles/GNUstep.sh
install -d ${RPM_BUILD_ROOT}%{_libdir}
%{__make} %{sope_makeflags} INSTALL_ROOT_DIR=${RPM_BUILD_ROOT} \
GNUSTEP_INSTALLATION_DIR=${RPM_BUILD_ROOT}%{_prefix} \
FHS_INSTALL_ROOT=${RPM_BUILD_ROOT}%{_prefix} \
install
rm -f ${RPM_BUILD_ROOT}%{_bindir}/rss2plist1
rm -f ${RPM_BUILD_ROOT}%{_bindir}/rss2plist2
rm -f ${RPM_BUILD_ROOT}%{_bindir}/rssparse
rm -f ${RPM_BUILD_ROOT}%{_bindir}/testqp
%post
%postun
%clean
%files xml
%defattr(644,root,root,755)
%{_libdir}/libDOM*.so.%{version}*
%{_libdir}/libSaxObjC*.so.%{version}*
%{_libdir}/libXmlRpc*.so.%{version}*
%{_libdir}/sope-%{version}/saxdrivers/libxmlSAXDriver.sax
%{_libdir}/sope-%{version}/saxdrivers/STXSaxDriver.sax
%files xml-tools
%defattr(644,root,root,755)
%attr(755,root,root) %{_bindir}/domxml
%attr(755,root,root) %{_bindir}/saxxml
%attr(755,root,root) %{_bindir}/xmln
%files xml-devel
%defattr(644,root,root,755)
%{_includedir}/DOM
%{_includedir}/SaxObjC
%{_includedir}/XmlRpc
%{_libdir}/libDOM*.so
%{_libdir}/libSaxObjC*.so
%{_libdir}/libXmlRpc*.so
%files core
%defattr(644,root,root,755)
%{_libdir}/libEOControl*.so.%{version}*
%{_libdir}/libNGExtensions*.so.%{version}*
%{_libdir}/libNGStreams*.so.%{version}*
%files core-devel
%defattr(644,root,root,755)
%{_includedir}/EOControl
%{_includedir}/NGExtensions
%{_includedir}/NGStreams
%{_libdir}/libEOControl*.so
%{_libdir}/libNGExtensions*.so
%{_libdir}/libNGStreams*.so
%files mime
%defattr(644,root,root,755)
%{_libdir}/libNGMime*.so.%{version}*
%files mime-devel
%defattr(644,root,root,755)
%{_includedir}/NGImap4
%{_includedir}/NGMail
%{_includedir}/NGMime
%{_libdir}/libNGMime*.so
%files appserver
%defattr(644,root,root,755)
%{_libdir}/libNGObjWeb*.so.%{version}*
%{_libdir}/libNGXmlRpc*.so.%{version}*
%{_libdir}/libSoOFS*.so.%{version}*
%{_libdir}/libWEExtensions*.so.%{version}*
%{_libdir}/libWOExtensions*.so.%{version}*
%{_libdir}/libWOXML*.so.%{version}*
%{_datadir}/sope-%{version}/ngobjweb/DAVPropMap.plist
%{_datadir}/sope-%{version}/ngobjweb/Defaults.plist
%{_datadir}/sope-%{version}/ngobjweb/Languages.plist
%{_libdir}/sope-%{version}/products/SoCore.sxp
%{_libdir}/sope-%{version}/products/SoOFS.sxp
%{_libdir}/sope-%{version}/wox-builders/WEExtensions.wox
%{_libdir}/sope-%{version}/wox-builders/WOExtensions.wox
%files appserver-tools
%defattr(644,root,root,755)
%attr(755,root,root) %{_sbindir}/sope-%{version}
%attr(755,root,root) %{_bindir}/xmlrpc_call
%files appserver-devel
%defattr(644,root,root,755)
%attr(755,root,root) %{_bindir}/wod
%{_includedir}/NGHttp
%{_includedir}/NGObjWeb
%{_includedir}/NGXmlRpc
%{_includedir}/SoOFS
%{_includedir}/WEExtensions
%{_includedir}/WOExtensions
%{_includedir}/WOXML
%{_libdir}/libNGObjWeb*.so
%{_libdir}/libNGXmlRpc*.so
%{_libdir}/libSoOFS*.so
%{_libdir}/libWEExtensions*.so
%{_libdir}/libWOExtensions*.so
%{_libdir}/libWOXML*.so
%{_libdir}/GNUstep/System/Library/Makefiles/Additional/ngobjweb.make
%{_libdir}/GNUstep/System/Library/Makefiles/woapp.make
%{_libdir}/GNUstep/System/Library/Makefiles/wobundle.make
%files ldap
%defattr(644,root,root,755)
%{_libdir}/libNGLdap*.so.%{version}*
%files ldap-tools
%defattr(644,root,root,755)
%attr(755,root,root) %{_bindir}/ldap2dsml
%attr(755,root,root) %{_bindir}/ldapchkpwd
%attr(755,root,root) %{_bindir}/ldapls
%files ldap-devel
%defattr(644,root,root,755)
%{_includedir}/NGLdap
%{_libdir}/libNGLdap*.so
%files ical
%defattr(644,root,root,755)
%{_libdir}/libNGiCal*.so.%{version}*
%{_datadir}/sope-%{version}/saxmappings/NGiCal.xmap
%{_libdir}/sope-%{version}/saxdrivers/iCalSaxDriver.sax
%files ical-devel
%defattr(644,root,root,755)
%{_includedir}/NGiCal
%{_libdir}/libNGiCal*.so
%files gdl1
%defattr(644,root,root,755)
%attr(755,root,root) %{_bindir}/connect-EOAdaptor
%attr(755,root,root) %{_bindir}/load-EOAdaptor
%{_libdir}/libGDLAccess*.so.1.1*
%files gdl1-postgresql
%defattr(644,root,root,755)
%{_libdir}/sope-%{version}/dbadaptors/PostgreSQL.gdladaptor
%files gdl1-devel
%defattr(644,root,root,755)
%{_includedir}/GDLAccess
%{_libdir}/libGDLAccess*.so
%define date %(echo `LC_ALL="C" date +"%a %b %d %Y"`)
%changelog
* %{date} PLD Team <feedback w pld-linux.org>
All persons listed below can be reached at <cvs_login>@pld-linux.org
$Log:$
* Wed Sep 09 2004 Frank Reppin <frank w opengroupware.org>
- initial build
-------------- następna część ---------
# $Revision:$, $Date:$
%define __source .
%define libical_makeflags -s
Summary: IETF's iCalendar Calendaring and Scheduling protocols.
Name: libical-sope
Version: 1.0
Release: 0.38
Vendor: OpenGroupware.org
License: LGPL
Group: Development/Libraries
AutoReqProv: off
Source0: http://download.opengroupware.org/sources/trunk/%{name}-trunk-latest.tar.gz
#Patch0:
URL: http://www.softwarestudio.org/libical
BuildRoot: %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
Requires: libfoundation
Requires: libobjc-lf2
#Requires: gnustep-make
BuildRequires: autoconf
BuildRequires: automake
BuildRequires: bison
BuildRequires: flex
BuildRequires: gcc-objc
BuildRequires: gnustep-make >= 1.10.0
BuildRequires: libobjc-lf2
BuildRequires: libobjc-lf2-devel
BuildRequires: libfoundation-devel
BuildRequires: libfoundation
%description
Libical is an Open Source implementation of the IETF's iCalendar
Calendaring and Scheduling protocols. (RFC 2445, 2446, and 2447). It
parses iCal components and provides a C API for manipulating the
component properties, parameters, and subcomponents.
%prep
%setup -q -n libical-sope
# ****************************** build ********************************
%build
%{__source} %{_libdir}/GNUstep/System/Library/Makefiles/GNUstep.sh
./cfg-gnustep.sh
%{__make} %{libical_makeflags} all
# ****************************** install ******************************
%install
rm -rf $RPM_BUILD_ROOT
%{__source} %{_libdir}/GNUstep/System/Library/Makefiles/GNUstep.sh
%{__make} %{libical_makeflags} DESTDIR=${RPM_BUILD_ROOT} \
FHS_INSTALL_ROOT=${RPM_BUILD_ROOT}%{_prefix} \
install
rm -f ${RPM_BUILD_ROOT}%{_libdir}/GNUstep/System/Library/Libraries/ix86/linux-gnu/libical.la
rm -f ${RPM_BUILD_ROOT}%{_libdir}/GNUstep/System/Library/Libraries/ix86/linux-gnu/libical.so.0.0.0
rm -f ${RPM_BUILD_ROOT}%{_libdir}/GNUstep/System/Library/Libraries/ix86/linux-gnu/libicalss.la
rm -f ${RPM_BUILD_ROOT}%{_libdir}/GNUstep/System/Library/Libraries/ix86/linux-gnu/libicalss.so.0.0.0
rm -f ${RPM_BUILD_ROOT}%{_libdir}/GNUstep/System/Library/Libraries/ix86/linux-gnu/libicalvcal.la
rm -f ${RPM_BUILD_ROOT}%{_libdir}/GNUstep/System/Library/Libraries/ix86/linux-gnu/libicalvcal.so.0.0.0
# ****************************** post *********************************
%post
if [ $1 = 1 ]; then
if [ -d %{_sysconfdir}/ld.so.conf.d ]; then
echo "%{_libdir}" > %{_sysconfdir}/ld.so.conf.d/libical-sope.conf
elif [ ! "`grep '%{_libdir}' %{_sysconfdir}/ld.so.conf`" ]; then
echo "%{_libdir}" >> %{_sysconfdir}/ld.so.conf
fi
/sbin/ldconfig
fi
# ****************************** postun *********************************
%postun
if [ $1 = 0 ]; then
if [ -e %{_sysconfdir}/ld.so.conf.d/libical-sope.conf ]; then
rm -f %{_sysconfdir}/ld.so.conf.d/libical-sope.conf
fi
/sbin/ldconfig
fi
# ****************************** clean ********************************
%clean
rm -fr ${RPM_BUILD_ROOT}
# ****************************** files ********************************
%files
%defattr(644,root,root,755)
%{_libdir}/GNUstep/System/Library/Headers/gnu-gnu-gnu/ical.h
%{_libdir}/GNUstep/System/Library/Headers/gnu-gnu-gnu/icalss.h
%dir %attr(755,root,root) %{_libdir}/GNUstep/System/Library/Headers/gnu-gnu-gnu/libicalvcal
%{_libdir}/GNUstep/System/Library/Headers/gnu-gnu-gnu/libicalvcal/icalvcal.h
%{_libdir}/GNUstep/System/Library/Headers/gnu-gnu-gnu/libicalvcal/port.h
%{_libdir}/GNUstep/System/Library/Headers/gnu-gnu-gnu/libicalvcal/vcaltmp.h
%{_libdir}/GNUstep/System/Library/Headers/gnu-gnu-gnu/libicalvcal/vcc.h
%{_libdir}/GNUstep/System/Library/Headers/gnu-gnu-gnu/libicalvcal/vobject.h
%{_libdir}/GNUstep/System/Library/Libraries/ix86/linux-gnu/libical.a
%{_libdir}/GNUstep/System/Library/Libraries/ix86/linux-gnu/libicalss.a
%{_libdir}/GNUstep/System/Library/Libraries/ix86/linux-gnu/libicalvcal.a
# ********************************* changelog *************************
%define date %(echo `LC_ALL="C" date +"%a %b %d %Y"`)
%changelog
* %{date} PLD Team <feedback w pld-linux.org>
All persons listed below can be reached at <cvs_login>@pld-linux.org
$Log:$
Więcej informacji o liście dyskusyjnej pld-devel-pl