libplist-vl.spec 4.0 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149
  1. Name: libplist
  2. Summary: Library for manipulating Apple Binary and XML Property Lists
  3. SUmmary(ja): AppleのバイナリおよびXMLプロパティリストを操作するライブラリ
  4. Version: 1.10
  5. Release: 1%{?_dist_release}
  6. Group: System Environment/Libraries
  7. License: LGPLv2+
  8. URL: http://www.libimobiledevice.org/
  9. Source0: http://www.libimobiledevice.org/downloads/%{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: Cython
  15. BuildRequires: swig
  16. BuildRequires: cmake
  17. %description
  18. libplist is a library for manipulating Apple Binary and XML Property Lists
  19. %package devel
  20. Summary: Development package for libplist
  21. Group: Development/Libraries
  22. Requires: %{name} = %{version}-%{release}
  23. %description devel
  24. %{name}, development headers and libraries.
  25. %package python
  26. Summary: Python package for libplist
  27. Group: Development/Libraries
  28. Requires: %{name} = %{version}-%{release}
  29. Requires: python
  30. %description python
  31. %{name}, python libraries and support
  32. %prep
  33. %setup -q
  34. %build
  35. export CMAKE_PREFIX_PATH=/usr
  36. %{cmake} .
  37. make %{?_smp_mflags} V=1
  38. %install
  39. export CMAKE_PREFIX_PATH=/usr
  40. rm -rf $RPM_BUILD_ROOT
  41. make install DESTDIR=$RPM_BUILD_ROOT
  42. %clean
  43. rm -rf $RPM_BUILD_ROOT
  44. %post -p /sbin/ldconfig
  45. %postun -p /sbin/ldconfig
  46. %files
  47. %defattr(-,root,root,-)
  48. %doc AUTHORS COPYING.LESSER README
  49. %{_bindir}/plistutil
  50. %{_bindir}/plistutil-%{version}
  51. %{_libdir}/libplist.so.*
  52. %{_libdir}/libplist++.so.*
  53. %files devel
  54. %defattr(-,root,root,-)
  55. %{_libdir}/pkgconfig/libplist.pc
  56. %{_libdir}/pkgconfig/libplist++.pc
  57. %{_libdir}/libplist.so
  58. %{_libdir}/libplist++.so
  59. %{_includedir}/plist
  60. %files python
  61. %defattr(-,root,root,-)
  62. %{python_sitearch}/plist
  63. %{python_sitearch}/plist.so
  64. %changelog
  65. * Thu Mar 21 2013 Yoji TOYODA <bsyamato@sea.plala.or.jp> 1.10-1
  66. - new upstream release
  67. * Sun Apr 15 2012 Yoji TOYODA <bsyamato@sea.plala.or.jp> 1.8-1
  68. - new upstream release
  69. - add BuildRequires: Cython
  70. * Thu Feb 16 2012 Yoji TOYODA <bsyamato@sea.plala.or.jp> 1.4-2
  71. - rebuild with python-2.7.2
  72. * Fri Apr 15 2011 Daisuke SUZUKI <daisuke@linux.or.jp> 1.4-1
  73. - new upstream release
  74. * Tue Sep 21 2010 Ryoichi INAGAKI <ryo1@bc.wakwak.com> 1.3-2
  75. - rebuilt with rpm-4.8.1 for pkg-config
  76. * Thu Apr 29 2010 Daisuke SUZUKI <daisuke@linux.or.jp> 1.3-1
  77. - initial build for Vine Linux
  78. * Tue Apr 20 2010 Peter Robinson <pbrobinson@gmail.com> 1.3-1
  79. - Upstream stable 1.3 release
  80. * Sat Jan 23 2010 Peter Robinson <pbrobinson@gmail.com> 1.2-1
  81. - Upstream stable 1.2 release
  82. * Sat Jan 9 2010 Peter Robinson <pbrobinson@gmail.com> 1.0.0-5
  83. - Updated to the new python sysarch spec file reqs
  84. * Mon Dec 7 2009 Peter Robinson <pbrobinson@gmail.com> 1.0.0-4
  85. - and once more with feeling
  86. * Mon Dec 7 2009 Peter Robinson <pbrobinson@gmail.com> 1.0.0-3
  87. - Further updated fixes for the spec file
  88. * Mon Dec 7 2009 Peter Robinson <pbrobinson@gmail.com> 1.0.0-2
  89. - Drop upstreamed patch
  90. * Mon Dec 7 2009 Peter Robinson <pbrobinson@gmail.com> 1.0.0-1
  91. - Upstream stable 1.0.0 release
  92. * Thu Oct 29 2009 Peter Robinson <pbrobinson@gmail.com> 0.16-3
  93. - Actually add patch for python
  94. * Thu Oct 29 2009 Peter Robinson <pbrobinson@gmail.com> 0.16-2
  95. - Add python patch and c++ bindings
  96. * Thu Oct 29 2009 Peter Robinson <pbrobinson@gmail.com> 0.16-1
  97. - New upstream 0.16 release
  98. * Tue Oct 20 2009 Peter Robinson <pbrobinson@gmail.com> 0.15-1
  99. - New upstream 0.15 release
  100. * Fri Jul 24 2009 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 0.13-2
  101. - Rebuilt for https://fedoraproject.org/wiki/Fedora_12_Mass_Rebuild
  102. * Mon May 11 2009 Peter Robinson <pbrobinson@gmail.com> 0.13-1
  103. - New upstream 0.13 release
  104. * Mon May 11 2009 Peter Robinson <pbrobinson@gmail.com> 0.12-2
  105. - Further review updates
  106. * Sun May 10 2009 Peter Robinson <pbrobinson@gmail.com> 0.12-1
  107. - Update to official tarball release, some review fixes
  108. * Sun May 10 2009 Peter Robinson <pbrobinson@gmail.com> 0.12.0-0.1
  109. - Initial package