Compare commits

...
Sign in to create a new pull request.

4 commits

Author SHA1 Message Date
Michal Minář
96350c76b1
New upstream version 4.0.3
NVR: wt-4.0.3-1

Signed-off-by: Michal Minář <miminar@redhat.com>
2018-07-23 12:45:23 +02:00
Michal Minář
d44a508f72 Depend on mariadb-connector-c-devel
Resolves: bz#1493662

Signed-off-by: Michal Minář <miminar@redhat.com>
2018-03-15 16:36:27 +00:00
Michal Minář
a740b06c0f boost 1.66 compatibility fix
Resolves: bz#1556597
Resolves: bz#1540337
Resolves: bz#1467752

Signed-off-by: Michal Minář <miminar@redhat.com>
2018-03-15 15:33:11 +00:00
Michal Minář
2606e43467 initial 4.0.2 commit
Signed-off-by: Michal Minář <miminar@redhat.com>
2018-03-15 13:01:20 +00:00
4 changed files with 21 additions and 18 deletions

2
.gitignore vendored
View file

@ -1 +1 @@
/wt-3.3.7-free.tar.xz
/wt-4.0.3-free.tar.xz

View file

@ -1 +1 @@
SHA512 (wt-3.3.7-free.tar.xz) = 4dcc7ac3e222a7056026004213422d571af7ed7066a50ab2bd90c432450f8da3456f45cdf0dee877d46cd11ccb03716de5b81cd2d6daa6520b07a54fa8dd1a47
SHA512 (wt-4.0.3-free.tar.xz) = 80d9c24bec270692324f1db22618875cb514d7f54a4ce285f3517d98c25798619b9c74bd8e717eb83db43edb6cd2da992ded8629d0d239bfdbc5052d56cb19fa

35
wt.spec
View file

@ -5,14 +5,14 @@
%global WTRUNGROUP apache
Name: wt
Version: 3.3.7
Release: 7%{?dist}
Version: 4.0.3
Release: 1%{?dist}
Summary: C++ library for developing web applications
Group: Development/Libraries
# For a breakdown of the licensing, see PACKAGE-LICENSING
License: GPLv2 and Boost and MIT and (Boost or MIT) and BSD and zlib
URL: http://www.webtoolkit.eu/wt
URL: https://www.webtoolkit.eu/wt
# Following archive was made from upstream tarball downloaded from
# https://github.com/kdeforche/wt/archive/3.3.7.tar.gz
# by running ./wt-generate-tarball.sh 3.3.7 from tarball's directory
@ -29,12 +29,11 @@ Source3: README.fedora
# ./wt-generate-tarball.sh UPSTREAM_VERSION
Source4: wt-generate-tarball.sh
Patch0: find-mysql.patch
Patch1: use-system-sqlite.patch
Patch0: use-system-sqlite.patch
BuildRequires: cmake >= 2.6 boost-devel >= 1.41 gcc-c++ openssl-devel doxygen
BuildRequires: cmake >= 3.1 boost-devel >= 1.41 gcc-c++ openssl-devel doxygen
BuildRequires: GraphicsMagick-devel pango-devel sqlite-devel postgresql-devel
BuildRequires: mysql-devel libharu-devel fcgi-devel zlib-devel qt-devel
BuildRequires: mariadb-connector-c-devel libharu-devel fcgi-devel zlib-devel qt-devel
# Don't use bundled glew on fedora >= 21
%if 0%{?fedora} >= 21
@ -111,9 +110,7 @@ Group: Documentation
This package contains the documents for Wt API and examples.
%prep
%setup -q -n %{name}-%{version}
%patch0 -p1 -b .find-mysql
%patch1 -p1 -b .use-system-sqlite
%autosetup -p1
# static files like javascript and css should not be executable
for d in src resources examples; do
@ -152,7 +149,6 @@ cd wt-build
## by Red Hat Legal
## let's not package it, until licensing issues are solved
%cmake .. \
-DWT_CPP_11_MODE=-std=c++11 \
-DCONNECTOR_HTTP=ON \
-DCONNECTOR_FCGI=ON \
-DUSE_SYSTEM_SQLITE3=ON \
@ -161,11 +157,11 @@ cd wt-build
-DWEBGROUP="%{WTRUNGROUP}" \
-DRUNDIR="%{WTRUNDIR}" \
-DCONFIGDIR="%{_sysconfdir}/%{name}" \
-DINSTALL_EXAMPLES=ON \
-DENABLE_FIREBIRD=OFF \
-DENABLE_MYSQL=ON \
-DMYSQL_LIBRARY=mysqlclient \
%{?use_system_glew:-DUSE_SYSTEM_GLEW=1} \
-DBUILD_EXAMPLES=ON \
-DINSTALL_EXAMPLES=ON \
-DEXAMPLES_DESTINATION=%{_lib}/Wt/examples
make %{?_smp_mflags}
make doc
@ -195,8 +191,6 @@ do # create a symlink for each feature example pointing on resources dir
done
popd # examples
popd # wt-build
install -vm 0755 -d ${RPM_BUILD_ROOT}/%{_datadir}/cmake/Modules
install -vm 0644 cmake/FindWt.cmake ${RPM_BUILD_ROOT}/%{_datadir}/cmake/Modules
install -vm 644 %{SOURCE2} \
${RPM_BUILD_ROOT}%{_libdir}/Wt/examples/feature/timezone/README.fedora
@ -274,7 +268,8 @@ popd
%dir %{_includedir}/Wt
%{_includedir}/Wt/*
%{_libdir}/*.so
%{_datadir}/cmake/Modules/*.cmake
%dir %{_libdir}/cmake/wt
%{_libdir}/cmake/wt/*.cmake
%files examples
%dir %{_libdir}/Wt
@ -296,6 +291,14 @@ popd
%{_defaultdocdir}/%{name}-doc/examples/*
%changelog
* Mon Jul 23 2018 Michal Minář <miminar@redhat.com> - 4.0.3-1
- New upstream version 4.0.3
* Thu Mar 15 2018 Michal Minář <miminar@redhat.com> - 4.0.2-3
- New upstream version 4.0.2
- Compatibility fix for boost 1.66
- Depend on mariadb-connector-c-devel
* Fri Feb 09 2018 Fedora Release Engineering <releng@fedoraproject.org> - 3.3.7-7
- Rebuilt for https://fedoraproject.org/wiki/Fedora_28_Mass_Rebuild