libplist-vl.spec 3.7 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137
  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: 1%{?_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. * Fri Apr 15 2011 Daisuke SUZUKI <daisuke@linux.or.jp> 1.4-1
  64. - new upstream release
  65. * Tue Sep 21 2010 Ryoichi INAGAKI <ryo1@bc.wakwak.com> 1.3-2
  66. - rebuilt with rpm-4.8.1 for pkg-config
  67. * Thu Apr 29 2010 Daisuke SUZUKI <daisuke@linux.or.jp> 1.3-1
  68. - initial build for Vine Linux
  69. * Tue Apr 20 2010 Peter Robinson <pbrobinson@gmail.com> 1.3-1
  70. - Upstream stable 1.3 release
  71. * Sat Jan 23 2010 Peter Robinson <pbrobinson@gmail.com> 1.2-1
  72. - Upstream stable 1.2 release
  73. * Sat Jan 9 2010 Peter Robinson <pbrobinson@gmail.com> 1.0.0-5
  74. - Updated to the new python sysarch spec file reqs
  75. * Mon Dec 7 2009 Peter Robinson <pbrobinson@gmail.com> 1.0.0-4
  76. - and once more with feeling
  77. * Mon Dec 7 2009 Peter Robinson <pbrobinson@gmail.com> 1.0.0-3
  78. - Further updated fixes for the spec file
  79. * Mon Dec 7 2009 Peter Robinson <pbrobinson@gmail.com> 1.0.0-2
  80. - Drop upstreamed patch
  81. * Mon Dec 7 2009 Peter Robinson <pbrobinson@gmail.com> 1.0.0-1
  82. - Upstream stable 1.0.0 release
  83. * Thu Oct 29 2009 Peter Robinson <pbrobinson@gmail.com> 0.16-3
  84. - Actually add patch for python
  85. * Thu Oct 29 2009 Peter Robinson <pbrobinson@gmail.com> 0.16-2
  86. - Add python patch and c++ bindings
  87. * Thu Oct 29 2009 Peter Robinson <pbrobinson@gmail.com> 0.16-1
  88. - New upstream 0.16 release
  89. * Tue Oct 20 2009 Peter Robinson <pbrobinson@gmail.com> 0.15-1
  90. - New upstream 0.15 release
  91. * Fri Jul 24 2009 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 0.13-2
  92. - Rebuilt for https://fedoraproject.org/wiki/Fedora_12_Mass_Rebuild
  93. * Mon May 11 2009 Peter Robinson <pbrobinson@gmail.com> 0.13-1
  94. - New upstream 0.13 release
  95. * Mon May 11 2009 Peter Robinson <pbrobinson@gmail.com> 0.12-2
  96. - Further review updates
  97. * Sun May 10 2009 Peter Robinson <pbrobinson@gmail.com> 0.12-1
  98. - Update to official tarball release, some review fixes
  99. * Sun May 10 2009 Peter Robinson <pbrobinson@gmail.com> 0.12.0-0.1
  100. - Initial package