libusbmuxd/libusbmuxd.spec

91 lines
2.4 KiB
RPMSpec
Raw Permalink Normal View History

2019-09-30 10:58:40 -04:00
Name: libusbmuxd
2020-08-06 18:14:04 +08:00
Version: 2.0.2
Release: 4
2019-09-30 10:58:40 -04:00
Summary: software protocol library and tools to communicate with iOS devices natively
License: LGPLv2+ and GPLv2+
URL: http://www.libimobiledevice.org/
2020-08-06 18:14:04 +08:00
Source0: https://github.com/libimobiledevice/%{name}/archive/%{version}.tar.gz
2019-09-30 10:58:40 -04:00
Patch1: 0001-inotify-Avoid-leaking-file-descriptor-to-child-proce.patch
BuildRequires: gcc libplist-devel >= 2.2.0 autoconf automake libtool
2019-09-30 10:58:40 -04:00
Provides: %{name}-utils
Obsoletes: %{name}-utils
%description
libusbmuxd provides the library and tools to communicate with Apple's iPod Touch,
iPhone, iPad and Apple TV devices. It does not depend on using any existing proprietary
libraries and does not require jailbreaking. It allows other software to easily access the
device's filesystem, retrieve information about the device and it's internals and so on.
%package devel
Summary: %{name} development package
Requires: %{name}%{?_isa} = %{version}-%{release}
Obsoletes: usbmuxd-devel < 1.0.9
%description devel
provide head files or other files to support for development with %{name}.
%prep
%autosetup -n %{name}-%{version} -p1
2019-09-30 10:58:40 -04:00
2020-08-06 18:14:04 +08:00
NOCONFIGURE=1 ./autogen.sh
2019-09-30 10:58:40 -04:00
%build
%configure --disable-static
sed -i 's|^hardcode_libdir_flag_spec=.*|hardcode_libdir_flag_spec=""|g' libtool
sed -i 's|^runpath_var=LD_RUN_PATH|runpath_var=DIE_RPATH_DIE|g' libtool
2020-08-06 18:14:04 +08:00
%make_build
2019-09-30 10:58:40 -04:00
%install
2020-08-06 18:14:04 +08:00
%make_install
2019-09-30 10:58:40 -04:00
%check
make check
%ldconfig_scriptlets
%files
%license COPYING
2020-08-06 18:14:04 +08:00
%doc README.md AUTHORS
%{_libdir}/libusbmuxd-2.0.so.*
2019-09-30 10:58:40 -04:00
%{_bindir}/iproxy
%exclude %{_libdir}/*.la
2020-08-06 18:14:04 +08:00
%{_bindir}/inetcat
%{_mandir}/man1/*
2019-09-30 10:58:40 -04:00
%files devel
%{_includedir}/usbmuxd*
2020-08-06 18:14:04 +08:00
%{_libdir}/pkgconfig/libusbmuxd-2.0.pc
%{_libdir}/libusbmuxd-2.0.so
2019-09-30 10:58:40 -04:00
%changelog
* Mon Jul 8 2024 kouwenqi <kouwenqi@kylinos.cn> - 2.0.2-4
- Fix leaking file descriptor to child processes
* Mon Apr 18 2022 Chenxi Mao <chenxi.mao@suse.com> - 2.0.2-3
- Remove self-dependency
2020-08-07 14:36:00 +08:00
* Fri Aug 7 2020 jinzhimin<jinzhimin2@huawei.com> - 2.0.2-2
- add old so file
2020-08-06 18:14:04 +08:00
* Thu Aug 6 2020 jinzhimin<jinzhimin2@huawei.com> - 2.0.2-1
- update to 2.0.2
2022-06-16 07:05:08 +00:00
* Mon Jul 1 2019 Wu Bo <wubo009@163.com> - 1.0.10-13
2020-07-01 14:34:11 +08:00
- rebuild package
2019-09-30 10:58:40 -04:00
* Fri Aug 30 2019 louhongxiang <louhongxiang@huawei.com> - 1.0.10-12
- Type:enhancemnet
- ID:NA
- SUG:NA
- DESC:openEuler Debranding
* Wed Aug 21 2019 Su Weifeng <suweifeng1@huawei.com> - 1.0.10-11
- Type:other
- ID:NA
- SUG:NA
- DESC:Package init and rename patches