Compare commits

...
This repository has been archived on 2026-09-10. You can view files and clone it, but you cannot make any changes to its state, such as pushing and creating new issues, pull requests or comments.

59 commits

Author SHA1 Message Date
Miro Hrončok
b510a06a00 Orphaned for 6+ weeks 2020-07-28 10:22:56 +02:00
Jonathan Wakely
c7b404be56 Replace BuildRequires: qt5-devel with qt5-qtbase-devel 2020-06-15 13:33:24 +01:00
Michal Minář
dd19ab9e60 new upstream version 4.3.0
Signed-off-by: Michal Minář <miminar@redhat.com>
2020-03-30 04:08:48 +00:00
Michal Minář
513361883d fixed -examples dependencies
Signed-off-by: Michal Minář <miminar@redhat.com>
2020-03-20 04:08:03 +00:00
Michal Minář
ac262df76a new upstream version: 4.2.2
set default cipher list to PROFILE=SYSTEM

cleanup

Signed-off-by: Michal Minář <miminar@redhat.com>
2020-03-17 14:23:00 +00:00
Fedora Release Engineering
36f0b94816 - Rebuilt for https://fedoraproject.org/wiki/Fedora_32_Mass_Rebuild
Signed-off-by: Fedora Release Engineering <releng@fedoraproject.org>
2020-01-31 03:59:54 +00:00
Jeff Law
1fededcb82 Add missing #include for gcc-10 2019-12-14 14:29:08 -07:00
Michal Minář
2feacff2b5 added missing patch
Signed-off-by: Michal Minář <miminar@redhat.com>
2019-08-19 09:41:56 +00:00
Michal Minář
3ec5ccf6ea new upstream version: 4.1.0
NVR: wt-4.1.0-1

Resolves: bz#1742106

Signed-off-by: Michal Minář <miminar@redhat.com>
2019-08-19 08:31:02 +00:00
Fedora Release Engineering
0006433173 - Rebuilt for https://fedoraproject.org/wiki/Fedora_31_Mass_Rebuild
Signed-off-by: Fedora Release Engineering <releng@fedoraproject.org>
2019-07-27 03:46:03 +00:00
Michal Minář
442576575f New upstream version 4.0.5
NVR: wt-4.0.5-1

