Hi all,
As Alex suggested I have now attached the spec file from the Opensuse
build service. It is not currently building as it complains about
installed but not packaged files.

I would appreciate any help you guys could give with fixing the script

Regards

Lance


-- 
This message has been scanned for viruses and
dangerous content by MailScanner, and is
believed to be clean.

# Name: bongo-releng  
# Summary: Bongo is a calendar and mail server  
# Version: 0.6  
# Release: 0.1  
# License: GPL  
# Group: Productivity/Networking/Email/Servers  
# Source: %{name}-%{version}.tar.gz  
# BuildRoot: %{_tmppath}/build-root-%{name}  
# Prefix: /usr  
# Url: http://www.bongo-project.org  
# #PreReq: %insserv_prereq %fillup_prereq  
# Obsoletes: bongo-UNSTABLE bongo bongo-snapshot  
#   
# # Installation dependency requirements  
# ##########################  
# ##         SUSE         ##  
# ##########################  
# %if 0%{?suse_version}  
# Requires: bongo-data bongo-web bongo-mta libbongo libbongo-import 
python-bongo python-xml openldap2 gnutls gmime python-lxml unixODBC libical  
# %endif  
# ##########################  
# ##  Fedora/RHEL/CentOS  ##  
# ##########################  
# %if 0%{?fedora_version} || 0%{?rhel_version} || 0%{?centos_version}  
# Requires: openldap-servers openldap-clients bongo-data bongo-web bongo-mta 
libbongo libbongo-import python-bongo gnutls-utils gmime python-lxml unixODBC 
libical  
# %endif  
# ##########################  
# ##       Mandriva       ##  
# ##########################  
# %if 0%{?mandriva_version}  
# Requires: openldap-servers openldap-clients bongo-data bongo-web bongo-mta 
libbongo libbongo-import python-bongo gnutls gmime python-lxml  
# %endif  
#   
#   
# # Build dependency requirements  
# ##########################  
# ##         SUSE         ##  
# ##########################  
# %if 0%{?suse_version}  
# BuildRequires:  cmake bison gettext openldap2-devel openldap2 gnutls-devel 
popt-devel python-devel pkgconfig gcc-c++ doxygen flex sqlite-devel curl-devel 
python-lxml gmime gmime-devel unixODBC unixODBC-devel check libical 
libical-devel  
# %endif  
# ##########################  
# ##  Fedora/RHEL/CentOS  ##  
# ##########################  
# %if 0%{?fedora_version} || 0%{?rhel_version} || 0%{?centos_version}  
# BuildRequires:  cmake bison gettext openldap-devel openldap openldap-servers 
gnutls gnutls-utils gnutls-devel popt python-devel pkgconfig gcc-c++ doxygen 
flex libxml2-python sqlite-devel curl-devel gmime gmime-devel unixODBC 
unixODBC-devel check libical libical-devel  
# %endif  
# ##########################  
# ##       Mandriva       ##  
# ##########################  
# %if 0%{?mandriva_version} == 2006  
# BuildRequires:  bison gettext libldap2.3_0-devel openldap-servers 
libgnutls11-devel libgnutls11 gnutls libpopt0-devel libpython2.4-devel 
pkgconfig gcc-c++ doxygen flex libxml2-python gnutls-devel libsqlite3_0-devel 
libsqlite3_0 libcurl3-devel gmime-devel  
# %endif  
# %if 0%{?mandriva_version} == 2007  
# BuildRequires:  bison gettext libldap2.3_0-devel openldap-servers 
libgnutls13-devel libgnutls13 gnutls libpopt0-devel libpython2.4-devel 
pkgconfig gcc-c++ doxygen flex libxml2-python gnutls-devel libsqlite3_0-devel 
libsqlite3_0 libcurl3-devel gmime-devel  
# %endif  
# %if 0%{?mandriva_version} == 2008  
# BuildRequires:  bison gettext libldap2.3_0-devel openldap-servers 
libgnutls13-devel libgnutls13 gnutls libpopt0-devel libpython2.4-devel 
pkgconfig gcc-c++ doxygen flex libxml2-python gnutls-devel libsqlite3_0-devel 
libsqlite3_0 libcurl3-devel gmime-devel  
# %endif  
#   
#   
# %description   
# Bongo is a calendar and mail server. We are focused on building a calendar 
and mail server that people love to use, instead of broadly trying to build a 
"groupware server" that managers want to deploy.  
#   
# %if 0%{?suse_version}  
# %debug_package  
# %else  
# %debuginfo  
# %endif  
#   
# %package -n %{name}-data  
# Summary: Data files used by the bongo system  
# Group: Productivity/Networking/Email/Servers  
# Requires: %{name} = %{version}  
# Provides: %{name}-data = %{version}  
# Obsoletes: bongo-UNSTABLE-data bongo-data bongo-snapshot-data  
#   
# %description -n %{name}-data  
# Data files used by the bongo system  
#   
# %package -n %{name}-web  
# Summary: The bongo web interface for mail/calendar/admin  
# Group: Productivity/Networking/Email/Servers  
# Requires: %{name} = %{version}  
# Provides: %{name}-web = %{version}  
# Obsoletes: bongo-hawkeye bongo-dragonfly bongo-UNSTABLE-web 
bongo-UNSTABLE-dragonfly bongo-UNSTABLE-hawkeye bongo-web bongo-snapshot-web  
#   
# %description -n %{name}-web  
# The bongo web interface for mail/calendar/admin  
#   
# %package -n %{name}-mta  
# Summary: A bongo sendmail implementation  
# Group: Productivity/Networking/Email/Servers  
# Requires: %{name} = %{version}  
# Provides: %{name}-mta = %{version}  
# Obsoletes: bongo-UNSTABLE-mta bongo-mta bongo-snapshot-mta  
#   
# %description -n %{name}-mta  
# A bongo sendmail implementation  
#   
# %package -n python-%{name}  
# Summary: The python wrapper around libbongo  
# Group: Productivity/Networking/Email/Servers  
# Requires: %{name} = %{version}  
# Provides: python-%{name} = %{version}  
#   
# %description -n python-%{name}  
# Bongo is a calendar and mail server. We are focused on building a calendar 
and mail server that people love to use, instead of broadly trying to build a 
"groupware server" that managers want to deploy.  
#  The python wrapper around libbongo  
#   
# %package -n lib%{name}  
# Summary: The main bongo libraries  
# Group: Productivity/Networking/Email/Servers  
# Requires: %{name} = %{version}  
# Provides: lib%{name} = %{version}  
# Obsoletes: libbongo-UNSTABLE libbongo libbongo-snapshot  
#   
# %description -n lib%{name}  
# The main bongo libraries  
#   
# %package -n lib%{name}-dev  
# Summary: The bongo header files for compiling against the libraries  
# Group: Productivity/Networking/Email/Servers/Development  
# Requires: %{name} = %{version}  
# Provides: lib%{name} = %{version}  
# Obsoletes: libbongo-UNSTABLE-dev libbongo-dev libbongo-snapshot-dev  
#   
# %description -n lib%{name}-dev  
# The bongo header files for compiling against the libraries  
#   
# %package -n lib%{name}-import  
# Summary: Any libraries bundled with bongo, unavailable/unusable on the distro 
 
