| 1 | Name: libplist |
|---|
| 2 | Summary: Library for manipulating Apple Binary and XML Property Lists |
|---|
| 3 | SUmmary(ja): AppleのバイナリおよびXMLプロパティリストを操作するライブラリ |
|---|
| 4 | Version: 1.8 |
|---|
| 5 | Release: 1%{?_dist_release} |
|---|
| 6 | |
|---|
| 7 | Group: System Environment/Libraries |
|---|
| 8 | License: LGPLv2+ |
|---|
| 9 | URL: http://www.libimobiledevice.org/ |
|---|
| 10 | |
|---|
| 11 | Source0: http://www.libimobiledevice.org/downloads/%{name}-%{version}.tar.bz2 |
|---|
| 12 | |
|---|
| 13 | BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root |
|---|
| 14 | BuildRequires: libxml2-devel |
|---|
| 15 | BuildRequires: glib2-devel |
|---|
| 16 | BuildRequires: python-devel |
|---|
| 17 | BuildRequires: Cython |
|---|
| 18 | BuildRequires: swig |
|---|
| 19 | BuildRequires: cmake |
|---|
| 20 | |
|---|
| 21 | %description |
|---|
| 22 | libplist is a library for manipulating Apple Binary and XML Property Lists |
|---|
| 23 | |
|---|
| 24 | %package devel |
|---|
| 25 | Summary: Development package for libplist |
|---|
| 26 | Group: Development/Libraries |
|---|
| 27 | Requires: %{name} = %{version}-%{release} |
|---|
| 28 | |
|---|
| 29 | %description devel |
|---|
| 30 | %{name}, development headers and libraries. |
|---|
| 31 | |
|---|
| 32 | %package python |
|---|
| 33 | Summary: Python package for libplist |
|---|
| 34 | Group: Development/Libraries |
|---|
| 35 | Requires: %{name} = %{version}-%{release} |
|---|
| 36 | Requires: python |
|---|
| 37 | |
|---|
| 38 | %description python |
|---|
| 39 | %{name}, python libraries and support |
|---|
| 40 | |
|---|
| 41 | %prep |
|---|
| 42 | %setup -q |
|---|
| 43 | |
|---|
| 44 | %build |
|---|
| 45 | export CMAKE_PREFIX_PATH=/usr |
|---|
| 46 | %{cmake} . |
|---|
| 47 | |
|---|
| 48 | make %{?_smp_mflags} |
|---|
| 49 | |
|---|
| 50 | %install |
|---|
| 51 | export CMAKE_PREFIX_PATH=/usr |
|---|
| 52 | rm -rf $RPM_BUILD_ROOT |
|---|
| 53 | make install DESTDIR=$RPM_BUILD_ROOT |
|---|
| 54 | |
|---|
| 55 | %clean |
|---|
| 56 | rm -rf $RPM_BUILD_ROOT |
|---|
| 57 | |
|---|
| 58 | %post -p /sbin/ldconfig |
|---|
| 59 | |
|---|
| 60 | %postun -p /sbin/ldconfig |
|---|
| 61 | |
|---|
| 62 | %files |
|---|
| 63 | %defattr(-,root,root,-) |
|---|
| 64 | %doc AUTHORS COPYING.LESSER README |
|---|
| 65 | %{_bindir}/plutil |
|---|
| 66 | %{_bindir}/plutil-%{version} |
|---|
| 67 | %{_libdir}/libplist.so.* |
|---|
| 68 | %{_libdir}/libplist++.so.* |
|---|
| 69 | |
|---|
| 70 | %files devel |
|---|
| 71 | %defattr(-,root,root,-) |
|---|
| 72 | %{_libdir}/pkgconfig/libplist.pc |
|---|
| 73 | %{_libdir}/pkgconfig/libplist++.pc |
|---|
| 74 | %{_libdir}/libplist.so |
|---|
| 75 | %{_libdir}/libplist++.so |
|---|
| 76 | %{_includedir}/plist |
|---|
| 77 | |
|---|
| 78 | %files python |
|---|
| 79 | %defattr(-,root,root,-) |
|---|
| 80 | %{python_sitearch}/plist |
|---|
| 81 | %{python_sitearch}/plist.so |
|---|
| 82 | |
|---|
| 83 | %changelog |
|---|
| 84 | * Sun Apr 15 2012 Yoji TOYODA <bsyamato@sea.plala.or.jp> 1.8-1 |
|---|
| 85 | - new upstream release |
|---|
| 86 | - add BuildRequires: Cython |
|---|
| 87 | |
|---|
| 88 | * Thu Feb 16 2012 Yoji TOYODA <bsyamato@sea.plala.or.jp> 1.4-2 |
|---|
| 89 | - rebuild with python-2.7.2 |
|---|
| 90 | |
|---|
| 91 | * Fri Apr 15 2011 Daisuke SUZUKI <daisuke@linux.or.jp> 1.4-1 |
|---|
| 92 | - new upstream release |
|---|
| 93 | |
|---|
| 94 | * Tue Sep 21 2010 Ryoichi INAGAKI <ryo1@bc.wakwak.com> 1.3-2 |
|---|
| 95 | - rebuilt with rpm-4.8.1 for pkg-config |
|---|
| 96 | |
|---|
| 97 | * Thu Apr 29 2010 Daisuke SUZUKI <daisuke@linux.or.jp> 1.3-1 |
|---|
| 98 | - initial build for Vine Linux |
|---|
| 99 | |
|---|
| 100 | * Tue Apr 20 2010 Peter Robinson <pbrobinson@gmail.com> 1.3-1 |
|---|
| 101 | - Upstream stable 1.3 release |
|---|
| 102 | |
|---|
| 103 | * Sat Jan 23 2010 Peter Robinson <pbrobinson@gmail.com> 1.2-1 |
|---|
| 104 | - Upstream stable 1.2 release |
|---|
| 105 | |
|---|
| 106 | * Sat Jan 9 2010 Peter Robinson <pbrobinson@gmail.com> 1.0.0-5 |
|---|
| 107 | - Updated to the new python sysarch spec file reqs |
|---|
| 108 | |
|---|
| 109 | * Mon Dec 7 2009 Peter Robinson <pbrobinson@gmail.com> 1.0.0-4 |
|---|
| 110 | - and once more with feeling |
|---|
| 111 | |
|---|
| 112 | * Mon Dec 7 2009 Peter Robinson <pbrobinson@gmail.com> 1.0.0-3 |
|---|
| 113 | - Further updated fixes for the spec file |
|---|
| 114 | |
|---|
| 115 | * Mon Dec 7 2009 Peter Robinson <pbrobinson@gmail.com> 1.0.0-2 |
|---|
| 116 | - Drop upstreamed patch |
|---|
| 117 | |
|---|
| 118 | * Mon Dec 7 2009 Peter Robinson <pbrobinson@gmail.com> 1.0.0-1 |
|---|
| 119 | - Upstream stable 1.0.0 release |
|---|
| 120 | |
|---|
| 121 | * Thu Oct 29 2009 Peter Robinson <pbrobinson@gmail.com> 0.16-3 |
|---|
| 122 | - Actually add patch for python |
|---|
| 123 | |
|---|
| 124 | * Thu Oct 29 2009 Peter Robinson <pbrobinson@gmail.com> 0.16-2 |
|---|
| 125 | - Add python patch and c++ bindings |
|---|
| 126 | |
|---|
| 127 | * Thu Oct 29 2009 Peter Robinson <pbrobinson@gmail.com> 0.16-1 |
|---|
| 128 | - New upstream 0.16 release |
|---|
| 129 | |
|---|
| 130 | * Tue Oct 20 2009 Peter Robinson <pbrobinson@gmail.com> 0.15-1 |
|---|
| 131 | - New upstream 0.15 release |
|---|
| 132 | |
|---|
| 133 | * Fri Jul 24 2009 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 0.13-2 |
|---|
| 134 | - Rebuilt for https://fedoraproject.org/wiki/Fedora_12_Mass_Rebuild |
|---|
| 135 | |
|---|
| 136 | * Mon May 11 2009 Peter Robinson <pbrobinson@gmail.com> 0.13-1 |
|---|
| 137 | - New upstream 0.13 release |
|---|
| 138 | |
|---|
| 139 | * Mon May 11 2009 Peter Robinson <pbrobinson@gmail.com> 0.12-2 |
|---|
| 140 | - Further review updates |
|---|
| 141 | |
|---|
| 142 | * Sun May 10 2009 Peter Robinson <pbrobinson@gmail.com> 0.12-1 |
|---|
| 143 | - Update to official tarball release, some review fixes |
|---|
| 144 | |
|---|
| 145 | * Sun May 10 2009 Peter Robinson <pbrobinson@gmail.com> 0.12.0-0.1 |
|---|
| 146 | - Initial package |
|---|