Compare commits
10 Commits
1f91e7cd95
...
f6e0a599df
| Author | SHA1 | Date | |
|---|---|---|---|
|
|
f6e0a599df | ||
|
|
a88ecb674b | ||
|
|
cb84e0c014 | ||
|
|
c84e1dc020 | ||
|
|
af63dba9f0 | ||
|
|
2bb27dbc46 | ||
|
|
c947a6032c | ||
|
|
9a89455baf | ||
|
|
71c83811ce | ||
|
|
2d51c00edb |
36
README.en.md
36
README.en.md
@ -1,36 +0,0 @@
|
|||||||
# deepin-compressor
|
|
||||||
|
|
||||||
#### Description
|
|
||||||
deepin compressor
|
|
||||||
|
|
||||||
#### 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-compressor
|
|
||||||
|
|
||||||
#### 介绍
|
|
||||||
deepin compressor
|
|
||||||
|
|
||||||
#### 软件架构
|
|
||||||
软件架构说明
|
|
||||||
|
|
||||||
|
|
||||||
#### 安装教程
|
|
||||||
|
|
||||||
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/)
|
|
||||||
BIN
deepin-compressor-5.12.13.tar.gz
Normal file
BIN
deepin-compressor-5.12.13.tar.gz
Normal file
Binary file not shown.
Binary file not shown.
@ -1,6 +1,8 @@
|
|||||||
|
%define specrelease 1
|
||||||
|
|
||||||
Name: deepin-compressor
|
Name: deepin-compressor
|
||||||
Version: 5.8.0.14
|
Version: 5.12.13
|
||||||
Release: 1
|
Release: %{specrelease}
|
||||||
Summary: A fast and lightweight application for creating and extracting archives
|
Summary: A fast and lightweight application for creating and extracting archives
|
||||||
License: GPLv3+
|
License: GPLv3+
|
||||||
URL: https://github.com/linuxdeepin/deepin-devicemanager
|
URL: https://github.com/linuxdeepin/deepin-devicemanager
|
||||||
@ -14,8 +16,8 @@ BuildRequires: pkgconfig(gsettings-qt)
|
|||||||
BuildRequires: pkgconfig(libsecret-1)
|
BuildRequires: pkgconfig(libsecret-1)
|
||||||
BuildRequires: pkgconfig(gio-unix-2.0)
|
BuildRequires: pkgconfig(gio-unix-2.0)
|
||||||
BuildRequires: pkgconfig(disomaster)
|
BuildRequires: pkgconfig(disomaster)
|
||||||
BuildRequires: dtkcore-devel
|
BuildRequires: dtkwidget-devel
|
||||||
BuildRequires: dtkwidget-devel
|
BuildRequires: dtkcore-devel
|
||||||
BuildRequires: pkgconfig(dtkgui)
|
BuildRequires: pkgconfig(dtkgui)
|
||||||
BuildRequires: pkgconfig(udisks2-qt5)
|
BuildRequires: pkgconfig(udisks2-qt5)
|
||||||
BuildRequires: kf5-kcodecs-devel
|
BuildRequires: kf5-kcodecs-devel
|
||||||
@ -23,42 +25,90 @@ BuildRequires: kf5-karchive-devel
|
|||||||
BuildRequires: libzip-devel
|
BuildRequires: libzip-devel
|
||||||
BuildRequires: libarchive-devel
|
BuildRequires: libarchive-devel
|
||||||
BuildRequires: minizip-devel
|
BuildRequires: minizip-devel
|
||||||
|
BuildRequires: poppler-cpp-devel
|
||||||
|
BuildRequires: gtest-devel gmock
|
||||||
|
BuildRequires: chrpath
|
||||||
|
|
||||||
Requires: p7zip p7zip-plugins
|
Requires: p7zip
|
||||||
Requires: lz4-libs
|
Requires: lz4-libs
|
||||||
Requires: unrar
|
|
||||||
Requires: deepin-shortcut-viewer
|
Requires: deepin-shortcut-viewer
|
||||||
|
Requires: lzop
|
||||||
|
Recommends: unrar p7zip-plugins
|
||||||
|
|
||||||
%description
|
%description
|
||||||
%{summary}.
|
%{summary}.
|
||||||
|
|
||||||
%prep
|
%prep
|
||||||
%autosetup
|
%autosetup -p1
|
||||||
|
|
||||||
%build
|
%build
|
||||||
# help find (and prefer) qt5 utilities, e.g. qmake, lrelease
|
|
||||||
export PATH=%{_qt5_bindir}:$PATH
|
export PATH=%{_qt5_bindir}:$PATH
|
||||||
mkdir build && pushd build
|
sed -i "s|^cmake_minimum_required.*|cmake_minimum_required(VERSION 3.0)|" $(find . -name "CMakeLists.txt")
|
||||||
%qmake_qt5 ../ VERSION=%{version} DEFINES+="VERSION=%{version}"
|
sed -i "s|lib/|%_lib/|" CMakeLists.txt
|
||||||
%make_build
|
sed -i "s|/usr/lib|%_libdir|" src/source/common/pluginmanager.cpp
|
||||||
|
mkdir build && pushd build
|
||||||
|
%cmake -DCMAKE_BUILD_TYPE=Release ../ -DAPP_VERSION=%{version} -DVERSION=%{version}
|
||||||
|
%make_build
|
||||||
popd
|
popd
|
||||||
|
|
||||||
%install
|
%install
|
||||||
%make_install -C build INSTALL_ROOT="%buildroot"
|
%make_install -C build INSTALL_ROOT="%buildroot"
|
||||||
|
|
||||||
|
# remove rpath info
|
||||||
|
for file in $(find %{buildroot}/ -executable -type f -exec file {} ';' | grep "\<ELF\>" | awk -F ':' '{print $1}')
|
||||||
|
do
|
||||||
|
if [ ! -u "$file" ]; then
|
||||||
|
if [ -w $file ]; then
|
||||||
|
chrpath -d $file
|
||||||
|
fi
|
||||||
|
fi
|
||||||
|
done
|
||||||
|
|
||||||
|
# add rpath path in ld.so.conf.d
|
||||||
|
mkdir -p %{buildroot}/%{_sysconfdir}/ld.so.conf.d
|
||||||
|
echo "%{_bindir}/%{name}" > %{buildroot}/%{_sysconfdir}/ld.so.conf.d/%{name}-%{_arch}.conf
|
||||||
|
echo "%{_libdir}/%{name}/plugins/" > %{buildroot}/%{_sysconfdir}/ld.so.conf.d/%{name}-%{_arch}.conf
|
||||||
|
|
||||||
%files
|
%files
|
||||||
%doc README.md
|
%doc README.md
|
||||||
%license LICENSE
|
%license LICENSE
|
||||||
%{_bindir}/%{name}
|
%{_bindir}/%{name}
|
||||||
/usr/lib/%{name}/plugins/*.so
|
%_libdir/%{name}/plugins/*.so
|
||||||
%{_datadir}/deepin/dde-file-manager/oem-menuextensions/*.desktop
|
# %{_datadir}/deepin/dde-file-manager/oem-menuextensions/*.desktop
|
||||||
%{_datadir}/icons/hicolor/scalable/apps/%{name}.svg
|
%{_datadir}/icons/hicolor/scalable/apps/%{name}.svg
|
||||||
%{_datadir}/%{name}/translations/*.qm
|
%{_datadir}/%{name}/translations/*.qm
|
||||||
%{_datadir}/applications/%{name}.desktop
|
%{_datadir}/applications/%{name}.desktop
|
||||||
%{_datadir}/mime/packages/%{name}.xml
|
%{_datadir}/mime/packages/%{name}.xml
|
||||||
|
%{_datadir}/deepin-manual/manual-assets/application/deepin-compressor/archive-manager/*
|
||||||
|
%{_datadir}/applications/context-menus/*.conf
|
||||||
|
%{_sysconfdir}/ld.so.conf.d/%{name}-%{_arch}.conf
|
||||||
|
|
||||||
|
%post
|
||||||
|
/sbin/ldconfig
|
||||||
|
|
||||||
|
%postun
|
||||||
|
/sbin/ldconfig
|
||||||
|
|
||||||
%changelog
|
%changelog
|
||||||
* Fri Jul 09 2021 weidong <weidong@uniontech.com> - 5.8.0.14-3
|
* Fri Jul 28 2023 leeffo <liweiganga@uniontech.com> - 5.12.13-1
|
||||||
|
- upgrade to version 5.12.13
|
||||||
|
|
||||||
|
* Thu Mar 30 2023 liweiganga <liweiganga@uniontech.com> - 5.10.11-1
|
||||||
|
- update: update to 5.10.11
|
||||||
|
|
||||||
|
* Tue Mar 14 2023 liweigang <liweiganga@uniontech.com> - 5.10.5-3
|
||||||
|
- feat: remove rpath
|
||||||
|
|
||||||
|
* Fri Aug 05 2022 liweigang <liweiganga@uniontech.com> - 5.10.5-2
|
||||||
|
- fix nothing install requires
|
||||||
|
|
||||||
|
* Mon Jul 18 2022 konglidong <konglidong@uniontech.com> - 5.10.5-1
|
||||||
|
- update to 5.10.5
|
||||||
|
|
||||||
|
* Fri Feb 11 2022 liweigang <liweiganga@uniontech.com> - 5.8.0.14-2
|
||||||
|
- fix nothing install requires
|
||||||
|
|
||||||
|
* Fri Jul 09 2021 weidong <weidong@uniontech.com> - 5.8.0.14-1
|
||||||
- Update 5.8.0.14
|
- Update 5.8.0.14
|
||||||
|
|
||||||
* Sat Jun 05 2021 weidong <weidong@uniontech.com> - 5.6.9-3
|
* Sat Jun 05 2021 weidong <weidong@uniontech.com> - 5.6.9-3
|
||||||
@ -69,3 +119,4 @@ popd
|
|||||||
|
|
||||||
* Thu Jul 30 2020 openEuler Buildteam <buildteam@openeuler.org> - 5.6.9-1
|
* Thu Jul 30 2020 openEuler Buildteam <buildteam@openeuler.org> - 5.6.9-1
|
||||||
- Package init
|
- Package init
|
||||||
|
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user