libgexiv2-vl.spec 3.3 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113
  1. Name: libgexiv2
  2. Version: 0.2.0
  3. Release: 1%{?_dist_release}
  4. Summary: Gexiv2 is a GObject-based wrapper around the Exiv2 library
  5. Summary(ja): Exiv2 ライブラリの GObject ベースのラッパー
  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. 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. %description devel
  28. The %{name}-devel package contains libraries and header files for
  29. developing applications that use %{name}.
  30. %prep
  31. %setup -q
  32. %build
  33. ## configure fails with the error:
  34. ## configure: Invalid argument --program-prefix=
  35. ## http://trac.yorba.org:8000/ticket/2001
  36. echo '%{configure}' | sed '/--program-prefix=/d' >build.tmp
  37. echo 'make %{?_smp_mflags}' >>build.tmp
  38. sh build.tmp
  39. %install
  40. rm -rf $RPM_BUILD_ROOT
  41. make install DESTDIR=$RPM_BUILD_ROOT LIB=%{_lib}
  42. find $RPM_BUILD_ROOT -name '*.la' -exec rm -f {} ';'
  43. find $RPM_BUILD_ROOT -name '*.a' -exec rm -f {} ';'
  44. %clean
  45. rm -rf $RPM_BUILD_ROOT
  46. %post -p /sbin/ldconfig
  47. %postun -p /sbin/ldconfig
  48. %files
  49. %defattr(-,root,root,-)
  50. %doc AUTHORS COPYING MAINTAINERS
  51. %{_libdir}/libgexiv2.so.*
  52. %files devel
  53. %defattr(-,root,root,-)
  54. %{_includedir}/gexiv2/
  55. %{_libdir}/libgexiv2.so
  56. %{_libdir}/pkgconfig/gexiv2.pc
  57. %{_datadir}/vala/vapi/gexiv2.vapi
  58. %changelog
  59. * Sat Aug 21 2010 Toshiharu Kudoh <toshi.kd2@gmail.com> - 0.2.0-1
  60. - new upstream release
  61. * Wed Jul 14 2010 Toshiharu Kudoh <toshi.kd2@gmail.com> - 0.1.0-1
  62. - initial build for VineSeed
  63. * Mon Jun 14 2010 Ankur Sinha <ankursinha AT fedoraproject DOT org> - 0.0.91-2
  64. - changed file section so package owns the directory containing headers too
  65. * Fri Jun 11 2010 Ankur Sinha <ankursinha AT fedoraproject DOT org> - 0.0.91-1
  66. - updated to latest release
  67. - removed patch - it was included in this release
  68. * Sat Jun 05 2010 Ankur Sinha <ankursinha AT fedoraproject DOT org> - 0.0.90-5
  69. - changed configure macro as per bug report comment
  70. * Sat Jun 05 2010 Ankur Sinha <ankursinha AT fedoraproject DOT org> - 0.0.90-4
  71. - changed configure portion
  72. - added Requires: vala for devel
  73. - made the file section more precise
  74. - bugzilla #599097
  75. - changed patch to include a default LIB setting
  76. * Fri Jun 04 2010 Ankur Sinha <ankursinha AT fedoraproject DOT org> - 0.0.90-3
  77. - patched makefile
  78. * Thu Jun 03 2010 Ankur Sinha <ankursinha AT fedoraproject DOT org> - 0.0.90-2
  79. - some fixes in spec
  80. - moved *.vapi to devel
  81. - removed INSTALL from doc
  82. - added comment to yorba ticket link
  83. - corrected typo in description
  84. * Wed Jun 02 2010 Ankur Sinha <ankursinha AT fedoraproject DOT org> - 0.0.90-1
  85. - initial rpmbuild