# Group: Productivity/Networking/Email/Servers  
# Requires: %{name} = %{version}  
# Provides: lib%{name}-import = %{version}  
# Obsoletes: libbongo-UNSTABLE-import libbongo-import libbongo-snapshot-import  
#   
# %description -n lib%{name}-import  
# Any libraries bundled with bongo, unavailable/unusable on the distro  
#   
# %prep  
# rm -rf $RPM_BUILD_ROOT   
# mkdir $RPM_BUILD_ROOT  
#   
# %setup -q  
#   
# #%patch0 -p0  
#   
# %build  
# #find src/www/ -type f |grep -v ".svn" | xargs sed -i 
's/\/admin/\/bongo\/admin/g'  
# #CFLAGS="$RPM_OPT_FLAGS" CXXFLAGS="$RPM_OPT_FLAGS" \  
# #./configure --prefix=%{prefix} --localstatedir=/var/bongo --libdir=%_libdir 
--with-user=bongo --enable-debug-cflags  
# cmake . -DCMAKE_INSTALL_PREFIX=/usr -DBONGO_USER=bongo 
-DCMAKE_BUILD_TYPE=Debug -DDEBUG=On -DCMAKE_SKIP_RPATH=On  
# make -j 2  
#   
#   
# %install  
# make DESTDIR=$RPM_BUILD_ROOT install  
#   
# find . -type d -fprint $RPM_BUILD_DIR/file.list.%{name}.dirs  
# find . -type f -fprint $RPM_BUILD_DIR/file.list.%{name}.files.tmp  
# sed '/\/man\//s/$/.gz/g' $RPM_BUILD_DIR/file.list.%{name}.files.tmp > 
$RPM_BUILD_DIR/file.list.%{name}.files  
# find . -type l -fprint $RPM_BUILD_DIR/file.list.%{name}.libs  
# sed '1,2d;s,^\.,\%attr(-\,root\,root) \%dir ,' 
$RPM_BUILD_DIR/file.list.%{name}.dirs > $RPM_BUILD_DIR/file.list.%{name}  
# sed 's,^\.,\%attr(-\,root\,root) ,' $RPM_BUILD_DIR/file.list.%{name}.files >> 
$RPM_BUILD_DIR/file.list.%{name}  
# sed 's,^\.,\%attr(-\,root\,root) ,' $RPM_BUILD_DIR/file.list.%{name}.libs >> 
$RPM_BUILD_DIR/file.list.%{name}  
#   
# #rm $RPM_BUILD_ROOT/%{_libdir}/libbongolog4c.a  
# #rm $RPM_BUILD_ROOT/%{_libdir}/libbongolog4c.la   
# #rm $RPM_BUILD_ROOT/%{_libdir}/libical-bongo.la   
# #rm $RPM_BUILD_ROOT/%{_libdir}/libicalss-bongo.la   
# #rm $RPM_BUILD_ROOT/%{_libdir}/libicalvcal-bongo.la  
# #rm $RPM_BUILD_ROOT/%{_libdir}/libbongolog4c.so   
# #rm $RPM_BUILD_ROOT/%{_libdir}/libical-bongo.so   
# #rm $RPM_BUILD_ROOT/%{_libdir}/libicalss-bongo.so   
# #rm $RPM_BUILD_ROOT/%{_libdir}/libicalvcal-bongo.so   
#   
# ##########################  
# ##         SUSE         ##  
# ##########################  
# %if 0%{?suse_version}  
# %{__install} -D -m755 init/bongo.init.suse10 -D 
$RPM_BUILD_ROOT%{_sysconfdir}/init.d/bongo  
# mkdir -p $RPM_BUILD_ROOT/usr/sbin  
# ln -sf /etc/init.d/bongo $RPM_BUILD_ROOT/usr/sbin/rcbongo  
# %endif  
# ##########################  
# ##  Fedora/RHEL/CentOS  ##  
# ##########################  
# %if 0%{?fedora_version} || 0%{?rhel_version} || 0%{?centos_version}  
# %{__install} -D -m755 init/bongo.init.fc4 -D 
$RPM_BUILD_ROOT%{_sysconfdir}/init.d/bongo  
# %endif  
# ##########################  
# ##       Mandriva       ##  
# ##########################  
# %if 0%{?mandriva_version}  
# %{__install} -D -m755 init/bongo.init.fc4 -D 
$RPM_BUILD_ROOT%{_sysconfdir}/init.d/bongo  
# %endif  
#   
# %pre  
# /usr/sbin/groupadd -r bongo 2> /dev/null || :  
# /usr/sbin/useradd -r -g bongo -s /bin/false -c "Bongo Mail daemon" -d 
/etc/bongo bongo 2> /dev/null || :  
#   
# %post  
# #Copy the default apache config to the correct directory  
# #FIXME: This stuff should be done in the install section  
#   
# ##########################  
# ##         SUSE         ##  
# ##########################  
# #%if 0%{?suse_version}  
# #cp /usr/share/bongo/examples/bongo.conf /etc/apache2/conf.d  
# #%endif  
# ##########################  
# ##  Fedora/RHEL/CentOS  ##  
# ##########################  
# #%if 0%{?fedora_version} || 0%{?rhel_version} || 0%{?centos_version}  
# #cp /usr/share/bongo/examples/bongo.conf /etc/httpd/conf.d/vhosts.d  
# #%endif  
# ##########################  
# ##       Mandriva       ##  
# ##########################  
# #%if 0%{?mandriva_version}  
# #cp /usr/share/bongo/examples/bongo.conf /etc/httpd/conf.d/vhosts.d  
# #%endif  
#   
# # Add and set the bongo service to start on boot  
# #chkconfig --add bongo  
#   
# #Ensure that the data directory has the correct ownership permissions  
# chown -R bongo /var/bongo  
#   
# %{fillup_and_insserv -s bongo START_BONGO }  
# %if 0%{?suse_version} > 820  
#   
# %preun  
# %stop_on_removal bongo  
# %endif  
#   
# %postun  
# %if 0%{?suse_version} > 820  
# %restart_on_update bongo  
# %endif  
# %{insserv_cleanup}  
#   
# %clean  
# rm -rf $RPM_BUILD_ROOT  
# rm -rf $RPM_BUILD_DIR/file.list.%{name}  
# rm -rf $RPM_BUILD_DIR/file.list.%{name}.libs  
# rm -rf $RPM_BUILD_DIR/file.list.%{name}.files  
# rm -rf $RPM_BUILD_DIR/file.list.%{name}.files.tmp  
# rm -rf $RPM_BUILD_DIR/file.list.%{name}.dirs  
#   
# %files -n %{name}  
# %defattr(-,root,root,0755)  
# #%{prefix}/libexec/bongo/  
# #%{prefix}/sbin/bongo-backup  
# %{prefix}/sbin/bongo-config  
# %{prefix}/sbin/bongo-testtool  
# %{prefix}/sbin/bongo-manager  
# %{prefix}/sbin/bongo-queuetool  
# #%{prefix}/sbin/bongo-standalone  
# #%{prefix}/sbin/bongoalarm  
# %{prefix}/sbin/bongoantispam  
# %{prefix}/sbin/bongoavirus  
# #%{prefix}/sbin/bongocalcmd  
# #%{prefix}/sbin/bongocollector  
# #%{prefix}/sbin/bongogeneric  
# %{prefix}/sbin/bongoimap  
# #%{prefix}/sbin/bongoitip  
# %{prefix}/sbin/bongopop3  
# %{prefix}/sbin/bongoqueue  
# %{prefix}/sbin/bongorules  
# %{prefix}/sbin/bongosmtp  
# %{prefix}/sbin/bongosmtpc  
# %{prefix}/sbin/bongostore  
# %{prefix}/sbin/bongo-storetool  
# #%{prefix}/share/locale/  
# %{prefix}/share/bongo/conf/default.set  
# #%{prefix}/share/man/man*  
# #%config(noreplace) %{prefix}/etc/  
# /etc/init.d/bongo  
# %if 0%{?suse_version}  
# /usr/sbin/rcbongo  
# %endif  
#   
# %files -n %{name}-data  
# %defattr(-,root,root,0755)  
# #%{prefix}/share/bongo/demo/  
# %{prefix}/share/bongo/zoneinfo/  
# #%{prefix}/share/bongo/examples/  
#   
# %files -n %{name}-web  
# %defattr(-,root,root,0755)  
# %if 0%{?suse_version}  
# #%{prefix}/share/bongo/htdocs/  
# #%{prefix}/share/bongo/templates/  
# #%{py_sitedir}/bongo/hawkeye/  
# #%{py_sitedir}/bongo/dragonfly/  
# %endif  
# %if 0%{?fedora_version} || 0%{?rhel_version} || 0%{?centos_version}  
# %ifarch %ix86  
# #%{prefix}/share/bongo/htdocs/  
# #%{prefix}/share/bongo/templates/  
# #%{_libdir}/python*/site-packages/bongo/hawkeye/  
# #%{_libdir}/python*/site-packages/bongo/dragonfly/  
# %endif  
# %ifarch x86_64  
# #%{prefix}/share/bongo/htdocs/  
# #%{prefix}/share/bongo/templates/  
# #%{prefix}/lib/python*/site-packages/bongo/dragonfly/  
# #%{prefix}/lib/python*/site-packages/bongo/hawkeye/  
# %endif  
# %endif  
# %if 0%{?mandriva_version}  
# #%{prefix}/share/bongo/htdocs/  
# #%{prefix}/share/bongo/templates/  
# #%{py_sitedir}/bongo/hawkeye/  
# #%{py_sitedir}/bongo/dragonfly/  
# %endif  
#   
# %files -n python-%{name}  
# %defattr(-,root,root,0755)  
# %if 0%{?suse_version}  
# %{py_sitedir}/bongo  
# %endif  
# %if 0%{?fedora_version} || 0%{?rhel_version} || 0%{?centos_version}  
# %ifarch %ix86  
# %{_libdir}/python*/site-packages/bongo/  
# %endif  
# %ifarch x86_64  
# %{prefix}/lib/python*/site-packages/bongo/  
# #%{_libdir}/python*/site-packages/bongo/  
# %endif  
# %endif  
# %if 0%{?mandriva_version}  
# %{py_sitedir}/bongo  
# %endif  
#   
# %files -n lib%{name}  
# %defattr(-,root,root,0755)  
# #%{_libdir}/libbongocalcmd.so.*  
# #%{_libdir}/libbongocal.so.*  
# #%{_libdir}/libbongoconnio.so.*  
# #%{_libdir}/libbongo-json.so.*  
# #%{_libdir}/libbongologger.so.*  
# #%{_libdir}/libbongomemmgr.so.*  
# #%{_libdir}/libbongomsgapi.so.*  
# #%{_libdir}/libbongonmap.so.*  
# #%{_libdir}/libbongostreamio.so.*  
# #%{_libdir}/libbongoutil.so.*  
# #%{_libdir}/libbongoxpl.so.*  
# #%{_libdir}/bongo-auth/*  
# %if 0%{?suse_version}  
# %{py_sitedir}/libbongo/  
# %endif  
# %if 0%{?fedora_version} || 0%{?rhel_version} || 0%{?centos_version}  
# #%{_libdir}/python*/site-packages/libbongo/  
# %endif  
# %if 0%{?mandriva_version}  
# %{py_sitedir}/libbongo/  
# %endif  
#   
# %files -n lib%{name}-dev  
# %defattr(-,root,root,0755)  
# %{prefix}/include/*  
# #%{_libdir}/pkgconfig/*  
# #%{_libdir}/libbongocalcmd.a  
# #%{_libdir}/libbongocal.a  
# #%{_libdir}/libbongoconnio.a  
# #%{_libdir}/libbongo-json.a  
# #%{_libdir}/libbongologger.a  
# #%{_libdir}/libbongomemmgr.a  
# #%{_libdir}/libbongomsgapi.a  
# #%{_libdir}/libbongonmap.a  
# #%{_libdir}/libbongostreamio.a  
# #%{_libdir}/libbongoutil.a  
# #%{_libdir}/libbongoxpl.a  
# #%{_libdir}/libbongocalcmd.la  
# #%{_libdir}/libbongocal.la  
# #%{_libdir}/libbongoconnio.la  
# #%{_libdir}/libbongo-json.la  
# #%{_libdir}/libbongologger.la  
# #%{_libdir}/libbongomemmgr.la  
# #%{_libdir}/libbongomsgapi.la  
# #%{_libdir}/libbongonmap.la  
# #%{_libdir}/libbongostreamio.la  
# #%{_libdir}/libbongoutil.la  
# #%{_libdir}/libbongoxpl.la  
# #%{_libdir}/libbongocalcmd.so  
# #%{_libdir}/libbongocal.so  
# #%{_libdir}/libbongoconnio.so  
# #%{_libdir}/libbongo-json.so  
# #%{_libdir}/libbongologger.so  
# #%{_libdir}/libbongomemmgr.so  
# #%{_libdir}/libbongomsgapi.so  
# #%{_libdir}/libbongonmap.so  
# #%{_libdir}/libbongostreamio.so  
# #%{_libdir}/libbongoutil.so  
# #%{_libdir}/libbongoxpl.so  
#   
# %files -n %{name}-mta  
# %defattr(-,root,root,0755)  
# #%{_sbindir}/bongo-sendmail  
#   
# %files -n lib%{name}-import  
# %defattr(-,root,root,0755)  
# #%{_libdir}/libbongolog4c.so.*  
# #%{_libdir}/libical-bongo.so.*  
# #%{_libdir}/libicalss-bongo.so.*  
# #%{_libdir}/libicalvcal-bongo.so.*  
#   
# %changelog  
_______________________________________________
Bongo-devel mailing list
[email protected]
https://mail.gna.org/listinfo/bongo-devel

Reply via email to