libgexiv2-vl.spec 4.3 KB

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