libplist-vl.spec 3.7 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140
  1. Name: libplist
  2. Summary: Library for manipulating Apple Binary and XML Property Lists
  3. SUmmary(ja): AppleのバイナリおよびXMLプロパティリストを操作するライブラリ
  4. Version: 1.4
  5. Release: 2%{?_dist_release}
  6. Group: System Environment/Libraries
  7. License: LGPLv2+
  8. URL: http://matt.colyer.name/projects/iphone-linux/
  9. Source0: http://cloud.github.com/downloads/JonathanBeck/%{name}/%{name}-%{version}.tar.bz2
  10. BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root
  11. BuildRequires: libxml2-devel
  12. BuildRequires: glib2-devel
  13. BuildRequires: python-devel
  14. BuildRequires: swig
  15. BuildRequires: cmake
  16. %description
  17. libplist is a library for manipulating Apple Binary and XML Property Lists
  18. %package devel
  19. Summary: Development package for libplist
  20. Group: Development/Libraries
  21. Requires: %{name} = %{version}-%{release}
  22. %description devel
  23. %{name}, development headers and libraries.
  24. %package python
  25. Summary: Python package for libplist
  26. Group: Development/Libraries
  27. Requires: %{name} = %{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 Feb 16 2012 Yoji TOYODA <bsyamato@sea.plala.or.jp> 1.4-2
  64. - rebuild with python-2.7.2
  65. * Fri Apr 15 2011 Daisuke SUZUKI <daisuke@linux.or.jp> 1.4-1
  66. - new upstream release
  67. * Tue Sep 21 2010 Ryoichi INAGAKI <ryo1@bc.wakwak.com> 1.3-2
  68. - rebuilt with rpm-4.8.1 for pkg-config
  69. * Thu Apr 29 2010 Daisuke SUZUKI <daisuke@linux.or.jp> 1.3-1
  70. - initial build for Vine Linux
  71. * Tue Apr 20 2010 Peter Robinson <pbrobinson@gmail.com> 1.3-1
  72. - Upstream stable 1.3 release
  73. * Sat Jan 23 2010 Peter Robinson <pbrobinson@gmail.com> 1.2-1
  74. - Upstream stable 1.2 release
  75. * Sat Jan 9 2010 Peter Robinson <pbrobinson@gmail.com> 1.0.0-5
  76. - Updated to the new python sysarch spec file reqs
  77. * Mon Dec 7 2009 Peter Robinson <pbrobinson@gmail.com> 1.0.0-4
  78. - and once more with feeling
  79. * Mon Dec 7 2009 Peter Robinson <pbrobinson@gmail.com> 1.0.0-3
  80. - Further updated fixes for the spec file
  81. * Mon Dec 7 2009 Peter Robinson <pbrobinson@gmail.com> 1.0.0-2
  82. - Drop upstreamed patch
  83. * Mon Dec 7 2009 Peter Robinson <pbrobinson@gmail.com> 1.0.0-1
  84. - Upstream stable 1.0.0 release
  85. * Thu Oct 29 2009 Peter Robinson <pbrobinson@gmail.com> 0.16-3
  86. - Actually add patch for python
  87. * Thu Oct 29 2009 Peter Robinson <pbrobinson@gmail.com> 0.16-2
  88. - Add python patch and c++ bindings
  89. * Thu Oct 29 2009 Peter Robinson <pbrobinson@gmail.com> 0.16-1
  90. - New upstream 0.16 release
  91. * Tue Oct 20 2009 Peter Robinson <pbrobinson@gmail.com> 0.15-1
  92. - New upstream 0.15 release
  93. * Fri Jul 24 2009 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 0.13-2
  94. - Rebuilt for https://fedoraproject.org/wiki/Fedora_12_Mass_Rebuild
  95. * Mon May 11 2009 Peter Robinson <pbrobinson@gmail.com> 0.13-1
  96. - New upstream 0.13 release
  97. * Mon May 11 2009 Peter Robinson <pbrobinson@gmail.com> 0.12-2
  98. - Further review updates
  99. * Sun May 10 2009 Peter Robinson <pbrobinson@gmail.com> 0.12-1
  100. - Update to official tarball release, some review fixes
  101. * Sun May 10 2009 Peter Robinson <pbrobinson@gmail.com> 0.12.0-0.1
  102. - Initial package