/[packages]/cauldron/libimobiledevice/current/SPECS/libimobiledevice.spec
ViewVC logotype

Contents of /cauldron/libimobiledevice/current/SPECS/libimobiledevice.spec

Parent Directory Parent Directory | Revision Log Revision Log


Revision 18994 - (show annotations) (download)
Sat Jan 15 15:57:32 2011 UTC (11 years, 4 months ago) by blino
File size: 2369 byte(s)
remove old ldconfig scriptlets

1 %define name libimobiledevice
2 %define version 1.0.4
3 %define major 1
4 %define libname %mklibname imobiledevice %major
5 %define libnamedev %mklibname -d imobiledevice
6
7 Name: %{name}
8 Version: %{version}
9 Release: %mkrel 2
10 Summary: Library for connecting to Apple iPhone and iPod touch
11 Group: System/Libraries
12 License: LGPLv2+
13 URL: http://libimobiledevice.org/
14 Source0: http://www.libimobiledevice.org/downloads/%{name}-%{version}.tar.bz2
15 BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-buildroot
16 BuildRequires: libtasn1-devel
17 BuildRequires: libplist-devel
18 BuildRequires: usbmuxd-devel >= 0.1.4
19 BuildRequires: glib2-devel
20 BuildRequires: gnutls-devel
21 BuildRequires: python-devel
22
23 %description
24 libimobiledevice is a library for connecting to Apple's iPhone or iPod touch devices
25
26 %package -n %libname
27 Group: System/Libraries
28 Summary: Library for connecting to Apple iPhone and iPod touch
29 Requires: %name >= %version
30
31 %description -n %libname
32 libimobiledevice is a library for connecting to Apple's iPhone or iPod touch devices
33
34 %package -n %libnamedev
35 Summary: Development package for libimobiledevice
36 Group: Development/C
37 Provides: %name-devel = %version-%release
38 Requires: %libname = %{version}-%{release}
39
40 %description -n %libnamedev
41 Files for development with libimobiledevice.
42
43 %package -n python-imobiledevice
44 Summary: Python bindings for libimobiledevice
45 Group: Development/Python
46 BuildRequires: swig
47 BuildRequires: libplist++-devel
48 %py_requires -d
49
50
51 %description -n python-imobiledevice
52 Python bindings for libimobiledevice.
53
54 %prep
55 %setup -q
56 #%patch0 -p1
57 #autoreconf -fi
58
59 %build
60 %configure2_5x
61 %make
62
63 %install
64 rm -rf %{buildroot}
65 %makeinstall_std
66
67 %clean
68 rm -rf %{buildroot}
69
70 %files
71 %defattr(-,root,root,-)
72 %doc AUTHORS COPYING.LESSER README
73 %{_bindir}/idevice_id
74 %{_bindir}/ideviceinfo
75 %{_bindir}/idevicepair
76 %{_bindir}/idevicesyslog
77 %{_bindir}/idevicebackup
78 %{_bindir}/ideviceimagemounter
79 %{_bindir}/idevicescreenshot
80 %{_mandir}/man1/idevice*.1.*
81
82 %files -n %libname
83 %defattr(-,root,root)
84 %_libdir/lib*.so.%{major}*
85
86 %files -n %libnamedev
87 %defattr(-,root,root,-)
88 %{_libdir}/pkgconfig/libimobiledevice-1.0.pc
89 %{_libdir}/libimobiledevice.so
90 %{_libdir}/libimobiledevice*a
91 %{_includedir}/libimobiledevice
92
93 %files -n python-imobiledevice
94 %defattr(-,root,root,-)
95 %{python_sitearch}/imobiledevice/
96
97

  ViewVC Help
Powered by ViewVC 1.1.28