libplist-vl.spec 3.4 KB

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