Signed-off-by: Michal Minář <miminar@redhat.com>
2019-05-20 09:40:23 +00:00
Fedora Release Engineering
4da5012328 - Rebuilt for https://fedoraproject.org/wiki/Fedora_30_Mass_Rebuild
Signed-off-by: Fedora Release Engineering <releng@fedoraproject.org>
2019-02-03 11:59:04 +00:00
173e7ce039 Remove obsolete Group tag
References: https://fedoraproject.org/wiki/Changes/Remove_Group_Tag
2019-01-28 20:24:55 +01:00
d45834e86c
Remove obsolete ldconfig scriptlets
References: https://fedoraproject.org/wiki/Changes/RemoveObsoleteScriptlets
Signed-off-by: Igor Gnatenko <ignatenkobrain@fedoraproject.org>
2019-01-22 18:41:20 +01:00
3638a22987
Rebuilt for libcrypt.so.2 (#1666033) 2019-01-14 19:19:17 +01:00
Pavel Raiskup
07b73c9757 BuildRequires: s/postgresql-devel/libpq-devel/
That's because we moved libpq.so.5 into libpq package.

Related: rhbz#1618698, rhbz#1623764
2018-09-06 10:33:52 +02:00
Nicolas Chauvet
147cdf17f2 - Rebuilt for glew 2.1.0 2018-08-23 14:11:36 +02:00
Michal Minář
8b3b948b98
New upstream version 4.0.3
NVR: wt-4.0.3-1

Signed-off-by: Michal Minář <miminar@redhat.com>
2018-07-23 12:18:02 +02:00
Fedora Release Engineering
d9e851d161 - Rebuilt for https://fedoraproject.org/wiki/Fedora_29_Mass_Rebuild
Signed-off-by: Fedora Release Engineering <releng@fedoraproject.org>
2018-07-14 09:01:31 +00:00
Michal Minář
a30c3b108d Depend on mariadb-connector-c-devel
Resolves: bz#1493662

Signed-off-by: Michal Minář <miminar@redhat.com>
2018-03-15 16:34:38 +00:00
Michal Minář
e0a07ae108 boost 1.66 compatibility fix
Signed-off-by: Michal Minář <miminar@redhat.com>
2018-03-15 14:45:28 +00:00
Michal Minář
5057160a56 initial 4.0.2 commit
Signed-off-by: Michal Minář <miminar@redhat.com>
2018-03-15 13:00:38 +00:00
Fedora Release Engineering
35c266b483 - Rebuilt for https://fedoraproject.org/wiki/Fedora_28_Mass_Rebuild
Signed-off-by: Fedora Release Engineering <releng@fedoraproject.org>
2018-02-09 21:12:35 +00:00
d7ead1bba9
Rebuilt for switch to libxcrypt 2018-01-20 23:08:42 +01:00
Fedora Release Engineering
4ea5ac5ab8 - Rebuilt for https://fedoraproject.org/wiki/Fedora_27_Binutils_Mass_Rebuild 2017-08-03 10:23:59 +00:00
Fedora Release Engineering
d6c6a0403c - Rebuilt for https://fedoraproject.org/wiki/Fedora_27_Mass_Rebuild 2017-07-27 21:47:47 +00:00
0d911dc901 Rebuilt for Boost 1.64 2017-07-23 21:54:44 +02:00
Fedora Release Engineering
b39d8388f3 - Rebuilt for https://fedoraproject.org/wiki/Fedora_26_27_Mass_Rebuild 2017-05-15 20:51:41 +00:00
Michal Minář
7dc1e2cdcd
New upstream version 3.3.7
Signed-off-by: Michal Minář <miminar@redhat.com>
2017-04-23 19:09:03 +02:00
Fedora Release Engineering
4ef3c73e7a - Rebuilt for https://fedoraproject.org/wiki/Fedora_26_Mass_Rebuild 2017-02-11 17:34:16 +00:00
Orion Poplawski
eb48851aa0 Rebuild for glew 2.0.0 2017-01-10 08:56:23 -07:00
Michal Minář
7abdc7fc9c Changelog update
Signed-off-by: Michal Minář <miminar@redhat.com>
2016-08-08 15:05:26 +02:00
Michal Minář
cdc1a2b75a New upstream version
NV: wt-3.3.6

Signed-off-by: Michal Minář <miminar@redhat.com>
2016-08-08 15:03:36 +02:00
Jonathan Wakely
70ccdf4efa Rebuilt for linker errors in boost (#1331983) 2016-05-17 14:53:55 +01:00
Fedora Release Engineering
1e300237e5 - Rebuilt for https://fedoraproject.org/wiki/Fedora_24_Mass_Rebuild 2016-02-05 03:11:29 +00:00
Jonathan Wakely
08ad5bac6b Rebuilt for Boost 1.60 2016-01-16 03:55:08 +00:00
Adam Jackson
a7b3cd0fbf Rebuild for glew 1.13 2016-01-14 13:11:16 -05:00
Michal Minar
b0428f889e Made wt-doc package archful
The output of doxygen is different on arm architecture.

Signed-off-by: Michal Minar <miminar@redhat.com>
2015-11-18 16:49:37 +01:00
Michal Minar
e7d21663e7 New upstream version
NVR: wt-3.3.5-0.1.rc2

- added BR doxygen
- fixed narrowing build issue on arm with gcc 5.x
- use C++ standard c++11 for compilation

Signed-off-by: Michal Minar <miminar@redhat.com>
2015-11-18 14:18:46 +01:00
Jonathan Wakely
d513c22a5a Rebuilt for Boost 1.59 2015-08-27 18:04:31 +01:00
Jonathan Wakely
07230f59c5 Rebuilt for Boost 1.59 2015-08-27 17:42:07 +01:00
Dennis Gilmore
bce8bcdb5f - Rebuilt for https://fedoraproject.org/wiki/Changes/F23Boost159 2015-07-29 13:35:58 -05:00
David Tardon
22c2320cce rebuild for Boost 1.58 2015-07-22 22:37:51 +02:00
Dennis Gilmore
5a8464d5c9 - Rebuilt for https://fedoraproject.org/wiki/Fedora_23_Mass_Rebuild 2015-06-19 02:37:51 +00:00
Michal Minar
a042f6e1da New upstream version 3.3.4
Signed-off-by: Michal Minar <miminar@redhat.com>
2015-04-20 10:50:49 +02:00
Ralf Corsépius
451636ba99 New. 2015-02-09 07:37:28 +01:00
Ralf Corsépius
a03f9e1195 Unbundle GLEW. 2015-02-09 05:56:28 +01:00
Ralf Corsépius
8c7676bfe1 Add wt-3.3.3-boost-1.57.patch (Fix boost-1.57 FTBFS). 2015-02-09 05:54:13 +01:00
Ralf Corsépius
ecfe3ca48a Replace bogus BR: boost-devel%%{_isa} with BR: boost-devel. 2015-02-09 05:49:29 +01:00
9df102dbee - Rebuilt for https://fedoraproject.org/wiki/Fedora_21_22_Mass_Rebuild 2014-08-18 08:58:44 +00:00
Michal Minar
f3a4cb05e5 enable raster image support
Resolves: #1108929
2014-06-15 09:15:13 +02:00
Michal Minar
4193249c96 new upstream version 3.3.3 2014-06-11 12:15:11 +02:00
Dennis Gilmore
ea518cfc35 - Rebuilt for https://fedoraproject.org/wiki/Fedora_21_Mass_Rebuild 2014-06-07 23:58:39 -05:00
David Tardon
7eeec595f9 rebuild for boost 1.55.0 2014-05-23 12:19:03 +02:00
Michal Minar
89d263cc01 got rid of bundled sqlite3 libraries
Although option USE_SYSTEM_SQLITE3 is on, bundled sqlite3 library got
compiled and linked with shipped dbo backend library. Added patch fixing
this issue.

Resolves: bz#1077919
2014-03-21 10:47:24 +01:00
Michal Minar
a97601350d update to 3.3.2 2014-03-14 10:30:44 +01:00
Michal Minar
7cdce46db4 update to 3.3.1-rc1
added dbo-mysql subpackage
unversioned doc directories
2013-09-22 14:27:05 +02:00
Dennis Gilmore
8fd3366922 - Rebuilt for https://fedoraproject.org/wiki/Fedora_20_Mass_Rebuild 2013-08-04 02:21:50 -05:00
Petr Machata
56db7b2c15 Rebuild for boost 1.54.0 2013-07-27 14:32:12 +02:00
6 changed files with 1 additions and 309 deletions

4
.gitignore vendored
View file

@ -1,4 +0,0 @@
/wt-3.2.2-p1-free.tar.gz
/wt-3.2.3-free.tar.gz
/wt-3.3.0-free.tar.gz
/wt-3.3.0-free.tar.xz

1
dead.package Normal file
View file

@ -0,0 +1 @@
Orphaned for 6+ weeks

View file

@ -1 +0,0 @@
13d8bcefb52972c2f3ebf328a26f20ee wt-3.3.0-free.tar.xz

View file

@ -1,13 +0,0 @@
The entire source code is GPLv2 except for these files:
* Boost Software License (BSL v1.0)
* src/http/*
* src/web/random_device.cpp
* src/rapidxml/* (dual licensed with MIT/X11 (BSD like))
* MIT/X11 (BSD like)
* examples/wtwithqt/*
* BSD
* src/Wt/Auth/passwdqc.h
* src/Wt/Auth/passwdqc_check.h
* zlib/libpng
* src/web/md5.[ch]
* src/web/base64.h

View file

@ -1,16 +0,0 @@
#!/bin/sh
NAME="wt"
VERSION=$1
tmp=`mktemp -d`
tar -xzvf $NAME-$VERSION.tar.gz -C $tmp
pushd $tmp
pushd $NAME-$VERSION/src/Wt/Dbo/backend
rm -r ibpp
popd # backend
tar -cJvf $NAME-$VERSION-free.tar.xz $NAME-$VERSION
popd # tmp
mv $tmp/$NAME-$VERSION-free.tar.xz .
rm -r $tmp

275
wt.spec
View file

@ -1,275 +0,0 @@
%global WTSRVDIR /var/spool/wt
%global WTRUNDIR %{WTSRVDIR}/run
%global WTRUNUSER apache
%global WTRUNGROUP apache
Name: wt
Version: 3.3.0
Release: 2%{?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
# Following archive was made from upstream tarball downloaded from
# http://citylan.dl.sourceforge.net/project/witty/wt/3.3.0/wt-3.3.0.tar.gz
# by running ./wt-generate-tarball.sh 3.3.0 from tarball's directory
Source0: %{name}-%{version}-free.tar.xz
Source1: %{name}-%{version}-PACKAGE-LICENSING
# wt toolkit contains bundled non-free library (IBPP) that we cannot ship.
# Therefore we use this script to remove its code before shipping it.
# Download the upstream tarball and invoke this script while in the
# tarball's directory:
# sh wt-generate-tarball.sh UPSTREAM_VERSION
Source2: wt-generate-tarball.sh
BuildRequires: cmake >= 2.6 boost-devel%{_isa} >= 1.41 openssl-devel
BuildRequires: GraphicsMagick-devel pango-devel sqlite-devel postgresql-devel
BuildRequires: libharu-devel fcgi-devel zlib-devel qt-devel
%description
Web C++ library with widget oriented API that uses well-tested patterns of
desktop GUI development tailored to the web. To the developer, it offers
abstraction of web-specific implementation details, including client-server
protocols, event handling, graphics support, graceful degradation (or
progressive enhancement), and URL handling.
%package dbo
Summary: Wt::Dbo ORM library and Sqlite3 back-end
Group: Development/Libraries
%description dbo
This package contains the Wt::Dbo Object-Relational Mapping library
and Sqlite3 back-end of it.
%package dbo-postgres
Summary: PostgreSQL back-end for the Wt::Dbo ORM library
Group: Development/Libraries
Requires: %{name}-dbo%{?_isa} = %{version}-%{release}
%description dbo-postgres
This package contains the PostgresSQL back-end for the Wt::Dbo ORM library.
%package devel
Summary: Libraries and header files for witty web development
Group: Development/Libraries
Requires: %{name}%{?_isa} = %{version}-%{release}
Requires: %{name}-dbo%{?_isa} = %{version}-%{release}
Requires: %{name}-dbo-postgres%{?_isa} = %{version}-%{release}
Requires: cmake
%description devel
This package contains the files necessary to develop
applications using the Wt toolkit and the Wt::Dbo ORM library.
%package examples
Summary: Examples for Wt
Group: Development/Libraries
License: GPLv2 and MIT
Requires: %{name}%{?_isa} = %{version}-%{release}
Requires: %{name}-dbo%{?_isa} = %{version}-%{release}
%description examples
This package contains programming examples distributed with official Wt
release.
%package doc
Summary: Documents for the Wt toolkit
Group: Documentation
BuildArch: noarch
%description doc
This package contains the documents for Wt API and examples.
%prep
%setup -q -n %{name}-%{version}
for d in src resources examples; do
find $d -type f \( -iregex '.*\.\([hc]\|js\|css\)' -o -executable \) | \
xargs -r chmod -v 0644
done
find examples -type f -name .htaccess | while read f; do
mv -v $f `dirname $f`/htaccess
done
# conversion to UTF-8
convdir=`mktemp -d`
for f in examples/style/CornerImage.h; do
tmpf=${convdir}/`basename $f`
iconv -f iso-8859-2 -t UTF-8 $f >$tmpf
mv $tmpf $f
done
rmdir $convdir
%build
mkdir wt-build
cd wt-build
## wtdbofirebird library bundles IBPP c++ client library for firebird
## that is licensed under IBPP License, which is marked as Non-Free
## by Red Hat Legal
## let's not package it, until licensing issues are solved
%cmake .. \
-DCONNECTOR_HTTP=ON \
-DCONNECTOR_FCGI=ON \
-DUSE_SYSTEM_SQLITE3=ON \
-DWEBUSER="%{WTRUNUSER}" \
-DWEBGROUP="%{WTRUNGROUP}" \
-DRUNDIR="%{WTRUNDIR}" \
-DINSTALL_EXAMPLES=ON \
-DENABLE_FIREBIRD=OFF \
-DEXAMPLES_DESTINATION=%{_lib}/Wt/examples
make %{?_smp_mflags}
%install
pushd wt-build
make install DESTDIR=$RPM_BUILD_ROOT
install -v -m 0755 -d ${RPM_BUILD_ROOT}/%{_sysconfdir}/%{name}
cp -v wt_config.xml ${RPM_BUILD_ROOT}/%{_sysconfdir}/%{name}
# makes an absolute symlink to resources directory
make_rsc_link() {
ln -vs "%{_datadir}/Wt/resources" \
"${RPM_BUILD_ROOT}%{_libdir}/Wt/examples/$1"
}
# installation of examples
pushd examples
for d in `find . -maxdepth 1 -mindepth 1 -type d | \
grep -v '^\(CMakeFiles\|feature\)$'`; do
# create a symlink for each example pointing on resources dir
make_rsc_link $d
done
for d in `find feature -maxdepth 1 -mindepth 1 -type d | grep -v 'CMakeFiles'`;
do # create a symlink for each feature example pointing on resources dir
make_rsc_link $d
done
popd # examples
popd # wt-build
# installation of documentation
for d in %{name} %{name}-dbo %{name}-doc; do
install -v -m 0755 -d ${RPM_BUILD_ROOT}%{_defaultdocdir}/$d-%{version}/
cp -v LICENSE ${RPM_BUILD_ROOT}%{_defaultdocdir}/$d-%{version}/
install -vm 644 %{SOURCE1} \
${RPM_BUILD_ROOT}%{_defaultdocdir}/$d-%{version}/PACKAGE-LICENSING
done
cp -vr README.md ReleaseNotes.html Changelog \
${RPM_BUILD_ROOT}%{_defaultdocdir}/%{name}-%{version}/
cp -vr INSTALL*.html doc/* ${RPM_BUILD_ROOT}%{_defaultdocdir}/%{name}-doc-%{version}/
pushd ${RPM_BUILD_ROOT}
mkdir -vp .%{WTSRVDIR}
mkdir -vp .%{WTRUNDIR}
install -v -m 0755 -d .%{_datadir}/cmake/Modules
mv -v .%{_prefix}/cmake/*.cmake .%{_datadir}/cmake/Modules
# cleanup
rm -rfv ${_prefix}/cmake
for d in examples reference; do
rm -v .%{_defaultdocdir}/%{name}-doc-%{version}/$d/html/installdox
done
rm -v .%{_defaultdocdir}/%{name}-doc-%{version}/main
find .%{_libdir}/Wt/examples -regex '.*/\(CMakeFiles\|.*\.cmake\|Doxygen\)' | \
xargs rm -rfv
# these scripts were used to generate pictures
find .%{_datadir}/Wt/resources -name 'generate.sh' | xargs rm -v
popd
%post -p /sbin/ldconfig
%postun -p /sbin/ldconfig
%post dbo -p /sbin/ldconfig
%postun dbo -p /sbin/ldconfig
%post dbo-postgres -p /sbin/ldconfig
%postun dbo-postgres -p /sbin/ldconfig
%files
%config(noreplace) %{_sysconfdir}/%{name}/wt_config.xml
%{_libdir}/libwt.so.*
%{_libdir}/libwtfcgi.so.*
%{_libdir}/libwthttp.so.*
%{_libdir}/libwttest.so.*
%dir %{_defaultdocdir}/%{name}-%{version}
%doc %{_defaultdocdir}/%{name}-%{version}/README.md
%doc %{_defaultdocdir}/%{name}-%{version}/LICENSE
%doc %{_defaultdocdir}/%{name}-%{version}/ReleaseNotes.html
%doc %{_defaultdocdir}/%{name}-%{version}/Changelog
%doc %{_defaultdocdir}/%{name}-%{version}/PACKAGE-LICENSING
%dir %{_datadir}/Wt
%dir %{_datadir}/Wt/resources
%{_datadir}/Wt/resources/*
%dir %{WTSRVDIR}
%dir %{WTRUNDIR}
%files dbo
%dir %{_defaultdocdir}/%{name}-dbo-%{version}
%doc %{_defaultdocdir}/%{name}-dbo-%{version}/LICENSE
%doc %{_defaultdocdir}/%{name}-dbo-%{version}/PACKAGE-LICENSING
%{_libdir}/libwtdbo.so.*
%{_libdir}/libwtdbosqlite3.so.*
%files dbo-postgres
%{_libdir}/libwtdbopostgres.so.*
%files devel
# header files
%dir %{_includedir}/Wt
%{_includedir}/Wt/*
%{_libdir}/*.so
%{_datadir}/cmake/Modules/*.cmake
%files examples
%dir %{_libdir}/Wt
%dir %{_libdir}/Wt/examples
%{_libdir}/Wt/examples/*
%files doc
%dir %{_defaultdocdir}/%{name}-doc-%{version}
%doc %{_defaultdocdir}/%{name}-doc-%{version}/LICENSE
%doc %{_defaultdocdir}/%{name}-doc-%{version}/PACKAGE-LICENSING
%{_defaultdocdir}/%{name}-doc-%{version}/*.html
%dir %{_defaultdocdir}/%{name}-doc-%{version}/images
%dir %{_defaultdocdir}/%{name}-doc-%{version}/reference
%dir %{_defaultdocdir}/%{name}-doc-%{version}/tutorial
%dir %{_defaultdocdir}/%{name}-doc-%{version}/examples
%{_defaultdocdir}/%{name}-doc-%{version}/images/*
%{_defaultdocdir}/%{name}-doc-%{version}/reference/*
%{_defaultdocdir}/%{name}-doc-%{version}/tutorial/*
%{_defaultdocdir}/%{name}-doc-%{version}/examples/*
%changelog
* Wed Jun 26 2013 Michal Minar <miminar@redhat.com> 3.3.0-2
- Using LZMA2 compression for source archive.
* Thu Jun 20 2013 Michal Minar <miminar@redhat.com> 3.3.0-1
- Version 3.3.0
* Sat Feb 09 2013 Denis Arnaud <denis.arnaud_fedora@m4x.org> - 3.2.3-2
- Rebuild for Boost-1.53.0
* Wed Dec 26 2012 Michal Minar <miminar@redhat.com> - 3.2.3-1
- Version 3.2.3
* Mon Dec 24 2012 Rex Dieter <rdieter@fedoraproject.org> 3.2.2-7.p1
- rebuild (GraphicsMagick)
* Thu Sep 13 2012 Michal Minar <miminar@redhat.com> - 3.2.2-6.p1
- fixed changelog line
* Wed Sep 12 2012 Michal Minar <miminar@redhat.com> - 3.2.2-5.p1
- Added wt-generate-tarball.sh script for source tarball generation
from upstream tarball, in order to remove the IBPP non-free library
from source.
* Mon Sep 03 2012 Michal Minar <miminar@redhat.com> - 3.2.2-4.p1
- separated doc dirs for independent subpackages -dbo and -doc
* Fri Aug 24 2012 Michal Minar <miminar@redhat.com> - 3.2.2-3.p1
- Own examples directory.
- Include a copy of license in wt-doc.
- Added License tag for wt-examples.
* Fri Aug 24 2012 Michal Minar <miminar@redhat.com> - 3.2.2-2.p1
- Not packaging back-end due to licensing issues.
* Tue Aug 21 2012 Michal Minar <miminar@redhat.com> - 3.2.2-1.p1
- Initial Package for FE.