Hello community,
here is the log from the commit of package wt
checked in at Sat Feb 2 01:04:47 CET 2008.
--------
--- wt/wt.changes 2007-09-03 18:32:24.000000000 +0200
+++ wt/wt.changes 2008-02-01 18:51:09.000000000 +0100
@@ -1,0 +2,10 @@
+Fri Feb 1 18:09:33 CET 2008 - pcerny@suse.cz
+
+- upgrade to 2.0.6
+ * removed patches included in upstream
+ (wt-2.0.3-libinstdir.patch, wt-2.0.3-rundir.patch)
+ * added missing includes (wt-2.0.6-missing_includes.patch)
+ * temporary fix to build against boost 1.33 with gcc 4.3
+ (-fpermissive)
+
+-------------------------------------------------------------------
Old:
----
wt-2.0.3-libinstdir.patch
wt-2.0.3-rundir.patch
wt-2.0.3.tar.gz
New:
----
wt-2.0.6-missing_includes.patch
wt-2.0.6.tar.bz2
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Other differences:
------------------
++++++ wt.spec ++++++
--- /var/tmp/diff_new_pack.k21891/_old 2008-02-02 01:03:58.000000000 +0100
+++ /var/tmp/diff_new_pack.k21891/_new 2008-02-02 01:03:58.000000000 +0100
@@ -1,7 +1,7 @@
#
-# spec file for package wt (Version 2.0.3)
+# spec file for package wt (Version 2.0.6)
#
-# Copyright (c) 2007 SUSE LINUX Products GmbH, Nuernberg, Germany.
+# Copyright (c) 2008 SUSE LINUX Products GmbH, Nuernberg, Germany.
# This file and all modifications and additions to the pristine
# package are under the same license as the package itself.
#
@@ -11,16 +11,15 @@
# norootforbuild
Name: wt
-URL: http://www.webtoolkit.eu/wt/
+Url: http://www.webtoolkit.eu/wt/
License: GPL v2 only
Group: Development/Libraries/C and C++
-Autoreqprov: on
-Version: 2.0.3
-Release: 18
+AutoReqProv: on
+Version: 2.0.6
+Release: 1
Summary: Web Toolkit
-Source0: %{name}-%{version}.tar.gz
-Patch0: %{name}-%{version}-rundir.patch
-Patch1: %{name}-%{version}-libinstdir.patch
+Source0: %{name}-%{version}.tar.bz2
+Patch0: %{name}-2.0.6-missing_includes.patch
Requires: FastCGI openssl Xerces-c boost >= 1.33.1
Requires: mxml >= 2.3
BuildRequires: gcc-c++
@@ -28,6 +27,7 @@
BuildRequires: boost-devel >= 1.33.1
BuildRequires: mxml-devel >= 2.3
BuildRequires: cmake pkgconfig
+BuildRequires: fdupes
BuildRoot: %{_tmppath}/%{name}-%{version}-build
%description
@@ -75,7 +75,6 @@
%prep
%setup
%patch0 -p1
-%patch1 -p1
%build
%define WTSRVDIR /srv/wt
@@ -86,14 +85,14 @@
%define WTRUNGROUP www
mkdir wt-build
cd wt-build
-CFLAGS=$RPM_OPT_FLAGS CXXFLAGS=$RPM_OPT_FLAGS \
+CFLAGS=$RPM_OPT_FLAGS CXXFLAGS="$RPM_OPT_FLAGS -fpermissive" \
cmake .. \
-DCMAKE_INSTALL_PREFIX="/usr" \
-DLIB_INSTALL_DIR=/%{_lib} \
-DCONNECTOR_HTTP=OFF \
-DCONNECTOR_FCGI=ON \
-DEXAMPLES_CONNECTOR="" \
- -DWEBGROUP="www" -DWEBUSER="wwwrun" \
+ -DWEBGROUP="%{WTRUNGROUP}" -DWEBUSER="%{WTRUNUSER}" \
-DRUNDIR="%{WTRUNDIR}"
make %{?jobs:-j%jobs} VERBOSE=1
@@ -101,26 +100,45 @@
cd wt-build
make DESTDIR="%{buildroot}" install
mkdir -p %{buildroot}%{_docdir}/%{name}
+mkdir -p %{buildroot}%{WTSRVDIR}
+mkdir -p %{buildroot}%{WTRUNDIR}
sed "s /usr/wt/run %{WTRUNDIR} " < ../wt_config.xml > ../wt_config.xml.example
+mkdir %{buildroot}%{_docdir}/%{name}-devel/
+cp -rvi ../doc/* %{buildroot}%{_docdir}/%{name}-devel/
+%fdupes %{buildroot}%{_docdir}
%clean
rm -rf "%{buildroot}"
+%post -p /sbin/ldconfig
+
+%postun -p /sbin/ldconfig
+
%files
%defattr(-,root,root)
-%{_libdir}/*.so
+%{_libdir}/*.so.%{version}
%doc AUTHORS BUGS Changelog INSTALL LICENSE
%doc wt_config.xml.example
-%{WTSRVDIR}
+%dir %{WTSRVDIR}
%attr(-,%{WTRUNUSER},%{WTRUNGROUP}) %{WTRUNDIR}
%files devel
%defattr(-,root,root)
-%doc doc
%{_includedir}/*
+%exclude %{_libdir}/*.so.%{version}
+%{_libdir}/*.so.*
+%{_libdir}/*.so
+%doc %{_docdir}/%{name}-devel
%changelog
-* Mon Sep 03 2007 - schwab@suse.de
+* Fri Feb 01 2008 pcerny@suse.cz
+- upgrade to 2.0.6
+ * removed patches included in upstream
+ (wt-2.0.3-libinstdir.patch, wt-2.0.3-rundir.patch)
+ * added missing includes (wt-2.0.6-missing_includes.patch)
+ * temporary fix to build against boost 1.33 with gcc 4.3
+ (-fpermissive)
+* Mon Sep 03 2007 schwab@suse.de
- Use $RPM_OPT_FLAGS.
-* Mon Jul 09 2007 - pcerny@suse.cz
+* Mon Jul 09 2007 pcerny@suse.cz
- initial package created v2.0.3
++++++ wt-2.0.6-missing_includes.patch ++++++
# adds missing includes
--- wt-2.0.6/src/fcgi/FCGIRecord.h 2006-08-16 13:21:02.000000000 +0200
+++ wt-2.0.6.new/src/fcgi/FCGIRecord.h 2008-01-25 19:00:41.311281850 +0100
@@ -9,6 +9,8 @@
#include