Compare commits

..

No commits in common. "94f01cf222f0c65bb33a3c40a850d0bf2d031dc8" and "3d7c47463f092da95e9c083674659f8f5d8f5496" have entirely different histories.

4 changed files with 141 additions and 69 deletions

Binary file not shown.

Binary file not shown.

View File

@ -1,89 +1,165 @@
# %define libname libdeepin-font-manager
%define pkgrelease 1
%if 0%{?openeuler} # Run tests in check section
%define specrelease %{pkgrelease} # disable for bootstrapping
%else
## allow specrelease to have configurable %%{?dist} tag in other distribution %bcond_with check
%define specrelease %{pkgrelease}%{?dist}
%global with_debug 1
%if 0%{?with_debug}
%global debug_package %{nil}
%endif %endif
###deepin-font-manager-5.6.1.orig.tar.xz
Name: deepin-font-manager Name: deepin-font-manager
Version: 5.8.7 Version: 5.6.1
Release: %{specrelease} 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://github.com/linuxdeepin/%{name} URL: https://uos-packages.deepin.com/uos/pool/main/d/deepin-font-manager/
Source0: %{url}/archive/%{version}/%{name}-%{version}.tar.gz Source0: %{name}-%{version}.orig.tar.xz
BuildRequires: gcc-c++
BuildRequires: cmake
BuildRequires: qt5-devel
BuildRequires: dtkwidget-devel BuildRequires: qt5-qtbase-devel libqtxdg-devel libqtxdg
Buildrequires: dtkcore-devel BuildRequires: dtkwidget-devel
BuildRequires: dtkgui-devel BuildRequires: freetype-devel
BuildRequires: pkgconfig(dtkgui) BuildRequires: freetype
BuildRequires: pkgconfig(gsettings-qt) BuildRequires: fontconfig-devel
BuildRequires: pkgconfig(freetype2) BuildRequires: fontconfig
BuildRequires: pkgconfig(fontconfig) BuildRequires: qt5-qtx11extras-devel
BuildRequires: pkgconfig(dde-file-manager) BuildRequires: qt5-qtmultimedia-devel
BuildRequires: deepin-gettext-tools BuildRequires: qt5-linguist
BuildRequires: gtest-devel BuildRequires: qt5-qtsvg-devel
BuildRequires: gmock-devel BuildRequires: dde-file-manager-devel
BuildRequires: qt5-qtbase-private-devel BuildRequires: lightdm-gtk-greeter
%description %description
%{summary}. Deepin Font Manager is used to install and uninstall font file for users with bulk install function.
# %package -n %{libname}
# Summary: %{summary}
# %description -n %{libname}
# %{summary}.
#
# %package -n %{libname}-devel
# Summary: %{summary}
# %description -n %{libname}-devel
# %{summary}.
%prep %prep
%autosetup -p1 %autosetup
%build %build
export PATH=%{_qt5_bindir}:$PATH export PATH=$PATH:/usr/lib64/qt5/bin
sed -i "s|^cmake_minimum_required.*|cmake_minimum_required(VERSION 3.0)|" $(find . -name "CMakeLists.txt") mkdir build && cd build
sed -i "s|lib/${CMAKE_LIBRARY_ARCHITECTURE}|lib64|" ./deepin-font-preview-plugin/CMakeLists.txt %{_libdir}/qt5/bin/qmake ..
mkdir build && pushd build %{__make}
%cmake -DCMAKE_BUILD_TYPE=Release ../ -DAPP_VERSION=%{version} -DVERSION=%{version}
%make_build
popd
%install %install
%make_install -C build INSTALL_ROOT="%buildroot" pushd %{_builddir}/%{name}-%{version}/build
%make_install INSTALL_ROOT=%{buildroot}
popd
%files %files
%doc README.md %{_bindir}/deepin-font-manager
%{_bindir}/dfont-install
%{_bindir}/dfont-uninstall
%{_libdir}/*
%{_includedir}/%{name}
%{_datadir}/*
%license LICENSE %license LICENSE
%{_bindir}/%{name} %doc README.md
%{_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
%{_datadir}/deepin-manual/manual-assets/application/deepin-font-manager/font-manager/*
%{_datadir}/deepin-font-manager/contents.txt
%changelog %changelog
* Mon Jul 18 2022 konglidong <konglidong@uniontech.com> - 5.8.7-1 * Tue May 28 2019 Robin Lee <cheeselee@fedoraproject.org> - 3.17.0-2
- update to 5.8.7 - Fix a security issue
* Fri Feb 11 2022 liweigang <liweiganga@uniontech.com> - 5.6.23-2 * Tue Feb 26 2019 mosquito <sensor.wen@gmail.com> - 3.17.0-1
- fix build error - Update to 3.17.0
* Mon Jul 12 2021 weidong <weidong@uniontech.com> - 5.6.23-1 * Tue Feb 19 2019 Kalev Lember <klember@redhat.com> - 3.16.0-2
- Update 5.6.23 - Rebuilt against fixed atk (#1626575)
* Wed Sep 9 2020 chenbo pan <panchenbo@uniontech.com> - 5.6.1-2 * Thu Jan 31 2019 mosquito <sensor.wen@gmail.com> - 3.16.0-1
- fix compile error - Update to 3.16.0
* Thu Jul 30 2020 openEuler Buildteam <buildteam@openeuler.org> - 5.6.1-1
- Package init * Thu Jan 31 2019 Robin Lee <cheeselee@fedoraproject.org> - 3.12.0-3
- Create deepin-sound-player user
* Thu Jan 31 2019 Fedora Release Engineering <releng@fedoraproject.org> - 3.12.0-2
- Rebuilt for https://fedoraproject.org/wiki/Fedora_30_Mass_Rebuild
* Wed Dec 12 2018 mosquito <sensor.wen@gmail.com> - 3.12.0-1
- Update to 3.12.0
* Thu Nov 29 2018 mosquito <sensor.wen@gmail.com> - 3.10.0-1
- Update to 3.10.0
* Wed Nov 21 2018 mosquito <sensor.wen@gmail.com> - 3.9.0-1
- Update to 3.9.0
* Fri Nov 9 2018 mosquito <sensor.wen@gmail.com> - 3.5.0-1
- Update to 3.5.0
* Sat Aug 25 2018 mosquito <sensor.wen@gmail.com> - 3.1.26-1
- Update to 3.1.26
- build error with gobject-introspection 1.58 by gir-generator
https://github.com/linuxdeepin/developer-center/issues/604
* Tue Jul 31 2018 Florian Weimer <fweimer@redhat.com> - 3.1.20-3
- Rebuild with fixed binutils
* Thu Jul 12 2018 Fedora Release Engineering <releng@fedoraproject.org> - 3.1.20-2
- Rebuilt for https://fedoraproject.org/wiki/Fedora_29_Mass_Rebuild
* Fri Feb 16 2018 mosquito <sensor.wen@gmail.com> - 3.1.20-1
- Update to 3.1.20
* Wed Feb 07 2018 Fedora Release Engineering <releng@fedoraproject.org> - 3.1.18.1-3
- Rebuilt for https://fedoraproject.org/wiki/Fedora_28_Mass_Rebuild
* Thu Jan 11 2018 Igor Gnatenko <ignatenkobrain@fedoraproject.org> - 3.1.18.1-2
- Remove obsolete scriptlets
* Thu Dec 21 2017 mosquito <sensor.wen@gmail.com> - 3.1.18.1-1
- Update to 3.1.18.1
* Wed Nov 15 2017 mosquito <sensor.wen@gmail.com> - 3.1.17-1
- Update to 3.1.17
* Fri Oct 27 2017 mosquito <sensor.wen@gmail.com> - 3.1.15-1
- Update to 3.1.15
* Mon Oct 16 2017 mosquito <sensor.wen@gmail.com> - 3.1.14-2
- Fix out of memory on armv7hl
* Sat Oct 14 2017 mosquito <sensor.wen@gmail.com> - 3.1.14-1
- Update to 3.1.14
* Sat Aug 26 2017 mosquito <sensor.wen@gmail.com> - 3.1.13-1
- Update to 3.1.13
* Tue Aug 8 2017 mosquito <sensor.wen@gmail.com> - 3.1.11-2
- Rename deepin-api-devel to golang-deepin-api-devel
* Tue Aug 1 2017 mosquito <sensor.wen@gmail.com> - 3.1.11-1
- Update to 3.1.11
* Fri Jul 14 2017 mosquito <sensor.wen@gmail.com> - 3.1.10-1.git79125e7
- Update to 3.1.10
* Fri May 19 2017 mosquito <sensor.wen@gmail.com> - 3.1.7-1.git4c8e030
- Update to 3.1.7
* Sun Feb 26 2017 mosquito <sensor.wen@gmail.com> - 3.1.2-1.gitf93dbd7
- Update to 3.1.2
* Tue Jan 17 2017 mosquito <sensor.wen@gmail.com> - 3.0.16.1-1.gitcfdb295
- Update to 3.0.16.1
* Mon Jan 16 2017 Jaroslav <cz.guardian@gmail.com> Stepanek 3.0.16-1
- Update to version 3.0.16
* Sun Dec 18 2016 Jaroslav <cz.guardian@gmail.com> Stepanek 3.0.15-1
- Update to version 3.0.15
* Wed Dec 07 2016 Jaroslav <cz.guardian@gmail.com> Stepanek 3.0.14-2
- Changed compilation procedure
* Wed Sep 28 2016 Jaroslav <cz.guardian@gmail.com> Stepanek 3.0.14-1
- Initial package build

View File

@ -1,4 +0,0 @@
version_control: github
src_repo: linuxdeepin/deepin-font-manager
tag_prefix: ^v
seperator: .