Accepting request 36503 from mobile:synchronization:FACTORY

Copy from mobile:synchronization:FACTORY/libimobiledevice based on submit request 36503 from user FunkyM

OBS-URL: https://build.opensuse.org/request/show/36503
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/libimobiledevice?expand=0&rev=1
This commit is contained in:
OBS User autobuild 2010-04-22 11:02:35 +00:00 committed by Git OBS Bridge
commit 9488e7ac79
5 changed files with 432 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

View File

@ -0,0 +1,3 @@
version https://git-lfs.github.com/spec/v1
oid sha256:1620ed57441f1fb6a5f62ab4579213a0b1193f301a4c198ac1d013dd62eff480
size 409689

142
libimobiledevice.changes Normal file
View File

@ -0,0 +1,142 @@
-------------------------------------------------------------------
Tue Mar 23 19:49:41 CEST 2010 - opensuse@sukimashita.com
- Update to 1.0.0:
* Update and fix documentation for full coverage
* Add man pages for tools
* Extend mobilebackup interface
* Add user data argument to notification callback function
* Fix broken Python bindings
* Add Python bindings for notification proxy interface
* Add screenshotr interface and tool
* Add mobile_image_mounter interface and tool
* Remove HAL fdi rules
-------------------------------------------------------------------
Tue Feb 02 17:59:51 CEST 2010 - opensuse@sukimashita.com
- Rename package to libimobiledevice
- Update to 0.9.7:
* Project renamed to libimobiledevice
* Add soname versioning for future releases
* Fix regression causing never paired devices to not work by adding
auto-pairing for devices in lockdownd_client_new_with_handshake
* Add file_relay service implementation and dev test tool
* Minor device link service fixes
* New idevicebackup tool with support for full and incremental backups
* Add mobilebackup service implementation
-------------------------------------------------------------------
Sat Jan 23 23:46:55 CEST 2010 - opensuse@sukimashita.com
- Update to 0.9.6:
* Minor public API changes to prepare for 1.0 release:
- lockdownd_client_new -> lockdownd_client_new_with_handshake
- fooservice_recv -> fooservice_receive
- iphone_device_send/_recv -> iphone_connection_send/_receive
* Rename some code for consistency
* Refactor pairing to allow custom pair records
* Move SSL handling out of lockdownd code
* Refactor lockdown session handling code
* Remove debug mask support
* No longer do a full lockdown handshake on client_new
* Refactor debug code to be consistent and easier to use
* Run validate_pair by default during lockdown handshake
* Allow retrieving the type for lockdown query_type request
* Add new property_list_service and device_link_service abstractions
* Detect pairing failure due to having a password set on the device
* Implement lockdown phone activation and deactivation
* Fix iphoneinfo not printing values in key/value mode
* Implement lockdownd_unpair() request
* Add more notification ids and lockdown domains
* Implement label support for lockdown requests
* Add new installation_proxy interface
* Add new sbservices interface
* Implement lockdownd_validate_pair() request
* Add endian safety to AFC
* Make lockdown sessions without SSL work
* Fix linking on Mandriva Linux
* Minor bugfixes and documentation updates
-------------------------------------------------------------------
Tue Nov 24 22:37:16 CEST 2009 - opensuse@sukimashita.com
- Update to 0.9.5:
* Updated to the latest libplist 0.16 API
* Fixed various minor leaks and issues
* Updated Python bindings and module name
-------------------------------------------------------------------
Thu Oct 29 15:37:42 CEST 2009 - opensuse@sukimashita.com
- Update to 0.9.4:
* Update to libplist 0.15 API rework
* Update Python bindings
* Bufixes around usbmuxd daemon usage
* Use automake 1.11 silent rules if available
* Various bugfixes
-------------------------------------------------------------------
Thu Aug 06 23:01:59 CEST 2009 - opensuse@sukimashita.com
- Update to 0.9.3:
* Migrate to use the new usbmuxd daemon
* Refactor whole API
* Add iPhone 3GS support
* Add hard/symlink support for AFC
* New iphone_id tool to list connected devices and get the device
name
* iphoneinfo now allows plist/xml output and queries by
domain/key
* Fix a lot of bugs/crashes, compiler warnings and comments
* Bump libplist requirement to 0.13 and remove deprecated code
-------------------------------------------------------------------
Wed May 13 10:12:11 CEST 2009 - opensuse@sukimashita.com
- Update to 0.9.1:
* Fix make distcheck
* Bump libplist requirement to 0.12 and remove deprecated code
* A bunch of autotools fixes
- Include iphoneinfo and iphonesyslog tools in packages
- Removed upstreamed patches
-------------------------------------------------------------------
Sun May 10 20:29:47 CEST 2009 - opensuse@sukimashita.com
- Update to 0.9.0:
* Fix pkg-config dependancies
* Fix Python binding generation
* AFC cleanup and improved error handling
* Add support for the notification proxy service
* Add tools to show device information and relay syslog
* More robust pairing implementation
* Remove libiphone-initconf, SSL implementation handles it at
runtime now
* Fix receive of plists larger than a packet
* Return an error if failed to start a service on the device
* Fix usb enumeration
* Fix udev rule to catch usb hubs, too
* Add large file support
* Move out plist handling into libplist and depend on it
* Add Python bindings
* Lots of bugfixes
- Remove upstreamed patches
-------------------------------------------------------------------
Sat Apr 11 11:15:32 CET 2009 - opensuse@sukimashita.com
- Update to latest git HEAD
* Use udev to set usb configuration; iphone kmod is obsolete now
* Remove HAL mounting
* Bugfixes
-------------------------------------------------------------------
Sat Apr 04 11:08:16 CET 2009 - opensuse@sukimashita.com
- Rename source package to libiphone
-------------------------------------------------------------------
Sat Jan 31 12:00:00 CET 2009 - opensuse@sukimashita.com
- Initial package created

