exiv2-vl.spec 5.8 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188
  1. Name: exiv2
  2. Summary: Exif and IPTC metadata manipulation library
  3. Summary(ja): Exif, IPTC メタデータ操作ライブラリ
  4. Version: 0.23
  5. Release: 1%{?_dist_release}
  6. Group: System Environment/Libraries
  7. License: GPLv2
  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.21.1-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. Obsoletes: libexiv2-devel <= 0.13
  54. Provides: libexiv2-devel = %{version}-%{release}
  55. %description devel
  56. Header files, libraries and development documentation for exiv2
  57. %description -l ja
  58. exiv2 用ヘッダファイル,ライブラリ,開発用ドキュメントです.
  59. %prep
  60. %setup -q
  61. %patch1 -p1 -b .deps
  62. %patch2 -p1 -b .gcc43
  63. %patch3 -p1 -b .visibility
  64. %build
  65. (cd config; make -f config.make)
  66. %configure --disable-static --disable-rpath
  67. make %{?_smp_mflags}
  68. %install
  69. rm -rf $RPM_BUILD_ROOT
  70. make install DESTDIR=$RPM_BUILD_ROOT
  71. %find_lang exiv2
  72. # Unpackaged files
  73. rm -f $RPM_BUILD_ROOT%{_libdir}/lib*.la
  74. # set eXecute bit on installed lib
  75. chmod a+x $RPM_BUILD_ROOT%{_libdir}/lib*.so.*
  76. ## FIXME/TODO: patch installed exiv2-config to instead pull values from pkgconfig
  77. %clean
  78. rm -rf $RPM_BUILD_ROOT
  79. %post -p /sbin/ldconfig
  80. %postun -p /sbin/ldconfig
  81. %files -f %{name}.lang
  82. %defattr(-,root,root,-)
  83. %doc COPYING README
  84. %{_bindir}/exiv2
  85. %{_libdir}/lib*.so.*
  86. %{_mandir}/man1/*
  87. %files devel
  88. %defattr(-,root,root,-)
  89. #doc doc/index.html doc/include
  90. #{_bindir}/exiv2-config
  91. %{_includedir}/exiv2/*
  92. %{_libdir}/libexiv2.so
  93. %{_libdir}/pkgconfig/exiv2.pc
  94. %changelog
  95. * Sun Jul 29 2012 Yoji TOYODA <bsyamato@sea.plala.or.jp> 0.23-1
  96. - new upstream release
  97. * Sun Apr 22 2012 Yoji TOYODA <bsyamato@sea.plala.or.jp> 0.22-1
  98. - new upstream release
  99. * Sun Jul 31 2011 Ryoichi INAGAKI <ryo1@bc.wakwak.com> 0.21.1-1
  100. - new upstream release
  101. - updated Patch3
  102. * Sun Sep 26 2010 Ryoichi INAGAKI <ryo1@bc.wakwak.com> 0.19-2
  103. - rebuilt with rpm-4.8.1 for pkg-config
  104. * Wed May 5 2010 Ryoichi INAGAKI <ryo1@bc.wakwak.com> 0.19-1
  105. - new upstream release
  106. - updated Patch3
  107. * Mon Oct 19 2009 Ryoichi INAGAKI <ryo1@bc.wakwak.com> 0.18.2-1
  108. - new upstream release
  109. - updated Japanese description
  110. * Fri May 1 2009 MATSUBAYASHI Kohji <shaolin@vinelinux.org> - 0.18.1-2
  111. - add Patch3 not to use -fvisibility-inlines-hidden
  112. (this will also fix build failure on ppc)
  113. http://dev.exiv2.org/issues/show/627
  114. * Sun Apr 12 2009 Ryoichi INAGAKI <ryo1@bc.wakwak.com> 0.18.1-1
  115. - new upstream release
  116. * Tue Sep 23 2008 Ryoichi INAGAKI <ryo1@bc.wakwak.com> 0.17.1-1vl5
  117. - new upstream release
  118. * Mon Sep 22 2008 Shu KONNO <owa@bg.wakwak.com> 0.15-1vl5
  119. - applied new versioning policy, spec in utf-8
  120. * Wed Dec 26 2007 Satoshi IWAMOTO <satoshi.iwamoto@nifty.ne.jp> 0.15-0vl4
  121. - add patch100 for fix CVE-2007-6353 ("setDataArea()" Integer OF)
  122. * Sat Aug 18 2007 Daisuke SUZUKI <daisuke@linux.or.jp> 0.15-0vl3
  123. - add Obsoletes: libexiv2 <= 0.13 , libexiv2-devel <= 0.13
  124. to upgrade from 0.13-0vl[12]
  125. * Fri May 11 2007 Daisuke SUZUKI <daisuke@linux.or.jp> 0.13-0vl2
  126. - rebuild with new environment/toolchain
  127. * Fri Mar 09 2007 Daisuke SUZUKI <daisuke@linux.or.jp> 0.13-0vl1
  128. - initial build for Vine Linux
  129. * Fri Aug 17 2007 Ryoichi INAGAKI <ryo1@bc.wakwak.com> 0.15-0vl2
  130. - rebuilt for VineSeed
  131. * Fri Aug 17 2007 Ryoichi INAGAKI <ryo1@bc.wakwak.com> 0.15-0vl1
  132. - new upstream release
  133. - remove Requires: kdelibs-devel at devel package
  134. * Fri Jan 5 2007 TOSHI <vine-jp@mail.goo.ne.jp> 0.12-0vl1
  135. - build for vine 4.0
  136. * Tue Nov 28 2006 Rex Dieter <rexdieter[AT]users.sf.net> 0.12-1
  137. - exiv2-0.12
  138. # end of file