Compare commits

...

11 Commits

Author SHA1 Message Date
openeuler-ci-bot
2dd9677777
!14 update to 6.0.4
From: @lliuzhi 
Reviewed-by: @ut-layne-yang 
Signed-off-by: @ut-layne-yang
2024-04-10 10:09:21 +00:00
liuzhilin
2ea0d2150a --amend 2024-04-10 17:41:50 +08:00
liuzhilin
c159453f30 update to 6.0.4 2024-04-10 17:03:22 +08:00
openeuler-ci-bot
cdf3b41e6a
!9 [sync] PR-8: [update] update version to 5.8.7
From: @openeuler-sync-bot 
Reviewed-by: @panchenbo 
Signed-off-by: @panchenbo
2022-07-29 08:51:45 +00:00
konglidong
6669a9d72a update version to 5.8.7
(cherry picked from commit 8f65f55611a812d77912b4b3d388db0db72c948a)
2022-07-28 17:24:27 +08:00
openeuler-ci-bot
8016638631
!5 fix build error
From: @loong-C 
Reviewed-by: @weidongkl 
Signed-off-by: @weidongkl
2022-06-17 06:56:56 +00:00
liweiganga
d04d2fcec7 fix build error 2022-02-11 10:21:54 +08:00
openeuler-ci-bot
64c4487a0b !4 Update deepin-font-manager to 5.6.23
From: @weidongkl
Reviewed-by: @yeqinglong01
Signed-off-by: @yeqinglong01
2021-07-20 06:01:30 +00:00
wei dong
ceef1d6729 Update 5.6.23 2021-07-12 13:48:09 +08:00
openeuler-ci-bot
3357643eb2 !3 fix compile error
Merge pull request !3 from panchenbo/master
2020-09-09 19:29:12 +08:00
panchenbo
3309ac9848 fix compile error 2020-09-09 19:13:25 +08:00
6 changed files with 63 additions and 117 deletions

View File

@ -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/)

View File

@ -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.

View File

@ -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

View File

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