source: projects/specs/trunk/lib/libu/libusbmuxd/libusbmuxd-vl.spec @ 8764

Revision 8764, 2.1 KB checked in by daisuke, 10 years ago (diff)

libusbmuxd: new package, splitted from usbmuxd

Line 
1Name:          libusbmuxd
2Version:       1.0.9
3Release: 1%{?_dist_release}
4Summary:       Client library USB multiplex daemon for Apple's iOS devices
5
6Group:         System Environment/Libraries
7License:       LGPLv2+
8URL:           http://www.libimobiledevice.org/
9Source0:       http://www.libimobiledevice.org/downloads/%{name}-%{version}.tar.bz2
10
11BuildRequires: libplist-devel >= 1.11
12Conflicts:     usbmuxd < 1.0.9
13
14%description
15libusbmuxd is the client library used for communicating with Apple's iPod Touch,
16iPhone, iPad and Apple TV devices. It allows multiple services on the device
17to be accessed simultaneously.
18
19%package utils
20Summary: Utilities for communicating with Apple's iOS devices
21Group: Applications/System
22License: GPLv2+
23Requires: %{name} = %{version}-%{release}
24Conflicts: usbmuxd < 1.0.9
25
26%description utils
27Utilities for Apple's iOS devices
28
29%package devel
30Summary: Development package for %{name}
31Group: Development/Libraries
32Requires: %{name} = %{version}-%{release}
33Conflicts: usbmuxd-devel < 1.0.9
34
35%description devel
36Files for development with %{name}.
37
38%prep
39%setup -q
40
41%build
42%configure --disable-static
43
44sed -i 's|^hardcode_libdir_flag_spec=.*|hardcode_libdir_flag_spec=""|g' libtool
45sed -i 's|^runpath_var=LD_RUN_PATH|runpath_var=DIE_RPATH_DIE|g' libtool
46
47make %{?_smp_mflags} V=1
48
49%install
50make install DESTDIR=%{buildroot} INSTALL='install -p'
51
52#Remove libtool archives.
53find %{buildroot} -name '*.la' -exec rm -f {} ';'
54
55%check
56make check
57
58%post -p /sbin/ldconfig
59
60%postun -p /sbin/ldconfig
61
62%files
63# License is covered in README, upstream notified about COPYING files
64# will be fixed in next release
65%doc README AUTHORS
66%{_libdir}/libusbmuxd.so.2*
67
68%files utils
69%{_bindir}/iproxy
70
71%files devel
72%{_includedir}/usbmuxd*
73%{_libdir}/pkgconfig/libusbmuxd.pc
74%{_libdir}/libusbmuxd.so
75
76%changelog
77* Tue Jul 08 2014 Daisuke SUZUKI <daisuke@vinelinux.org> 1.0.9-1
78- initial build for Vine Linux
79
80* Sat Jun 07 2014 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 1.0.9-2
81- Rebuilt for https://fedoraproject.org/wiki/Fedora_21_Mass_Rebuild
82
83* Sat Mar 22 2014 Peter Robinson <pbrobinson@fedoraproject.org> 1.0.9-1
84- Initial package
Note: See TracBrowser for help on using the repository browser.