Compare commits
11 Commits
0f6c5eab7b
...
2dd9677777
| Author | SHA1 | Date | |
|---|---|---|---|
|
|
2dd9677777 | ||
|
|
2ea0d2150a | ||
|
|
c159453f30 | ||
|
|
cdf3b41e6a | ||
|
|
6669a9d72a | ||
|
|
8016638631 | ||
|
|
d04d2fcec7 | ||
|
|
64c4487a0b | ||
|
|
ceef1d6729 | ||
|
|
3357643eb2 | ||
|
|
3309ac9848 |
36
README.en.md
36
README.en.md
@ -1,36 +0,0 @@
|
||||
# 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
37
README.md
@ -1,37 +0,0 @@
|
||||
# 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.
BIN
deepin-font-manager-6.0.4.tar.gz
Normal file
BIN
deepin-font-manager-6.0.4.tar.gz
Normal file
Binary file not shown.
@ -1,61 +1,84 @@
|
||||
%bcond_with check
|
||||
|
||||
%global with_debug 1
|
||||
%if 0%{?with_debug}
|
||||
%global debug_package %{nil}
|
||||
%endif
|
||||
# %define libname libdeepin-font-manager
|
||||
Name: deepin-font-manager
|
||||
Version: 5.6.1
|
||||
Release: 1
|
||||
Summary: Deepin Font Manager is used to install and uninstall font file for users with bulk install function.
|
||||
Version: 6.0.4
|
||||
Release: 2
|
||||
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: cmake
|
||||
BuildRequires: qt5-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
|
||||
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
|
||||
|
||||
%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
|
||||
%autosetup -p1
|
||||
|
||||
%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}
|
||||
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
|
||||
|
||||
%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
|
||||
%{_datadir}/deepin-manual/manual-assets/application/deepin-font-manager/font-manager/*
|
||||
%{_datadir}/deepin-font-manager/contents.txt
|
||||
|
||||
|
||||
%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
|
||||
|
||||
@ -1,4 +0,0 @@
|
||||
version_control: github
|
||||
src_repo: linuxdeepin/deepin-font-manager
|
||||
tag_prefix: ^v
|
||||
seperator: .
|
||||
Loading…
x
Reference in New Issue
Block a user