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