!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
|
Name: deepin-font-manager
|
||||||
Version: 5.6.1
|
Version: 5.6.23
|
||||||
Release: 2
|
Release: 1
|
||||||
Summary: Deepin Font Manager is used to install and uninstall font file for users with bulk install function.
|
Summary: Deepin Font Manager is used to install and uninstall font file for users with bulk install function
|
||||||
License: GPLv3+
|
License: GPLv3+
|
||||||
URL: https://uos-packages.deepin.com/uos/pool/main/d/deepin-font-manager/
|
URL: https://github.com/linuxdeepin/%{name}
|
||||||
Source0: %{name}-%{version}.orig.tar.xz
|
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: dtkcore-devel
|
||||||
BuildRequires: dtkwidget-devel
|
BuildRequires: dtkwidget-devel
|
||||||
BuildRequires: freetype-devel
|
BuildRequires: pkgconfig(dtkgui)
|
||||||
BuildRequires: freetype
|
BuildRequires: pkgconfig(freetype2)
|
||||||
BuildRequires: fontconfig-devel
|
BuildRequires: pkgconfig(fontconfig)
|
||||||
BuildRequires: fontconfig
|
BuildRequires: pkgconfig(dde-file-manager)
|
||||||
BuildRequires: qt5-qtx11extras-devel
|
|
||||||
BuildRequires: qt5-qtmultimedia-devel
|
|
||||||
BuildRequires: qt5-linguist
|
|
||||||
BuildRequires: qt5-qtsvg-devel
|
|
||||||
BuildRequires: dde-file-manager-devel
|
|
||||||
BuildRequires: lightdm-gtk-greeter
|
|
||||||
|
|
||||||
%description
|
%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
|
%prep
|
||||||
%autosetup
|
%autosetup
|
||||||
|
|
||||||
%build
|
%build
|
||||||
export PATH=$PATH:/usr/lib64/qt5/bin
|
# help find (and prefer) qt5 utilities, e.g. qmake, lrelease
|
||||||
mkdir build && cd build
|
export PATH=%{_qt5_bindir}:$PATH
|
||||||
%{_libdir}/qt5/bin/qmake ..
|
mkdir build && pushd build
|
||||||
%{__make}
|
%qmake_qt5 ../ DAPP_VERSION=%{version} DEFINES+="VERSION=%{version}"
|
||||||
|
%make_build
|
||||||
%install
|
|
||||||
pushd %{_builddir}/%{name}-%{version}/build
|
|
||||||
%make_install INSTALL_ROOT=%{buildroot}
|
|
||||||
popd
|
popd
|
||||||
|
|
||||||
|
%install
|
||||||
|
%make_install -C build INSTALL_ROOT="%buildroot"
|
||||||
|
|
||||||
%files
|
%files
|
||||||
%{_bindir}/deepin-font-manager
|
|
||||||
%{_bindir}/dfont-install
|
|
||||||
%{_bindir}/dfont-uninstall
|
|
||||||
%{_libdir}/*
|
|
||||||
%{_includedir}/%{name}
|
|
||||||
%{_datadir}/*
|
|
||||||
%license LICENSE
|
|
||||||
%doc README.md
|
%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
|
%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
|
* Wed Sep 9 2020 chenbo pan <panchenbo@uniontech.com> - 5.6.1-2
|
||||||
- fix compile error
|
- fix compile error
|
||||||
* Thu Jul 30 2020 openEuler Buildteam <buildteam@openeuler.org> - 5.6.1-1
|
* Thu Jul 30 2020 openEuler Buildteam <buildteam@openeuler.org> - 5.6.1-1
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user