Dominique Leuenberger 2020-07-08 17:15:42 +00:00 committed by Git OBS Bridge
commit 70aae7324f
3 changed files with 17 additions and 2 deletions

3
tupitube-rpmlintrc Normal file
View File

@ -0,0 +1,3 @@
# false positive
addFilter("unexpanded-macro.*Opaque.*")

View File

@ -1,3 +1,11 @@
-------------------------------------------------------------------
Tue Jul 7 10:50:01 UTC 2020 - Luigi Baldoni <aloisio@gmx.com>
- Add GPL-3.0-or-later license on account of the libqtmypaint and
libraster* plugins
- Add tupitube-rpmlintrc
- Fix some rpmlint complaints
------------------------------------------------------------------- -------------------------------------------------------------------
Thu Jun 4 21:14:42 UTC 2020 - Christophe Giboudeaux <christophe@krop.fr> Thu Jun 4 21:14:42 UTC 2020 - Christophe Giboudeaux <christophe@krop.fr>

View File

@ -25,10 +25,11 @@ Name: tupitube
Version: 0.2.15 Version: 0.2.15
Release: 0 Release: 0
Summary: 2D vectorial/animation tool Summary: 2D vectorial/animation tool
License: GPL-2.0-or-later License: GPL-2.0-or-later AND GPL-3.0-or-later
Group: Productivity/Graphics/Vector Editors Group: Productivity/Graphics/Vector Editors
URL: https://maefloresta.com URL: https://maefloresta.com
Source0: https://sourceforge.net/projects/tupi2d/files/Source%20Code/tupitube.desk-%{version}.tar.gz Source0: https://sourceforge.net/projects/tupi2d/files/Source%20Code/tupitube.desk-%{version}.tar.gz
Source99: tupitube-rpmlintrc
Patch0: tupitube.quazip5.patch Patch0: tupitube.quazip5.patch
# PATCH-FIX-UPSTREAM # PATCH-FIX-UPSTREAM
Patch1: 0001-Fix-build-with-Qt-5.15.patch Patch1: 0001-Fix-build-with-Qt-5.15.patch
@ -93,7 +94,7 @@ This package contains plugins for %{name}.
%autosetup -p1 -n tupitube.desk %autosetup -p1 -n tupitube.desk
# Fix 'E: spurious-executable-perm' # Fix 'E: spurious-executable-perm'
chmod -x COPYING README* chmod -x COPYING README* launcher/tupitube.xml
# Fix 'W: wrong-script-end-of-line-encoding' # Fix 'W: wrong-script-end-of-line-encoding'
dos2unix src/shell/html/css/tupitube.css dos2unix src/shell/html/css/tupitube.css
@ -104,6 +105,9 @@ find . -type f -name \*.pro | while read f; do
echo "QMAKE_CXXFLAGS += %{optflags} ${ffmpeg_include}" >> "$f" echo "QMAKE_CXXFLAGS += %{optflags} ${ffmpeg_include}" >> "$f"
done done
# Remove shebang
sed -i '/^#!/d' src/mypaint/raster/main/brushes/label-brush-mypaint.sh
%build %build
%configure \ %configure \
--with-qtdir=%{_qtdir} \ --with-qtdir=%{_qtdir} \