263
libimobiledevice.spec Normal file
View File

@ -0,0 +1,263 @@
#
# spec file for package libimobiledevice (Version 1.0.0)
#
# Copyright (c) 2010 SUSE LINUX Products GmbH, Nuernberg, Germany.
#
# 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 http://bugs.opensuse.org/
#
# norootforbuild
Name: libimobiledevice
%define _name libimobiledevice1
Version: 1.0.0
Release: 1
License: LGPL v2 or later
BuildRequires: gcc-c++ glib2-devel hal libtasn1-devel libxml2-devel sed
BuildRequires: libusbmuxd-devel >= 1.0.0
BuildRequires: libplist++-devel >= 1.1 libplist-devel >= 1.1
BuildRequires: readline-devel
BuildRequires: python-devel python-plist swig
%if 0%{?opensuse_bs}
BuildRequires: pkg-config
%endif
%if 0%{?suse_version} <= 1110
BuildRequires: libusb-1_0-devel >= 1.0.3
%endif
BuildRequires: libgcrypt-devel libgnutls-devel
Source: %{name}-%{version}.tar.bz2
Group: System/Libraries
Summary: Native protocols library for iPhone and iPod Touch
Url: http://www.libimobiledevice.org
BuildRoot: %{_tmppath}/%{name}-%{version}-build
Requires: usbmuxd >= 1.0.0
Obsoletes: libiphone0 < 0.9.6
AutoReqProv: on
%description
libimobiledevice is a software library that talks the protocols to support
iPhone and iPod Touch devices. Unlike other projects, it does not depend
on using any existing `.dll` or `.so` libraries from Apple.
Authors:
--------
Christophe Fergeau
Jonathan Beck
Matthew Colyer
Martin Aumueller
Martin Szulecki
Nikias Bassen
Patrick Walton
Paul Sladen
Todd Zullinger
Zach C.
Zoltan Balaton
%package -n %{_name}
License: LGPL v2 or later
Summary: Native protocols library for iPhone and iPod Touch
Group: System/Libraries
Provides: %{name} = %{version}
Obsoletes: %{name} < %{version}
Obsoletes: libiphone0 < 0.9.6
%description -n %{_name}
libimobiledevice is a software library that talks the protocols to support
iPhone and iPod Touch devices. Unlike other projects, it does not depend
on using any existing `.dll` or `.so` libraries from Apple.
Authors:
--------
Christophe Fergeau
Jonathan Beck
Matthew Colyer
Martin Aumueller
Martin Szulecki
Nikias Bassen
Patrick Walton
Paul Sladen
Todd Zullinger
Zach C.
Zoltan Balaton
%package devel
License: LGPL v2 or later
Summary: Development files for %{_name}
Group: Development/Libraries/C and C++
Requires: %{_name} = %{version}
Requires: libplist-devel >= 0.16
Requires: libusbmuxd-devel >= 1.0.0
%description devel
The %{name}-devel package contains libraries and header files for
developing applications that use %{_name}.
Authors:
--------
Christophe Fergeau
Jonathan Beck
Matthew Colyer
Martin Aumueller
Martin Szulecki
Nikias Bassen
Patrick Walton
Paul Sladen
Todd Zullinger
Zach C.
Zoltan Balaton
%package tools
License: LGPL v2 or later
Summary: Tools using %{_name} for iPhone and iPod Touch
Group: Productivity/Multimedia/Other
Requires: %{_name} = %{version}
%description tools
libimobiledevice is a software library that talks the protocols to support
iPhone and iPod Touch devices. Unlike other projects, it does not depend
on using any existing `.dll` or `.so` libraries from Apple.
Authors:
--------
Christophe Fergeau
Jonathan Beck
Matthew Colyer
Martin Aumueller
Martin Szulecki
Nikias Bassen
Patrick Walton
Paul Sladen
Todd Zullinger
Zach C.
Zoltan Balaton
%package doc
License: LGPL v2 or later
Summary: API Reference Documentation for %{_name}
Group: Development/Libraries/C and C++
%description doc
Contains API reference documentation for developers using %{_name}.
Authors:
--------
Christophe Fergeau
Jonathan Beck
Matthew Colyer
Martin Aumueller
Martin Szulecki
Nikias Bassen
Patrick Walton
Paul Sladen
Todd Zullinger
Zach C.
Zoltan Balaton
%package -n python-imobiledevice
License: LGPL v2 or later
Summary: Python bindings for %{_name}
Group: Development/Languages/Python
Requires: %{_name} = %{version}
Requires: libplist++1 >= 0.16
%{py_requires}
%description -n python-imobiledevice
Contains Python bindings for developing applications that use %{_name}.
Authors:
--------
Christophe Fergeau
Jonathan Beck
Matthew Colyer
Martin Aumueller
Martin Szulecki
Nikias Bassen
Patrick Walton
Paul Sladen
Todd Zullinger
Zach C.
Zoltan Balaton
%prep
%setup -q -n %{name}-%{version}
%build
sed -i -e '/Requires:/d' %{name}-1.0.pc.in
sed -i -e 's/-L${libdir}//' %{name}-1.0.pc.in
export CFLAGS="$RPM_OPT_FLAGS -fno-strict-aliasing"
%configure\
--disable-static
make %{?jobs:-j%jobs}
%install
%{__make} install DESTDIR=$RPM_BUILD_ROOT
find $RPM_BUILD_ROOT -type f -name "*.la" -exec %{__rm} -fv {} +
rm -rf $RPM_BUILD_ROOT/%{_libdir}/%{name}.*a*
%clean
rm -rf $RPM_BUILD_ROOT
%post -n %{_name} -p /sbin/ldconfig
%postun -n %{_name} -p /sbin/ldconfig
%files -n %{_name}
%defattr(-,root,root)
%{_libdir}/%{name}.so.*
%files devel
%defattr(-,root,root,-)
%dir %{_includedir}/%{name}
%{_includedir}/%{name}/*
%{_libdir}/%{name}.so
%{_libdir}/pkgconfig/%{name}-1.0.pc
%files tools
%defattr(-,root,root,-)
%{_bindir}/idevice_id
%{_bindir}/ideviceinfo
%{_bindir}/idevicesyslog
%{_bindir}/idevicebackup
%{_bindir}/ideviceimagemounter
%{_bindir}/idevicescreenshot
%doc %{_mandir}/man1/idevice_id.1.*
%doc %{_mandir}/man1/ideviceinfo.1.*
%doc %{_mandir}/man1/idevicesyslog.1.*
%doc %{_mandir}/man1/idevicebackup.1.*
%doc %{_mandir}/man1/ideviceimagemounter.1.*
%doc %{_mandir}/man1/idevicescreenshot.1.*
%files doc
%defattr (-, root, root)
%doc AUTHORS COPYING COPYING.LESSER NEWS README
%docdir docs/html
%files -n python-imobiledevice
%defattr(-,root,root,-)
%dir %{py_sitedir}/imobiledevice
%{py_sitedir}/imobiledevice/*
%changelog