SHA256
1
0
forked from pool/libusbmuxd
Dominique Leuenberger 2017-09-28 10:33:14 +00:00 committed by Git OBS Bridge
commit bab42c0057
2 changed files with 18 additions and 8 deletions

View File

@ -1,3 +1,11 @@
-------------------------------------------------------------------
Fri Sep 22 13:48:10 UTC 2017 - fcrozat@suse.com
- Use a macro for specifying library major
- Recommends usbmuxd to library package to ensure it works
properly.
- Remove duplicated dependency on iproxy subpackage.
-------------------------------------------------------------------
Fri May 27 13:11:35 UTC 2016 - dimstar@opensuse.org

View File

@ -1,7 +1,7 @@
#
# spec file for package libusbmuxd
#
# Copyright (c) 2016 SUSE LINUX GmbH, Nuernberg, Germany.
# Copyright (c) 2017 SUSE LINUX GmbH, Nuernberg, Germany.
#
# All modifications and additions to the file contributed by third parties
# remain the property of their copyright owners, unless otherwise agreed
@ -16,6 +16,8 @@
#
%define major 4
Name: libusbmuxd
Version: 1.0.10
Release: 0
@ -43,11 +45,12 @@ a virtual network device.
This package contains the usbmuxd communication interface library 'libusbmuxd'.
%package -n %{name}4
%package -n %{name}%{major}
Summary: A client library to multiplex connections from and to iOS devices
Group: System/Libraries
Recommends: usbmuxd
%description -n %{name}4
%description -n %{name}%{major}
'usbmuxd' stands for "USB multiplexing daemon". This daemon is in charge of
multiplexing connections over USB to an iPhone or iPod touch. To users, it means
you can sync your music, contacts, photos, etc. over USB. To developers, it
@ -60,7 +63,7 @@ This package contains the usbmuxd communication interface library 'libusbmuxd'.
%package devel
Summary: Development files for %{name}
Group: Development/Libraries/C and C++
Requires: %{name}4 = %{version}
Requires: %{name}%{major} = %{version}
%description devel
'usbmuxd' stands for "USB multiplexing daemon". This daemon is in charge of
@ -76,7 +79,6 @@ developing applications that use %{name}.
%package -n iproxy
Summary: An example tool to forward localhost ports to iOS devices
Group: System/Libraries
Requires: %{name}4 = %{version}
%description -n iproxy
'usbmuxd' stands for "USB multiplexing daemon". This daemon is in charge of
@ -105,11 +107,11 @@ make DESTDIR=%{buildroot} install %{?_smp_mflags}
rm %{buildroot}%{_libdir}/%{name}.*a
%post -n %{name}4 -p /sbin/ldconfig
%post -n %{name}%{major} -p /sbin/ldconfig
%postun -n %{name}4 -p /sbin/ldconfig
%postun -n %{name}%{major} -p /sbin/ldconfig
%files -n %{name}4
%files -n %{name}%{major}
%defattr(-,root,root)
%doc AUTHORS COPYING README
%{_libdir}/libusbmuxd.so.*