exiv2-vl.spec 5.5 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174
  1. Name: exiv2
  2. Version: 0.19
  3. Release: 1%{?_dist_release}
  4. Summary: Exif and IPTC metadata manipulation library
  5. Summary(ja): Exif, IPTC メタデータ操作ライブラリ
  6. License: GPL
  7. Group: System Environment/Libraries
  8. URL: http://www.exiv2.org/
  9. Source0: %{name}-%{version}.tar.gz
  10. Patch1: exiv2-0.18-deps.patch
  11. Patch2: exiv2-0.16-gcc43.patch
  12. Patch3: exiv2-0.19-visibility.patch
  13. BuildRoot: %{_tmppath}/%{name}-%{version}-root
  14. BuildRequires: expat-devel
  15. BuildRequires: zlib-devel
  16. Obsoletes: libexiv2 <= 0.13
  17. Provides: libexiv2 = %{version}-%{release}
  18. Vendor: Project Vine
  19. Distribution: Vine Linux
  20. %description
  21. Exiv2 comprises of a C++ library and a command line utility to access image metadata. Exiv2 supports full read and write access to the Exif and Iptc metadata, Exif MakerNote support, extract and delete methods for Exif thumbnails, classes to access Ifd and so on.
  22. The command line utility allows you to:
  23. * print the Exif metadata of Jpeg images as summary info, interpreted values,
  24. or the plain data for each tag (here is a sample)
  25. * print the IPTC metadata of Jpeg images
  26. * print the Jpeg comment of Jpeg images
  27. * set, add and delete Exif and Iptc metadata of Jpeg images
  28. * adjust the Exif timestamp (that's how it all started...)
  29. * rename Exif image files according to the Exif timestamp
  30. * extract, insert and delete Exif metadata, IPTC metadata and Jpeg comments
  31. * extract, insert and delete the thumbnail image embedded in the Exif metadata
  32. %description -l ja
  33. Exiv2 は、イメージメタデータにアクセスするための C++ ライブラリと
  34. コマンドラインユーティリティにより構成されています.Exiv2 は Exif,
  35. IPTC メタデータの完全な読込み及び書込みアクセス,Exif MakerNote,
  36. Exif サムネイルを抽出/削除するためのメソッド,Ifd 等にアクセスする
  37. ためのクラス等をサポートします.
  38. コマンドラインユーティリティにより、次のようなことができます:
  39. * JPEG イメージの EXIF メタデータを各タグごとに表示する
  40. * JPEG イメージの IPTC メタデータを表示する
  41. * JPEG イメージのコメントを表示する
  42. * JPEG イメージに EXIF 情報や IPTC メタデータを設定/追加/削除する
  43. * EXIF タイムスタンプを調整する
  44. * EXIF タイムスタンプに基づいて EXIF イメージファイルをリネームする
  45. * EXIF メタデータ,IPTC メタデータ,JPEG コメントを抽出/挿入/削除する
  46. * EXIF メタデータ中のサムネイルイメージを抽出/挿入/削除する
  47. #'
  48. %package devel
  49. Summary: Header files, libraries and development documentation for exiv2
  50. Summary(ja): exiv2 の開発用ファイル
  51. Group: Development/Libraries
  52. Requires: %{name} = %{version}-%{release}
  53. Requires: pkgconfig
  54. Obsoletes: libexiv2-devel <= 0.13
  55. Provides: libexiv2-devel = %{version}-%{release}
  56. %description devel
  57. Header files, libraries and development documentation for exiv2
  58. %description -l ja
  59. exiv2 用ヘッダファイル,ライブラリ,開発用ドキュメントです.
  60. %prep
  61. %setup -q
  62. %patch1 -p1 -b .deps
  63. %patch2 -p1 -b .gcc43
  64. %patch3 -p1 -b .visibility
  65. %build
  66. (cd config; make -f config.make)
  67. %configure --disable-static --disable-rpath
  68. make %{?_smp_mflags}
  69. %install
  70. rm -rf $RPM_BUILD_ROOT
  71. make install DESTDIR=$RPM_BUILD_ROOT
  72. %find_lang exiv2
  73. # Unpackaged files
  74. rm -f $RPM_BUILD_ROOT%{_libdir}/lib*.la
  75. # set eXecute bit on installed lib
  76. chmod a+x $RPM_BUILD_ROOT%{_libdir}/lib*.so.*
  77. ## FIXME/TODO: patch installed exiv2-config to instead pull values from pkgconfig
  78. %clean
  79. rm -rf $RPM_BUILD_ROOT
  80. %post -p /sbin/ldconfig
  81. %postun -p /sbin/ldconfig
  82. %files -f %{name}.lang
  83. %defattr(-,root,root,-)
  84. %doc COPYING README
  85. %{_bindir}/exiv2
  86. %{_libdir}/lib*.so.*
  87. %{_mandir}/man1/*
  88. %files devel
  89. %defattr(-,root,root,-)
  90. #doc doc/index.html doc/include
  91. #{_bindir}/exiv2-config
  92. %{_includedir}/exiv2/*
  93. %{_libdir}/libexiv2.so
  94. %{_libdir}/pkgconfig/exiv2.pc
  95. %changelog
  96. * Wed May 5 2010 Ryoichi INAGAKI <ryo1@bc.wakwak.com> 0.19-1
  97. - new upstream release
  98. - updated Patch3
  99. * Mon Oct 19 2009 Ryoichi INAGAKI <ryo1@bc.wakwak.com> 0.18.2-1
  100. - new upstream release
  101. - updated Japanese description
  102. * Fri May 1 2009 MATSUBAYASHI Kohji <shaolin@vinelinux.org> - 0.18.1-2
  103. - add Patch3 not to use -fvisibility-inlines-hidden
  104. (this will also fix build failure on ppc)
  105. http://dev.exiv2.org/issues/show/627
  106. * Sun Apr 12 2009 Ryoichi INAGAKI <ryo1@bc.wakwak.com> 0.18.1-1
  107. - new upstream release
  108. * Tue Sep 23 2008 Ryoichi INAGAKI <ryo1@bc.wakwak.com> 0.17.1-1vl5
  109. - new upstream release
  110. * Mon Sep 22 2008 Shu KONNO <owa@bg.wakwak.com> 0.15-1vl5
  111. - applied new versioning policy, spec in utf-8
  112. * Wed Dec 26 2007 Satoshi IWAMOTO <satoshi.iwamoto@nifty.ne.jp> 0.15-0vl4
  113. - add patch100 for fix CVE-2007-6353 ("setDataArea()" Integer OF)
  114. * Sat Aug 18 2007 Daisuke SUZUKI <daisuke@linux.or.jp> 0.15-0vl3
  115. - add Obsoletes: libexiv2 <= 0.13 , libexiv2-devel <= 0.13
  116. to upgrade from 0.13-0vl[12]
  117. * Fri May 11 2007 Daisuke SUZUKI <daisuke@linux.or.jp> 0.13-0vl2
  118. - rebuild with new environment/toolchain
  119. * Fri Mar 09 2007 Daisuke SUZUKI <daisuke@linux.or.jp> 0.13-0vl1
  120. - initial build for Vine Linux
  121. * Fri Aug 17 2007 Ryoichi INAGAKI <ryo1@bc.wakwak.com> 0.15-0vl2
  122. - rebuilt for VineSeed
  123. * Fri Aug 17 2007 Ryoichi INAGAKI <ryo1@bc.wakwak.com> 0.15-0vl1
  124. - new upstream release
  125. - remove Requires: kdelibs-devel at devel package
  126. * Fri Jan 5 2007 TOSHI <vine-jp@mail.goo.ne.jp> 0.12-0vl1
  127. - build for vine 4.0
  128. * Tue Nov 28 2006 Rex Dieter <rexdieter[AT]users.sf.net> 0.12-1
  129. - exiv2-0.12
  130. # end of file