1
0

Accepting request 925288 from home:sebix:branches:hardware

required for a recent libimobiledevice version (https://build.opensuse.org/request/show/924569)

now with fixed description

OBS-URL: https://build.opensuse.org/request/show/925288
OBS-URL: https://build.opensuse.org/package/show/hardware/libimobiledevice-glue?expand=0&rev=1
This commit is contained in:
Michal Suchanek 2021-10-14 20:42:12 +00:00 committed by Git OBS Bridge
commit 449437ee06
9 changed files with 142 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

1
.gitignore vendored Normal file
View File

@ -0,0 +1 @@
.osc

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">0~git.%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">499a5578b15235d00bc492068635de45bec1807d</param></service></servicedata>

1
baselibs.conf Normal file
View File

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

View File

@ -0,0 +1,3 @@
version https://git-lfs.github.com/spec/v1
oid sha256:5c6e487e17fe81486d2552a728cb8cc8f92249a8ed0dfd5fc02d35bb1d2faabc
size 143883

View File

@ -0,0 +1,5 @@
-------------------------------------------------------------------
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,5 @@
name: libimobiledevice-glue
version: 0~git.20210925
mtime: 1632523732
commit: 499a5578b15235d00bc492068635de45bec1807d

View File

@ -0,0 +1,83 @@
#
# spec file for package libimobiledevice-glue
#
# Copyright (c) 2021 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: 0~git.20210925
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.2.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 \
--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