!4 Update deepin-font-manager to 5.6.23
From: @weidongkl Reviewed-by: @yeqinglong01 Signed-off-by: @yeqinglong01
This commit is contained in:
commit
64c4487a0b
Binary file not shown.
BIN
deepin-font-manager-5.6.23.tar.gz
Normal file
BIN
deepin-font-manager-5.6.23.tar.gz
Normal file
Binary file not shown.
@ -1,63 +1,74 @@
|
||||
%bcond_with check
|
||||
%define libname libdeepin-font-manager
|
||||
|
||||
%global with_debug 1
|
||||
%if 0%{?with_debug}
|
||||
%global debug_package %{nil}
|
||||
%endif
|
||||
Name: deepin-font-manager
|
||||
Version: 5.6.1
|
||||
Release: 2
|
||||
Summary: Deepin Font Manager is used to install and uninstall font file for users with bulk install function.
|
||||
Version: 5.6.23
|
||||
Release: 1
|
||||
Summary: Deepin Font Manager is used to install and uninstall font file for users with bulk install function
|
||||
License: GPLv3+
|
||||
URL: https://uos-packages.deepin.com/uos/pool/main/d/deepin-font-manager/
|
||||
Source0: %{name}-%{version}.orig.tar.xz
|
||||
URL: https://github.com/linuxdeepin/%{name}
|
||||
Source0: %{url}/archive/%{version}/%{name}-%{version}.tar.gz
|
||||
|
||||
BuildRequires: gcc-c++
|
||||
BuildRequires: qt5-devel
|
||||
|
||||
BuildRequires: qt5-qtbase-devel libqtxdg-devel libqtxdg
|
||||
BuildRequires: dtkcore-devel
|
||||
BuildRequires: dtkwidget-devel
|
||||
BuildRequires: freetype-devel
|
||||
BuildRequires: freetype
|
||||
BuildRequires: fontconfig-devel
|
||||
BuildRequires: fontconfig
|
||||
BuildRequires: qt5-qtx11extras-devel
|
||||
BuildRequires: qt5-qtmultimedia-devel
|
||||
BuildRequires: qt5-linguist
|
||||
BuildRequires: qt5-qtsvg-devel
|
||||
BuildRequires: dde-file-manager-devel
|
||||
BuildRequires: lightdm-gtk-greeter
|
||||
BuildRequires: pkgconfig(dtkgui)
|
||||
BuildRequires: pkgconfig(freetype2)
|
||||
BuildRequires: pkgconfig(fontconfig)
|
||||
BuildRequires: pkgconfig(dde-file-manager)
|
||||
|
||||
%description
|
||||
Deepin Font Manager is used to install and uninstall font file for users with bulk install function.
|
||||
%{summary}.
|
||||
|
||||
%package -n %{libname}
|
||||
Summary: %{summary}
|
||||
%description -n %{libname}
|
||||
%{summary}.
|
||||
|
||||
%package -n %{libname}-devel
|
||||
Summary: %{summary}
|
||||
%description -n %{libname}-devel
|
||||
%{summary}.
|
||||
|
||||
|
||||
%prep
|
||||
%autosetup
|
||||
|
||||
%build
|
||||
export PATH=$PATH:/usr/lib64/qt5/bin
|
||||
mkdir build && cd build
|
||||
%{_libdir}/qt5/bin/qmake ..
|
||||
%{__make}
|
||||
|
||||
%install
|
||||
pushd %{_builddir}/%{name}-%{version}/build
|
||||
%make_install INSTALL_ROOT=%{buildroot}
|
||||
# help find (and prefer) qt5 utilities, e.g. qmake, lrelease
|
||||
export PATH=%{_qt5_bindir}:$PATH
|
||||
mkdir build && pushd build
|
||||
%qmake_qt5 ../ DAPP_VERSION=%{version} DEFINES+="VERSION=%{version}"
|
||||
%make_build
|
||||
popd
|
||||
|
||||
%install
|
||||
%make_install -C build INSTALL_ROOT="%buildroot"
|
||||
|
||||
%files
|
||||
%{_bindir}/deepin-font-manager
|
||||
%{_bindir}/dfont-install
|
||||
%{_bindir}/dfont-uninstall
|
||||
%{_libdir}/*
|
||||
%{_includedir}/%{name}
|
||||
%{_datadir}/*
|
||||
%license LICENSE
|
||||
%doc README.md
|
||||
%license LICENSE
|
||||
%{_bindir}/%{name}
|
||||
%{_libdir}/dde-file-manager/plugins/previews/libdeepin-font-preview-plugin.so
|
||||
%{_datadir}/icons/hicolor/scalable/apps/%{name}.svg
|
||||
%{_datadir}/%{name}/translations/*.qm
|
||||
%{_datadir}/applications/%{name}.desktop
|
||||
|
||||
|
||||
%files -n %{libname}
|
||||
%{_libdir}/%{libname}.so.*
|
||||
%{_datadir}/deepin-font-manager/CONTENTS.txt
|
||||
|
||||
%files -n %{libname}-devel
|
||||
%{_includedir}/%{name}/
|
||||
%{_libdir}/%{libname}.so
|
||||
%{_libdir}/pkgconfig/%{name}.pc
|
||||
|
||||
%changelog
|
||||
* Mon Jul 12 2021 weidong <weidong@uniontech.com> - 5.6.23-1
|
||||
- Update 5.6.23
|
||||
|
||||
* Wed Sep 9 2020 chenbo pan <panchenbo@uniontech.com> - 5.6.1-2
|
||||
- fix compile error
|
||||
* Thu Jul 30 2020 openEuler Buildteam <buildteam@openeuler.org> - 5.6.1-1
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user