libgexiv2-vl.spec 4.5 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154
  1. Name: libgexiv2
  2. Summary: Gexiv2 is a GObject-based wrapper around the Exiv2 library
  3. Summary(ja): Exiv2 ライブラリの GObject ベースのラッパー
  4. Version: 0.10.3
  5. Release: 2%{?_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. %description
  18. libgexiv2 is a GObject-based wrapper around the Exiv2 library.
  19. It makes the basic features of Exiv2 available to GNOME applications.
  20. %description -l ja
  21. gexiv2 は Exiv2 ライブラリの GObject ベースのラッパーです。
  22. Exiv2 の基本的な機能が GNOME アプリケーションで利用できるようになります。
  23. %package devel
  24. Summary: Development files for %{name}
  25. Summary(ja): %{name} の開発ファイル
  26. Group: Development/Libraries
  27. Requires: %{name} = %{version}-%{release}
  28. Requires: vala
  29. Requires: exiv2-devel
  30. Requires: glib2-devel
  31. %description devel
  32. The %{name}-devel package contains libraries and header files for
  33. developing applications that use %{name}.
  34. %prep
  35. %setup -q -n gexiv2-%{version}
  36. %build
  37. ## configure fails with the error:
  38. ## configure: Invalid argument --program-prefix=
  39. ## http://trac.yorba.org:8000/ticket/2001
  40. echo '%{configure}' | sed '/--program-prefix=/d' >build.tmp
  41. echo 'make %{?_smp_mflags}' >>build.tmp
  42. sh build.tmp
  43. %install
  44. rm -rf $RPM_BUILD_ROOT
  45. make install DESTDIR=$RPM_BUILD_ROOT LIB=%{_lib}
  46. find $RPM_BUILD_ROOT -name '*.la' -exec rm -f {} ';'
  47. find $RPM_BUILD_ROOT -name '*.a' -exec rm -f {} ';'
  48. %clean
  49. rm -rf $RPM_BUILD_ROOT
  50. %post -p /sbin/ldconfig
  51. %postun -p /sbin/ldconfig
  52. %files
  53. %defattr(-,root,root,-)
  54. %doc AUTHORS COPYING MAINTAINERS
  55. %{_libdir}/libgexiv2.so.*
  56. %files devel
  57. %defattr(-,root,root,-)
  58. %{_includedir}/gexiv2/
  59. %{_libdir}/libgexiv2.so
  60. %{_libdir}/pkgconfig/gexiv2.pc
  61. %{_datadir}/vala/vapi/gexiv2.vapi
  62. %changelog
  63. * Wed Jun 29 2016 Tomohiro "Tomo-p" KATO <tomop@teamgedoh.net> 0.10.3-2
  64. - rebuilt with new toolchain.
  65. * Tue Nov 03 2015 Yoji TOYODA <bsyamato@sea.plala.or.jp> 0.10.3-1
  66. - update to 0.10.3
  67. * Wed Dec 11 2013 Yoji TOYODA <bsyamato@sea.plala.or.jp> 0.5.0-2
  68. - rebuild with exiv2-0.24
  69. * Thu May 02 2013 Toshiharu Kudoh <toshi.kd2@gmail.com> - 0.5.0-1
  70. - new upstream release
  71. - changed source archive type to xz
  72. * Sun Jul 29 2012 Yoji TOYODA <bsyamato@sea.plala.or.jp> 0.4.1-2
  73. - rebuild with exiv2-0.23
  74. * Sun Apr 22 2012 Yoji TOYODA <bsyamato@sea.plala.or.jp> 0.4.1-1
  75. - new upstream release
  76. * Sun Jul 31 2011 Ryoichi INAGAKI <ryo1@bc.wakwak.com> 0.2.2-2
  77. - rebuilt with exiv2-0.21.1
  78. - added Patch100
  79. * Sun Jan 9 2011 Toshiharu Kudoh <toshi.kd2@gmail.com> - 0.2.2-1
  80. - new upstream release
  81. * Fri Oct 29 2010 Toshiharu Kudoh <toshi.kd2@gmail.com> - 0.2.1-1
  82. - new upstream release
  83. * Mon Sep 27 2010 Shu KONNO <owa@bg.wakwak.com> 0.2.0-3
  84. - rebuilt with rpm-4.8.1 for pkg-config
  85. * Sun Aug 22 2010 Yoji TOYODA <bsyamato@sea.plala.or.jp> - 0.2.0-2
  86. - add Requires: exiv2-devel, glib2-devel (devel package)
  87. * Sat Aug 21 2010 Toshiharu Kudoh <toshi.kd2@gmail.com> - 0.2.0-1
  88. - new upstream release
  89. * Wed Jul 14 2010 Toshiharu Kudoh <toshi.kd2@gmail.com> - 0.1.0-1
  90. - initial build for VineSeed
  91. * Mon Jun 14 2010 Ankur Sinha <ankursinha AT fedoraproject DOT org> - 0.0.91-2
  92. - changed file section so package owns the directory containing headers too
  93. * Fri Jun 11 2010 Ankur Sinha <ankursinha AT fedoraproject DOT org> - 0.0.91-1
  94. - updated to latest release
  95. - removed patch - it was included in this release
  96. * Sat Jun 05 2010 Ankur Sinha <ankursinha AT fedoraproject DOT org> - 0.0.90-5
  97. - changed configure macro as per bug report comment
  98. * Sat Jun 05 2010 Ankur Sinha <ankursinha AT fedoraproject DOT org> - 0.0.90-4
  99. - changed configure portion
  100. - added Requires: vala for devel
  101. - made the file section more precise
  102. - bugzilla #599097
  103. - changed patch to include a default LIB setting
  104. * Fri Jun 04 2010 Ankur Sinha <ankursinha AT fedoraproject DOT org> - 0.0.90-3
  105. - patched makefile
  106. * Thu Jun 03 2010 Ankur Sinha <ankursinha AT fedoraproject DOT org> - 0.0.90-2
  107. - some fixes in spec
  108. - moved *.vapi to devel
  109. - removed INSTALL from doc
  110. - added comment to yorba ticket link
  111. - corrected typo in description
  112. * Wed Jun 02 2010 Ankur Sinha <ankursinha AT fedoraproject DOT org> - 0.0.90-1
  113. - initial rpmbuild