libplist-vl.spec 3.5 KB

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