From 002e20514f61eb71f1e5989826ed3d6e6d89d58f Mon Sep 17 00:00:00 2001 From: Vitaly Zaitsev Date: Sep 20 2020 09:53:44 +0000 Subject: Updated to version 0.8.0. --- diff --git a/.gitignore b/.gitignore index 43af59c..3fc26cd 100644 --- a/.gitignore +++ b/.gitignore @@ -1,3 +1,4 @@ /flameshot-0.5.0.tar.gz /flameshot-0.5.1.tar.gz /flameshot-0.6.0.tar.gz +/flameshot-0.8.0.tar.gz diff --git a/flameshot.spec b/flameshot.spec index 81a72c2..3a1679c 100644 --- a/flameshot.spec +++ b/flameshot.spec @@ -1,6 +1,8 @@ +%undefine __cmake_in_source_build + Name: flameshot -Version: 0.6.0 -Release: 6%{?dist} +Version: 0.8.0 +Release: 1%{?dist} # Main code: GPLv3 # Logo: Free Art License v1.3 @@ -11,21 +13,24 @@ Release: 6%{?dist} # More information: https://github.com/lupoDharkael/flameshot#license License: GPLv3+ and ASL 2.0 and GPLv2 and LGPLv3 and Free Art Summary: Powerful and simple to use screenshot software - URL: https://github.com/lupoDharkael/flameshot -Source0: %{url}/archive/v%{version}.tar.gz#/%{name}-%{version}.tar.gz - -BuildRequires: pkgconfig(Qt5Widgets) -BuildRequires: pkgconfig(Qt5Network) -BuildRequires: pkgconfig(Qt5Multimedia) -BuildRequires: pkgconfig(Qt5Concurrent) -BuildRequires: pkgconfig(Qt5DBus) +Source0: %{url}/archive/v%{version}/%{name}-%{version}.tar.gz + +BuildRequires: cmake(Qt5LinguistTools) +BuildRequires: cmake(Qt5Multimedia) +BuildRequires: cmake(Qt5Concurrent) +BuildRequires: cmake(Qt5Widgets) +BuildRequires: cmake(Qt5Network) +BuildRequires: cmake(Qt5Core) +BuildRequires: cmake(Qt5DBus) +BuildRequires: cmake(Qt5Gui) BuildRequires: cmake(Qt5Svg) BuildRequires: desktop-file-utils BuildRequires: libappstream-glib -BuildRequires: qt5-linguist +BuildRequires: ninja-build BuildRequires: gcc-c++ +BuildRequires: cmake BuildRequires: gcc Requires: hicolor-icon-theme @@ -37,37 +42,40 @@ editor with advanced features. %prep %autosetup -p1 -mkdir %{_target_platform} %build -pushd %{_target_platform} - %qmake_qt5 PREFIX=%{_prefix} CONFIG+=packaging .. -popd - -%make_build -C %{_target_platform} +%cmake -G Ninja \ + -DCMAKE_BUILD_TYPE=Release +%cmake_build %install -%make_install INSTALL_ROOT=%{buildroot} -C %{_target_platform} +%cmake_install %find_lang Internationalization --with-qt %check -appstream-util validate-relax --nonet "%{buildroot}%{_datadir}/metainfo/%{name}.appdata.xml" +appstream-util validate-relax --nonet %{buildroot}%{_metainfodir}/%{name}.metainfo.xml desktop-file-validate %{buildroot}%{_datadir}/applications/*.desktop %files -f Internationalization.lang %doc README.md -%license LICENSE img/app/flameshotLogoLicense.txt +%license LICENSE %dir %{_datadir}/%{name} %dir %{_datadir}/%{name}/translations +%dir %{_datadir}/bash-completion/completions +%dir %{_datadir}/zsh/site-functions %{_bindir}/%{name} %{_datadir}/applications/*.desktop -%{_datadir}/metainfo/%{name}.appdata.xml +%{_metainfodir}/%{name}.metainfo.xml %{_datadir}/bash-completion/completions/%{name} +%{_datadir}/zsh/site-functions/_%{name} %{_datadir}/dbus-1/interfaces/*.xml %{_datadir}/dbus-1/services/*.service %{_datadir}/icons/hicolor/*/apps/%{name}.* %changelog +* Sun Sep 20 2020 Vitaly Zaitsev - 0.8.0-1 +- Updated to version 0.8.0. + * Mon Jul 27 2020 Fedora Release Engineering - 0.6.0-6 - Rebuilt for https://fedoraproject.org/wiki/Fedora_33_Mass_Rebuild diff --git a/sources b/sources index f50e279..88af80d 100644 --- a/sources +++ b/sources @@ -1 +1 @@ -SHA512 (flameshot-0.6.0.tar.gz) = 194127032ab0f62a6ba2698688e11b2d4e6f0e04a282144f5fbb6c232eeebc71371af2d55abbb6e98b8649dee036e6f0a6ef55710e4321a60fd5ac6e453ab975 +SHA512 (flameshot-0.8.0.tar.gz) = 0c2cb65c5568a3318be14b8506c026b0b90a6039c0876fcee275518be9b9d0f95aac76be3b9a59042ab6c4a23a30c752b171a443b009312fa270f47829461ca4