Compare commits
4 commits
| Author | SHA1 | Date | |
|---|---|---|---|
|
|
96350c76b1 |
||
|
|
d44a508f72 | ||
|
|
a740b06c0f | ||
|
|
2606e43467 |
4 changed files with 21 additions and 18 deletions
2
.gitignore
vendored
2
.gitignore
vendored
|
|
@ -1 +1 @@
|
|||
/wt-3.3.7-free.tar.xz
|
||||
/wt-4.0.3-free.tar.xz
|
||||
|
|
|
|||
2
sources
2
sources
|
|
@ -1 +1 @@
|
|||
SHA512 (wt-3.3.7-free.tar.xz) = 4dcc7ac3e222a7056026004213422d571af7ed7066a50ab2bd90c432450f8da3456f45cdf0dee877d46cd11ccb03716de5b81cd2d6daa6520b07a54fa8dd1a47
|
||||
SHA512 (wt-4.0.3-free.tar.xz) = 80d9c24bec270692324f1db22618875cb514d7f54a4ce285f3517d98c25798619b9c74bd8e717eb83db43edb6cd2da992ded8629d0d239bfdbc5052d56cb19fa
|
||||
|
|
|
|||
35
wt.spec
35
wt.spec
|
|
@ -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
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue