Sign Up
Log In
Log In
or
Sign Up
Places
All Projects
Status Monitor
Collapse sidebar
openSUSE:11.4
libimobiledevice
libimobiledevice.spec
Overview
Repositories
Revisions
Requests
Users
Attributes
Meta
File libimobiledevice.spec of Package libimobiledevice
# # spec file for package libimobiledevice (Version 1.0.4) # # Copyright (c) 2011 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.4 Release: 1 License: LGPL v2 or later BuildRequires: gcc-c++ glib2-devel 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 Patch0: 0b40ddb1f41c94a3ee58abc6326e59d65662e5c7.patch Group: System/Libraries Summary: Native protocols library for iPhone, iPod Touch and iPad 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, iPod Touch and iPad 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, iPod Touch and iPad 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, iPod Touch and iPad 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 Requires: glib2-devel Requires: glibc-devel %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, iPod Touch and iPad Group: Productivity/Multimedia/Other Requires: %{_name} = %{version} %description tools libimobiledevice is a software library that talks the protocols to support iPhone, iPod Touch and iPad 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} %patch0 -p1 %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-silent-rules \ --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}/idevicepair %{_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
Locations
Projects
Search
Status Monitor
Help
OpenBuildService.org
Documentation
API Documentation
Code of Conduct
Contact
Support
@OBShq
Terms
openSUSE Build Service is sponsored by
The Open Build Service is an
openSUSE project
.
Sign Up
Log In
Places
Places
All Projects
Status Monitor