libgexiv2-vl.spec 4.1 KB

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