libgexiv2-vl.spec 5.6 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190
  1. Name: libgexiv2
  2. Summary: Gexiv2 is a GObject-based wrapper around the Exiv2 library
  3. Summary(ja): Exiv2 ライブラリの GObject ベースのラッパー
  4. Version: 0.10.8
  5. Release: 1%{?_dist_release}
  6. Group: System Environment/Libraries
  7. License: GPLv2
  8. URL: https://wiki.gnome.org/Projects/gexiv2
  9. Vendor: Project Vine
  10. Distribution: Vine Linux
  11. Source0: http://ftp.gnome.org/pub/GNOME/sources/gexiv2/0.10/gexiv2-%{version}.tar.xz
  12. BuildRoot: %{_tmppath}/%{name}-%{version}-root
  13. BuildRequires: exiv2-devel >= 0.19
  14. BuildRequires: expat-devel
  15. BuildRequires: gobject-introspection-devel
  16. BuildRequires: libtool
  17. BuildRequires: vala-devel vala-tools
  18. BuildRequires: python-devel
  19. BuildRequires: pygobject3
  20. BuildRequires: python3-devel
  21. BuildRequires: python3-pygobject
  22. BuildRequires: python3-rpm-macros
  23. %description
  24. libgexiv2 is a GObject-based wrapper around the Exiv2 library.
  25. It makes the basic features of Exiv2 available to GNOME applications.
  26. %description -l ja
  27. gexiv2 は Exiv2 ライブラリの GObject ベースのラッパーです。
  28. Exiv2 の基本的な機能が GNOME アプリケーションで利用できるようになります。
  29. %package devel
  30. Summary: Development files for %{name}
  31. Summary(ja): %{name} の開発ファイル
  32. Group: Development/Libraries
  33. Requires: %{name} = %{version}-%{release}
  34. Requires: vala
  35. Requires: exiv2-devel
  36. Requires: glib2-devel
  37. %description devel
  38. The %{name}-devel package contains libraries and header files for
  39. developing applications that use %{name}.
  40. %package -n python-gexiv2
  41. Summary: Python2 bindings for %{name}
  42. Requires: %{name} = %{version}-%{release}
  43. Requires: pygobject3
  44. %description -n python-gexiv2
  45. This package contains the python bindings for %{name}
  46. %package -n python3-gexiv2
  47. Summary: Python3 bindings for %{name}
  48. Requires: %{name} = %{version}-%{release}
  49. Requires: python3-pygobject
  50. %description -n python3-gexiv2
  51. This package contains the python3 bindings for %{name}
  52. %prep
  53. %setup -q -n gexiv2-%{version}
  54. %build
  55. ## configure fails with the error:
  56. ## configure: Invalid argument --program-prefix=
  57. ## http://trac.yorba.org:8000/ticket/2001
  58. echo '%configure' | sed '/--program-prefix=/d' > build.tmp
  59. echo 'make %{?_smp_mflags}' >> build.tmp
  60. sh build.tmp
  61. %install
  62. %{__rm} -rf ${RPM_BUILD_ROOT}
  63. %{make_install}
  64. find ${RPM_BUILD_ROOT} -name '*.la' -exec rm -f {} ';'
  65. %clean
  66. %{__rm} -rf ${RPM_BUILD_ROOT}
  67. %post -p %{_syssbindir}/ldconfig
  68. %postun -p %{_syssbindir}/ldconfig
  69. %files
  70. %defattr(-,root,root,-)
  71. %doc AUTHORS COPYING README THANKS
  72. %{_libdir}/libgexiv2.so.*
  73. %{_libdir}/girepository-1.0/
  74. %files devel
  75. %defattr(-,root,root,-)
  76. %{_includedir}/gexiv2/
  77. %{_libdir}/libgexiv2.so
  78. %{_libdir}/pkgconfig/gexiv2.pc
  79. %{_datadir}/gir-1.0/
  80. %{_datadir}/gtk-doc/
  81. %{_datadir}/vala/vapi/gexiv2.vapi
  82. %files -n python-gexiv2
  83. %{python_sitearch}/gi/overrides/GExiv2.py*
  84. %files -n python3-gexiv2
  85. %{python3_sitearch}/gi/overrides/GExiv2.py
  86. %changelog
  87. * Mon Oct 08 2018 Toshiaki Ara <ara_t@384.jp> 0.10.8-1
  88. - update to 0.10.8
  89. - add new subpackages for python2/python3 bindings
  90. * Tue Oct 02 2018 Toshiaki Ara <ara_t@384.jp> 0.10.6-1
  91. - update to 0.10.6
  92. * Wed Jun 29 2016 Tomohiro "Tomo-p" KATO <tomop@teamgedoh.net> 0.10.3-2
  93. - rebuilt with new toolchain.
  94. * Tue Nov 03 2015 Yoji TOYODA <bsyamato@sea.plala.or.jp> 0.10.3-1
  95. - update to 0.10.3
  96. * Wed Dec 11 2013 Yoji TOYODA <bsyamato@sea.plala.or.jp> 0.5.0-2
  97. - rebuild with exiv2-0.24
  98. * Thu May 02 2013 Toshiharu Kudoh <toshi.kd2@gmail.com> - 0.5.0-1
  99. - new upstream release
  100. - changed source archive type to xz
  101. * Sun Jul 29 2012 Yoji TOYODA <bsyamato@sea.plala.or.jp> 0.4.1-2
  102. - rebuild with exiv2-0.23
  103. * Sun Apr 22 2012 Yoji TOYODA <bsyamato@sea.plala.or.jp> 0.4.1-1
  104. - new upstream release
  105. * Sun Jul 31 2011 Ryoichi INAGAKI <ryo1@bc.wakwak.com> 0.2.2-2
  106. - rebuilt with exiv2-0.21.1
  107. - added Patch100
  108. * Sun Jan 9 2011 Toshiharu Kudoh <toshi.kd2@gmail.com> - 0.2.2-1
  109. - new upstream release
  110. * Fri Oct 29 2010 Toshiharu Kudoh <toshi.kd2@gmail.com> - 0.2.1-1
  111. - new upstream release
  112. * Mon Sep 27 2010 Shu KONNO <owa@bg.wakwak.com> 0.2.0-3
  113. - rebuilt with rpm-4.8.1 for pkg-config
  114. * Sun Aug 22 2010 Yoji TOYODA <bsyamato@sea.plala.or.jp> - 0.2.0-2
  115. - add Requires: exiv2-devel, glib2-devel (devel package)
  116. * Sat Aug 21 2010 Toshiharu Kudoh <toshi.kd2@gmail.com> - 0.2.0-1
  117. - new upstream release
  118. * Wed Jul 14 2010 Toshiharu Kudoh <toshi.kd2@gmail.com> - 0.1.0-1
  119. - initial build for VineSeed
  120. * Mon Jun 14 2010 Ankur Sinha <ankursinha AT fedoraproject DOT org> - 0.0.91-2
  121. - changed file section so package owns the directory containing headers too
  122. * Fri Jun 11 2010 Ankur Sinha <ankursinha AT fedoraproject DOT org> - 0.0.91-1
  123. - updated to latest release
  124. - removed patch - it was included in this release
  125. * Sat Jun 05 2010 Ankur Sinha <ankursinha AT fedoraproject DOT org> - 0.0.90-5
  126. - changed configure macro as per bug report comment
  127. * Sat Jun 05 2010 Ankur Sinha <ankursinha AT fedoraproject DOT org> - 0.0.90-4
  128. - changed configure portion
  129. - added Requires: vala for devel
  130. - made the file section more precise
  131. - bugzilla #599097
  132. - changed patch to include a default LIB setting
  133. * Fri Jun 04 2010 Ankur Sinha <ankursinha AT fedoraproject DOT org> - 0.0.90-3
  134. - patched makefile
  135. * Thu Jun 03 2010 Ankur Sinha <ankursinha AT fedoraproject DOT org> - 0.0.90-2
  136. - some fixes in spec
  137. - moved *.vapi to devel
  138. - removed INSTALL from doc
  139. - added comment to yorba ticket link
  140. - corrected typo in description
  141. * Wed Jun 02 2010 Ankur Sinha <ankursinha AT fedoraproject DOT org> - 0.0.90-1
  142. - initial rpmbuild