format spec

This commit is contained in:
weidong 2020-08-21 09:37:10 +08:00
parent e705e44613
commit 85a4fc66c0

View File

@ -2,11 +2,6 @@
%global _unpackaged_files_terminate_build 0
%global debug_package %{nil}
%global sname libgio-qt
%global common_description %{expand:
This is a Qt wrapper library for Gio (or say it's a glib/glibmm wrapper mainly focused on [GIO](https://gitlab.gnome.org/GNOME/glibmm/tree/master/gio) module). This library is designed to be exception-free and avoid Qt application developer do direct access to glib/glibmm (so they can use Gio in a more Qt way).}
######gio-qt-0.0.8.orig.tar.xz
Name: gio-qt
Version: 0.0.8
@ -17,15 +12,12 @@ License: GPLv3
URL: https://uos-packages.deepin.com/uos/pool/main/g/gio-qt/
Source0: %{name}-%{version}.orig.tar.xz
BuildRequires: cmake
BuildRequires: qt5-qtbase-devel
BuildRequires: glibmm24-devel
BuildRequires: doxygen
BuildRequires: cmake qt5-qtbase-devel glibmm24-devel doxygen
%description
%{common_description}
%{summary}
%package -n %{sname}
Summary: %{summary}
@ -40,7 +32,6 @@ Summary: %{summary}
%setup
sed -i 's|VERSION 3.12.4|VERSION 3.11.4|g' CMakeLists.txt
sed -i 's|BUILD_DOCS "Build documentation" ON|BUILD_DOCS "Build documentation" OFF|g' CMakeLists.txt
echo aa=$?
%build
cmake .