Compare commits

..

No commits in common. "2dd967777784d5086f0f7da7e67bfb2e2688765e" and "0f6c5eab7b8be63f552d52d39303e62304454b8e" have entirely different histories.

6 changed files with 117 additions and 63 deletions

36
README.en.md Normal file
View File

@ -0,0 +1,36 @@
# deepin-font-manager
#### Description
deepin font manager
#### Software Architecture
Software architecture description
#### Installation
1. xxxx
2. xxxx
3. xxxx
#### Instructions
1. xxxx
2. xxxx
3. xxxx
#### Contribution
1. Fork the repository
2. Create Feat_xxx branch
3. Commit your code
4. Create Pull Request
#### Gitee Feature
1. You can use Readme\_XXX.md to support different languages, such as Readme\_en.md, Readme\_zh.md
2. Gitee blog [blog.gitee.com](https://blog.gitee.com)
3. Explore open source project [https://gitee.com/explore](https://gitee.com/explore)
4. The most valuable open source project [GVP](https://gitee.com/gvp)
5. The manual of Gitee [https://gitee.com/help](https://gitee.com/help)
6. The most popular members [https://gitee.com/gitee-stars/](https://gitee.com/gitee-stars/)

37
README.md Normal file
View File

@ -0,0 +1,37 @@
# deepin-font-manager
#### 介绍
deepin font manager
#### 软件架构
软件架构说明
#### 安装教程
1. xxxx
2. xxxx
3. xxxx
#### 使用说明
1. xxxx
2. xxxx
3. xxxx
#### 参与贡献
1. Fork 本仓库
2. 新建 Feat_xxx 分支
3. 提交代码
4. 新建 Pull Request
#### 码云特技
1. 使用 Readme\_XXX.md 来支持不同的语言,例如 Readme\_en.md, Readme\_zh.md
2. 码云官方博客 [blog.gitee.com](https://blog.gitee.com)
3. 你可以 [https://gitee.com/explore](https://gitee.com/explore) 这个地址来了解码云上的优秀开源项目
4. [GVP](https://gitee.com/gvp) 全称是码云最有价值开源项目,是码云综合评定出的优秀开源项目
5. 码云官方提供的使用手册 [https://gitee.com/help](https://gitee.com/help)
6. 码云封面人物是一档用来展示码云会员风采的栏目 [https://gitee.com/gitee-stars/](https://gitee.com/gitee-stars/)

Binary file not shown.

Binary file not shown.

View File

@ -1,84 +1,61 @@
# %define libname libdeepin-font-manager
%bcond_with check
%global with_debug 1
%if 0%{?with_debug}
%global debug_package %{nil}
%endif
Name: deepin-font-manager
Version: 6.0.4
Release: 2
Summary: Deepin Font Manager is used to install and uninstall font file for users with bulk install function
Version: 5.6.1
Release: 1
Summary: Deepin Font Manager is used to install and uninstall font file for users with bulk install function.
License: GPLv3+
URL: https://github.com/linuxdeepin/%{name}
Source0: %{url}/archive/%{version}/%{name}-%{version}.tar.gz
URL: https://uos-packages.deepin.com/uos/pool/main/d/deepin-font-manager/
Source0: %{name}-%{version}.orig.tar.xz
BuildRequires: gcc-c++
BuildRequires: cmake
BuildRequires: qt5-devel
BuildRequires: dtkwidget-devel
Buildrequires: dtkcore-devel
BuildRequires: dtkgui-devel
BuildRequires: pkgconfig(dtkgui)
BuildRequires: pkgconfig(gsettings-qt)
BuildRequires: pkgconfig(freetype2)
BuildRequires: pkgconfig(fontconfig)
BuildRequires: pkgconfig(dde-file-manager)
BuildRequires: deepin-gettext-tools
BuildRequires: gtest-devel
BuildRequires: gmock-devel
BuildRequires: qt5-qtbase-private-devel
BuildRequires: qt5-qtbase-devel libqtxdg-devel libqtxdg
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
%description
%{summary}.
# %package -n %{libname}
# Summary: %{summary}
# %description -n %{libname}
# %{summary}.
#
# %package -n %{libname}-devel
# Summary: %{summary}
# %description -n %{libname}-devel
# %{summary}.
Deepin Font Manager is used to install and uninstall font file for users with bulk install function.
%prep
%autosetup -p1
%autosetup
%build
export PATH=%{_qt5_bindir}:$PATH
sed -i "s|^cmake_minimum_required.*|cmake_minimum_required(VERSION 3.0)|" $(find . -name "CMakeLists.txt")
sed -i "s|lib/${CMAKE_LIBRARY_ARCHITECTURE}|lib64|" ./deepin-font-preview-plugin/CMakeLists.txt
mkdir build && pushd build
%cmake -DCMAKE_BUILD_TYPE=Release ../ -DAPP_VERSION=%{version} -DVERSION=%{version}
%make_build
popd
export PATH=$PATH:/usr/lib64/qt5/bin
mkdir build && cd build
%{_libdir}/qt5/bin/qmake ..
%{__make}
%install
%make_install -C build INSTALL_ROOT="%buildroot"
pushd %{_builddir}/%{name}-%{version}/build
%make_install INSTALL_ROOT=%{buildroot}
popd
%files
%doc README.md
%{_bindir}/deepin-font-manager
%{_bindir}/dfont-install
%{_bindir}/dfont-uninstall
%{_libdir}/*
%{_includedir}/%{name}
%{_datadir}/*
%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
%{_datadir}/deepin-manual/manual-assets/application/deepin-font-manager/font-manager/*
%{_datadir}/deepin-font-manager/contents.txt
%doc README.md
%changelog
* Wed Apr 10 2024 liuzhilin <liuzhilin@uniontech.com> - 6.0.4-2
- update to 6.0.4
* Mon Jul 18 2022 konglidong <konglidong@uniontech.com> - 5.8.7-1
- update to 5.8.7
* Fri Feb 11 2022 liweigang <liweiganga@uniontech.com> - 5.6.23-2
- fix build error
* 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
- Package init

4
deepin-font-manager.yaml Normal file
View File

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