libplist-vl.spec 4.8 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176
  1. Name: libplist
  2. Summary: Library for manipulating Apple Binary and XML Property Lists
  3. Summary(ja): Apple のバイナリおよび XML プロパティリストを操作するライブラリ
  4. Version: 2.0.0
  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: python3-devel
  14. BuildRequires: python3-rpm-macros
  15. BuildRequires: python3-Cython
  16. # to avoid for libplist-python to link with libplist.so.2...
  17. BuildConflicts: libplist-devel
  18. Vendor: Project Vine
  19. Distribution: Vine Linux
  20. Packager: daisuke
  21. %description
  22. libplist is a library for manipulating Apple Binary and XML Property Lists
  23. %description -l ja
  24. libplist は Apple のバイナリおよび XML プロパティリストを操作するライブラリです.
  25. %package devel
  26. Summary: Development package for libplist
  27. Summary(ja): libplist の開発用パッケージ
  28. Group: Development/Libraries
  29. Requires: %{name} = %{version}-%{release}
  30. %description devel
  31. %{name}, development headers and libraries.
  32. %package -n python3-libplist
  33. Summary: Python3 package for libplist
  34. Group: System Environment/Libraries
  35. Requires: %{name} = %{version}-%{release}
  36. Requires: python3
  37. %description -n python3-libplist
  38. %{name}, python libraries and support
  39. %prep
  40. %setup -q
  41. %build
  42. export PYTHON=%{__python3}
  43. %configure --disable-static
  44. make %{?_smp_mflags} V=1
  45. %install
  46. export PYTHON=%{__python3}
  47. make install DESTDIR=$RPM_BUILD_ROOT
  48. find $RPM_BUILD_ROOT -type f -name "*.la" -delete
  49. %clean
  50. rm -rf $RPM_BUILD_ROOT
  51. %post -p /sbin/ldconfig
  52. %postun -p /sbin/ldconfig
  53. %files
  54. %defattr(-,root,root,-)
  55. %license COPYING.LESSER
  56. %doc AUTHORS README
  57. %{_bindir}/plistutil
  58. %{_libdir}/libplist.so.*
  59. %{_libdir}/libplist++.so.*
  60. %files devel
  61. %defattr(-,root,root,-)
  62. %{_libdir}/pkgconfig/libplist.pc
  63. %{_libdir}/pkgconfig/libplist++.pc
  64. %{_libdir}/libplist.so
  65. %{_libdir}/libplist++.so
  66. %{_includedir}/plist
  67. %files -n python3-libplist
  68. %defattr(-,root,root,-)
  69. %{python3_sitearch}/*
  70. %changelog
  71. * Fri Oct 18 2019 Tomohiro "Tomo-p" KATO <tomop@teamgedoh.net> 2.0.0-1
  72. - new upstream release.
  73. * Sat Jul 2 2016 Tomohiro "Tomo-p" KATO <tomop@teamgedoh.net> 1.12-2
  74. - rebuilt with new toolchain.
  75. * Thu May 21 2015 Ryoichi INAGAKI <ryo1@toki.waseda.jp> 1.12-1
  76. - new upstream release
  77. * Tue Jul 08 2014 Daisuke SUZUKI <daisuke@vinelinux.org> 1.11-1
  78. - update to 1.11
  79. * Sat Jan 04 2014 Yoji TOYODA <bsyamato@sea.plala.or.jp> 1.10-2
  80. - rebuild with VineSeed environment
  81. * Thu Mar 21 2013 Yoji TOYODA <bsyamato@sea.plala.or.jp> 1.10-1
  82. - new upstream release
  83. * Sun Apr 15 2012 Yoji TOYODA <bsyamato@sea.plala.or.jp> 1.8-1
  84. - new upstream release
  85. - add BuildRequires: Cython
  86. * Thu Feb 16 2012 Yoji TOYODA <bsyamato@sea.plala.or.jp> 1.4-2
  87. - rebuild with python-2.7.2
  88. * Fri Apr 15 2011 Daisuke SUZUKI <daisuke@linux.or.jp> 1.4-1
  89. - new upstream release
  90. * Tue Sep 21 2010 Ryoichi INAGAKI <ryo1@bc.wakwak.com> 1.3-2
  91. - rebuilt with rpm-4.8.1 for pkg-config
  92. * Thu Apr 29 2010 Daisuke SUZUKI <daisuke@linux.or.jp> 1.3-1
  93. - initial build for Vine Linux
  94. * Tue Apr 20 2010 Peter Robinson <pbrobinson@gmail.com> 1.3-1
  95. - Upstream stable 1.3 release
  96. * Sat Jan 23 2010 Peter Robinson <pbrobinson@gmail.com> 1.2-1
  97. - Upstream stable 1.2 release
  98. * Sat Jan 9 2010 Peter Robinson <pbrobinson@gmail.com> 1.0.0-5
  99. - Updated to the new python sysarch spec file reqs
  100. * Mon Dec 7 2009 Peter Robinson <pbrobinson@gmail.com> 1.0.0-4
  101. - and once more with feeling
  102. * Mon Dec 7 2009 Peter Robinson <pbrobinson@gmail.com> 1.0.0-3
  103. - Further updated fixes for the spec file
  104. * Mon Dec 7 2009 Peter Robinson <pbrobinson@gmail.com> 1.0.0-2
  105. - Drop upstreamed patch
  106. * Mon Dec 7 2009 Peter Robinson <pbrobinson@gmail.com> 1.0.0-1
  107. - Upstream stable 1.0.0 release
  108. * Thu Oct 29 2009 Peter Robinson <pbrobinson@gmail.com> 0.16-3
  109. - Actually add patch for python
  110. * Thu Oct 29 2009 Peter Robinson <pbrobinson@gmail.com> 0.16-2
  111. - Add python patch and c++ bindings
  112. * Thu Oct 29 2009 Peter Robinson <pbrobinson@gmail.com> 0.16-1
  113. - New upstream 0.16 release
  114. * Tue Oct 20 2009 Peter Robinson <pbrobinson@gmail.com> 0.15-1
  115. - New upstream 0.15 release
  116. * Fri Jul 24 2009 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 0.13-2
  117. - Rebuilt for https://fedoraproject.org/wiki/Fedora_12_Mass_Rebuild
  118. * Mon May 11 2009 Peter Robinson <pbrobinson@gmail.com> 0.13-1
  119. - New upstream 0.13 release
  120. * Mon May 11 2009 Peter Robinson <pbrobinson@gmail.com> 0.12-2
  121. - Further review updates
  122. * Sun May 10 2009 Peter Robinson <pbrobinson@gmail.com> 0.12-1
  123. - Update to official tarball release, some review fixes
  124. * Sun May 10 2009 Peter Robinson <pbrobinson@gmail.com> 0.12.0-0.1
  125. - Initial package