Sign Up
Log In
Log In
or
Sign Up
Places
All Projects
Status Monitor
Collapse sidebar
home:leeds
dingtalk
dingtalk.spec
Overview
Repositories
Revisions
Requests
Users
Attributes
Meta
File dingtalk.spec of Package dingtalk
# # spec file for package dingtalk # # Copyright (c) 2024 SUSE LLC # # All modifications and additions to the file contributed by third parties # remain the property of their copyright owners, unless otherwise agreed # upon. The license for this file, and modifications and additions to the # file, is the same license as for the pristine package itself (unless the # license for the pristine package is not an Open Source License, in which # case the license is the MIT License). An "Open Source License" is a # license that conforms to the Open Source Definition (Version 1.9) # published by the Open Source Initiative. # Please submit bugfixes or comments via https://bugs.opensuse.org/ # Name: dingtalk Version: 7.6.0 Release: 0 Summary: DingTalk for Linux License: SUSE-NonFree Group: Productivity/Networking/Talk/Clients URL: https://www.dingtalk.com/download/ Source0: dingtalk_amd64.deb Source1: dingtalk.desktop BuildRequires: hicolor-icon-theme %description DingTalk is an enterprise communication and collaboration platform developed by Alibaba Group. %prep ar x %{SOURCE0} tar -Jxvf data.tar.xz rm %{_builddir}/opt/apps/com.alibabainc.dingtalk/files/7.6.0-Release.40718/libm.so.6 # remove rpath error find %{_builddir}/opt/apps/com.alibabainc.dingtalk -type f -name "*.so*" -exec chrpath --delete {} \; # delete hidden files find %{_builddir}/opt/apps/com.alibabainc.dingtalk -type f -name ".*" -delete %build %install mkdir -p %{buildroot}%{_libexecdir}/%{name} cp -av ./opt/apps/com.alibabainc.dingtalk/* %{buildroot}%{_libexecdir}/%{name}/ ln -s ../../%{_libexecdir}/dingtalk/files/Elevator.sh %{buildroot}%{_bindir}/%{name} # .desktop desktop-file-install --dir %{buildroot}%{_datadir}/applications %{SOURCE1} %if 0%{?suse_version} %suse_update_desktop_file %{buildroot}%{_datadir}/applications/%{name}.desktop %endif %if 0%{?suse_version} || 0%{?fedora} || 0%{?mageia} %fdupes -s %{buildroot} %endif %files %{_bindir}/dingtalk %{_libexecdir}/dingtalk/* %changelog
Locations
Projects
Search
Status Monitor
Help
OpenBuildService.org
Documentation
API Documentation
Code of Conduct
Contact
Support
@OBShq
Terms
openSUSE Build Service is sponsored by
The Open Build Service is an
openSUSE project
.
Sign Up
Log In
Places
Places
All Projects
Status Monitor