Compare commits

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

1 commit

Author SHA1 Message Date
Michal Minář
eba7c7149f Initial EPEL release 3.3.9-1
Signed-off-by: Michal Minář <miminar@redhat.com>
2018-03-15 16:46:03 +00:00
4 changed files with 13 additions and 11 deletions

2
.gitignore vendored
View file

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

View file

@ -1 +1 @@
SHA512 (wt-3.3.7-free.tar.xz) = 4dcc7ac3e222a7056026004213422d571af7ed7066a50ab2bd90c432450f8da3456f45cdf0dee877d46cd11ccb03716de5b81cd2d6daa6520b07a54fa8dd1a47
SHA512 (wt-3.3.9-free.tar.xz) = a123256ef099a7f9550d451376c33fac577f02f2ae63c91cd251ed63c831004bdf48ae715bb5c6ef0793c691be1c489068ddc424019b128b0e400e0cee640fb5

20
wt.spec
View file

@ -5,17 +5,17 @@
%global WTRUNGROUP apache
Name: wt
Version: 3.3.7
Version: 3.3.9
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
# https://github.com/kdeforche/wt/archive/3.3.9.tar.gz
# by running ./wt-generate-tarball.sh 3.3.9 from tarball's directory
Source0: %{name}-%{version}-free.tar.xz
Source1: %{name}-%{version}-PACKAGE-LICENSING
# Explain why the locale example is renamed to timezone.
@ -111,9 +111,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
@ -161,11 +159,12 @@ 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} \
-DMYSQL_LIBRARY=mysqlclient \
-DBUILD_EXAMPLES=ON \
-DINSTALL_EXAMPLES=ON \
-DEXAMPLES_DESTINATION=%{_lib}/Wt/examples
make %{?_smp_mflags}
make doc
@ -296,6 +295,9 @@ popd
%{_defaultdocdir}/%{name}-doc/examples/*
%changelog
* Thu Mar 15 2018 Michal Minář <miminar@redhat.com> - 3.3.9-1
- Initial epel release
* Sun Apr 23 2017 Michal Minar <miminar@redhat.com> 3.3.7-1
- New upstream version 3.3.7