Sophie

Sophie

distrib > Mageia > 8 > armv7hl > by-pkgid > 1531e198f1adc62c2acd66edfe255f19 > files > 4

drawpile-2.1.17-2.mga8.src.rpm

Name:           drawpile
Version:        2.1.17
Release:        %mkrel 2
Summary:        A collaborative drawing program
Group:          Graphics/Editors and Converters
License:        GPLv3+
URL:            https://drawpile.net/
Source:         https://drawpile.net/files/src/%{name}-%{version}.tar.gz
Patch0:         drawpile-2.1.17-compatibility-with-libmicrohttpd-0.9.71.patch
Patch1:         drawpile-2.1.17-fix-build-with-qt-5.15.patch
BuildRequires:  cmake
BuildRequires:  extra-cmake-modules
BuildRequires:  desktop-file-utils
BuildRequires:  gcc-c++
BuildRequires:  xdg-utils
BuildRequires:  cmake(KF5Archive)
BuildRequires:  cmake(KF5DNSSD)
BuildRequires:  pkgconfig(Qt5Network)
BuildRequires:  pkgconfig(Qt5Core)
BuildRequires:  pkgconfig(Qt5Gui)
BuildRequires:  pkgconfig(Qt5Concurrent)
BuildRequires:  pkgconfig(Qt5Help)
BuildRequires:  pkgconfig(Qt5Multimedia)
BuildRequires:  pkgconfig(Qt5Svg)
BuildRequires:  pkgconfig(Qt5Xml)
BuildRequires:  pkgconfig(Qt5Widgets)
BuildRequires:  pkgconfig(libmicrohttpd)
BuildRequires:  pkgconfig(libpng)
BuildRequires:  pkgconfig(systemd)
BuildRequires:  giflib-devel
BuildRequires:  miniupnpc-devel

%description
DrawPile is a sketching oriented drawing program with a twist:
you can share your drawing live with other users.
There are no restrictions on who may draw where; every user has full access
to the whole picture simultaneously.

Feature highlights:
    * Antialiased drawing and multiple blending modes
    * Layers
    * Text annotations
    * Tablet pressure sensitivity
    * Image may be rotated freely while drawing
    * Built-in server for hosting shared sessions
    * Chat

%prep
%setup -q
%autopatch -p1

%build
%cmake_qt5
%cmake_build

%install
%cmake_install

#fix .desktop file
desktop-file-edit \
	--remove-category=Network \
		%{buildroot}%{_datadir}/applications/net.drawpile.drawpile.desktop

%files
%doc %{_docdir}/%{name}/
%{_bindir}/drawpile*
%{_datadir}/drawpile/
%{_datadir}/metainfo/net.drawpile.drawpile.appdata.xml
%{_datadir}/applications/net.drawpile.drawpile.desktop
%{_datadir}/mime/packages/x-drawpile.xml
%{_iconsdir}/hicolor/*/apps/drawpile*
%{_iconsdir}/hicolor/*/mimetypes/*
%{_mandir}/man1/drawpile*.1*


%changelog
* Wed Dec 16 2020 umeabot <umeabot> 2.1.17-2.mga8
+ Revision: 1658330
- Rebuild for new Qt5

* Sun Jul 26 2020 daviddavid <daviddavid> 2.1.17-1.mga8
+ Revision: 1609155
- new version: 2.1.17
- add patch to fix compatibility with libmicrohttpd 0.9.71
- add patch to fix build with Qt 5.15

* Sat Feb 15 2020 umeabot <umeabot> 2.0.10-4.mga8
+ Revision: 1524560
- Mageia 8 Mass Rebuild
+ wally <wally>
- build with new cmake macros

* Sat Mar 30 2019 umeabot <umeabot> 2.0.10-3.mga7
+ Revision: 1381570
- Qt5 Rebuild

* Fri Aug 24 2018 daviddavid <daviddavid> 2.0.10-2.mga7
+ Revision: 1253804
- rebuild for new miniupnpc 2.1

* Sat May 05 2018 daviddavid <daviddavid> 2.0.10-1.mga7
+ Revision: 1226263
- new version: 2.0.10

* Sat Oct 21 2017 daviddavid <daviddavid> 2.0.5.1-1.mga7
+ Revision: 1172959
- new version: 2.0.5.1
- rebase Fix-desktop-etc-files-install patch
- remove merged upstream patch

* Tue May 16 2017 neoclust <neoclust> 1.0.2-9.mga6
+ Revision: 1102004
- Rebuild against new miniupnpc

* Sun Jan 10 2016 daviddavid <daviddavid> 1.0.2-8.mga6
+ Revision: 921192
- rebuild for new giflib 5.1.2

* Mon Dec 28 2015 daviddavid <daviddavid> 1.0.2-7.mga6
+ Revision: 916304
- rebuild for new libmicrohttpd 0.9.47

* Wed Oct 14 2015 wally <wally> 1.0.2-6.mga6
+ Revision: 891600
- remove Network category from .desktop file

* Wed Oct 14 2015 wally <wally> 1.0.2-5.mga6
+ Revision: 891527
- fix mimetype file install location

* Wed Oct 14 2015 wally <wally> 1.0.2-4.mga6
+ Revision: 891481
- fix mimetype icons installation also

* Wed Oct 14 2015 wally <wally> 1.0.2-3.mga6
+ Revision: 891461
- use upstream .desktop file
- add patch to install .desktop file, icons and mimetype properly
- BR giflib-devel
- BR miniupnpc-devel
- mageiafy .spec

* Tue Oct 13 2015 shlomif <shlomif> 1.0.2-2.mga6
+ Revision: 890492
- Add the .desktop file.
- Add missing BRs for i18n and stuff.
- Thanks to Necrosporus on Freenode.
- Update to new URL.

* Sun Oct 04 2015 shlomif <shlomif> 1.0.2-1.mga6
+ Revision: 886119
- Add missing BR
- Importing drawpile based on the openSUSE package


* Sat Oct  4 2014 mailaender@opensuse.org
- update to version 0.9.4
* Sun Dec 16 2012 mailaender@opensuse.org
- Adapt for SUSE
* Thu Feb  9 2012 huaren.zhong@gmail.com
- Rebuild for Fedora
  Sun Mar 28 00:00:00 UTC 2010 - Julian Aloofi <julian at, fedoraproject.org> 0.6.0-1
- initial package