Sync from SUSE:ALP:Source:Standard:1.0 libimobiledevice-glue revision d0de217f7ddbaa0140bb030d685c49dc

This commit is contained in:
Adrian Schröter 2023-06-16 15:05:01 +02:00
commit 3d4ca65492
8 changed files with 152 additions and 0 deletions

23
.gitattributes vendored Normal file
View File

@ -0,0 +1,23 @@
## Default LFS
*.7z filter=lfs diff=lfs merge=lfs -text
*.bsp filter=lfs diff=lfs merge=lfs -text
*.bz2 filter=lfs diff=lfs merge=lfs -text
*.gem filter=lfs diff=lfs merge=lfs -text
*.gz filter=lfs diff=lfs merge=lfs -text
*.jar filter=lfs diff=lfs merge=lfs -text
*.lz filter=lfs diff=lfs merge=lfs -text
*.lzma filter=lfs diff=lfs merge=lfs -text
*.obscpio filter=lfs diff=lfs merge=lfs -text
*.oxt filter=lfs diff=lfs merge=lfs -text
*.pdf filter=lfs diff=lfs merge=lfs -text
*.png filter=lfs diff=lfs merge=lfs -text
*.rpm filter=lfs diff=lfs merge=lfs -text
*.tbz filter=lfs diff=lfs merge=lfs -text
*.tbz2 filter=lfs diff=lfs merge=lfs -text
*.tgz filter=lfs diff=lfs merge=lfs -text
*.ttf filter=lfs diff=lfs merge=lfs -text
*.txz filter=lfs diff=lfs merge=lfs -text
*.whl filter=lfs diff=lfs merge=lfs -text
*.xz filter=lfs diff=lfs merge=lfs -text
*.zip filter=lfs diff=lfs merge=lfs -text
*.zst filter=lfs diff=lfs merge=lfs -text

15
_service Normal file
View File

@ -0,0 +1,15 @@
<services>
<service mode="disabled" name="obs_scm">
<param name="url">git@github.com:libimobiledevice/libimobiledevice-glue.git</param>
<param name="scm">git</param>
<param name="changesgenerate">enable</param>
<param name="filename">libimobiledevice-glue</param>
<param name="versionformat">@PARENT_TAG@+git@TAG_OFFSET@.%cd</param>
</service>
<service mode="disabled" name="set_version"/>
<service name="tar" mode="buildtime"/>
<service name="recompress" mode="buildtime">
<param name="file">*.tar</param>
<param name="compression">gz</param>
</service>
</services>

6
_servicedata Normal file
View File

@ -0,0 +1,6 @@
<servicedata>
<service name="tar_scm">
<param name="url">git@github.com:libimobiledevice/libimobiledevice.git</param>
<param name="changesrevision">b3d35fbcf7a1ac669c2e80fbd58920941a5d4c0c</param></service><service name="tar_scm">
<param name="url">git@github.com:libimobiledevice/libimobiledevice-glue.git</param>
<param name="changesrevision">214bafdde6a1434ead87357afe6cb41b32318495</param></service></servicedata>

1
baselibs.conf Normal file
View File

@ -0,0 +1 @@
libimobiledevice-glue-1_0-0

BIN
libimobiledevice-glue-1.0.0+git3.20230513.obscpio (Stored with Git LFS) Normal file

Binary file not shown.

View File

@ -0,0 +1,17 @@
-------------------------------------------------------------------
Fri Jun 02 11:11:11 UTC 2023 - msuchanek@suse.com
- Update to version 1.0.0+git3.20230513:
* Set minimum required libplist version to 2.3.0
* Remove plist-related code in favor of new libplist API
* termcolors: Rename COLOR_* macros to FG_* due to conflict with ncurses
* Updated README with pkg-config requirement
* utils: Use libplist's plist_from_memory instead of duplicating format detection
* Add support for Apple's OPACK encoding and TLV format
* utils: Fix bad malloc result check in buffer_read_from_filename and test arguments for NULL
-------------------------------------------------------------------
Sat Oct 9 14:31:39 UTC 2021 - Sebastian Wagner <sebix+novell.com@sebix.at>
- initial package for git repo version 20210925.
Package is required for a revent libimobiledevice version

View File

@ -0,0 +1,4 @@
name: libimobiledevice-glue
version: 1.0.0+git3.20230513
mtime: 1683946902
commit: 214bafdde6a1434ead87357afe6cb41b32318495

View File

@ -0,0 +1,83 @@
#
# spec file for package libimobiledevice-glue
#
# Copyright (c) 2023 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/
#
%define libname libimobiledevice-glue-1_0-0
Name: libimobiledevice-glue
Version: 1.0.0+git3.20230513
Release: 0
Summary: Native protocols library for iOS devices
License: LGPL-2.1-or-later
URL: https://www.libimobiledevice.org
Source: %{name}-%{version}.tar.gz
Source1: baselibs.conf
BuildRequires: fdupes
BuildRequires: gcc-c++
BuildRequires: libtool
BuildRequires: pkgconfig
BuildRequires: pkgconfig(libplist-2.0) >= 2.3.0
%description
A library with common code used by libraries and tools around the libimobiledevice project.
It does not depend on any existing libraries from Apple.
%package -n %{libname}
Summary: Native protocols library for iOS devices
%description -n %{libname}
A library with common code used by libraries and tools around the libimobiledevice project.
It does not depend on any existing libraries from Apple.
%package devel
Summary: Development files for %{name}
Requires: %{libname} = %{version}
Requires: pkgconfig(libplist-2.0)
%description devel
The %{name}-devel package contains libraries and header files for
developing applications that use %{name}.
%prep
%setup -q
sed -i -e '/Requires:/d' src/%{name}-1.0.pc.in
sed -i -e 's/-L${libdir}//' src/%{name}-1.0.pc.in
%build
autoreconf -fvi
%configure PACKAGE_VERSION=%{version} \
--disable-silent-rules \
--disable-static
%make_build
%install
%make_install
find %{buildroot} -type f -name "*.la" -delete -print
%post -n %{libname} -p /sbin/ldconfig
%postun -n %{libname} -p /sbin/ldconfig
%files -n %{libname}
%doc README.md
%license COPYING
%{_libdir}/%{name}-1.0.so.0*
%files devel
%{_includedir}/%{name}/
%{_libdir}/%{name}-1.0.so
%{_libdir}/pkgconfig/%{name}-1.0.pc
%changelog