libplist-vl.spec 5.0 KB

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