1 Star 0 Fork 10

caofei/usbmuxd

forked from src-openEuler/usbmuxd 
加入 Gitee
与超过 1200万 开发者一起发现、参与优秀开源项目,私有仓库也完全免费 :)
免费加入
文件
该仓库未声明开源许可证文件(LICENSE),使用请关注具体项目描述及其代码上游依赖。
克隆/下载
usbmuxd.spec 2.10 KB
一键复制 编辑 原始数据 按行查看 历史
Name: usbmuxd
Version: 1.1.1
Release: 3
Summary: Daemon for communicating with Apple's iOS devices
License: GPLv3+ or GPLv2+
URL: http://www.libimobiledevice.org/
Source0: https://github.com/libimobiledevice/usbmuxd/releases/download/%{version}/usbmuxd-%{version}.tar.bz2
Patch1: 0001-Fix-typo-in-NEWS-for-last-release-notes.patch
Patch2: 0001-Update-deprecated-autoconf-macros-and-update-m4-file.patch
BuildRequires: gcc libimobiledevice-devel libplist-devel libusbx-devel systemd autoconf libtool automake
Requires(pre): shadow-utils
Requires(post): systemd
Requires(preun): systemd
Requires(postun): systemd
%description
usbmuxd is a socket daemon to multiplex connections from and to iOS devices.It allows multiple
services on the device to be accessed simultaneously.
%package help
Summary: Help package for %{name}
%description help
This package contains some man help files for %{name}.
%prep
%autosetup -n %{name}-%{version} -p1
autoreconf -f -i
sed -i 's/OWNER="usbmux"/OWNER="usbmuxd"/' udev/39-usbmuxd.rules.in
sed -i 's/--user usbmux/--user usbmuxd/' systemd/usbmuxd.service.in
%build
%configure
%make_build
%install
%make_install
%pre
getent group usbmuxd >/dev/null || groupadd -r usbmuxd -g 113
getent passwd usbmuxd >/dev/null || useradd -r -g usbmuxd -d / -s /sbin/nologin -c "usbmuxd user" -u 113 usbmuxd
exit 0
%post
%systemd_post usbmuxd.service
%preun
%systemd_preun usbmuxd.service
%postun
%systemd_postun_with_restart usbmuxd.service
%files
%doc AUTHORS README.md COPYING.GPLv2 COPYING.GPLv3
%{_unitdir}/usbmuxd.service
%{_udevrulesdir}/39-usbmuxd.rules
%{_sbindir}/usbmuxd
%files help
%{_datadir}/man/man8/usbmuxd.8.gz
%changelog
* Mon Jan 9 2023 caofei <caofei@xfusion.com> - 1.1.1-3
- Update deprecated autoconf macros and update m4 files
* Fri Jan 6 2023 lingsheng <lingsheng@huawei.com> - 1.1.1-2
- Fix typo in NEWS for last release notes
* Tue Aug 11 2020 lingsheng <lingsheng@huawei.com> - 1.1.1-1
- Update to 1.1.1
* Fri Nov 29 2019 lingsheng <lingsheng@huawei.com> - 1.1.0-16
- Package init
马建仓 AI 助手
尝试更多
代码解读
代码找茬
代码优化
1
https://gitee.com/cao-fei8/usbmuxd.git
git@gitee.com:cao-fei8/usbmuxd.git
cao-fei8
usbmuxd
usbmuxd
master

搜索帮助