exiv2-vl.spec 6.2 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198
  1. Name: exiv2
  2. Summary: Exif and IPTC metadata manipulation library
  3. Summary(ja): Exif, IPTC メタデータ操作ライブラリ
  4. Version: 0.25
  5. Release: 2%{?_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.24-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 devel
  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. * Wed Jun 29 2016 Tomohiro "Tomo-p" KATO <tomop@teamgedoh.net> 0.25-2
  96. - rebuilt with new toolchain.
  97. * Sun Nov 01 2015 Yoji TOYODA <bsyamato@sea.plala.or.jp> 0.25-1
  98. - new upstream release
  99. * Tue Dec 10 2013 Yoji TOYODA <bsyamato@sea.plala.or.jp> 0.24-1
  100. - new upstream release
  101. - add Patch3 (exiv2-0.24-visibility.patch)
  102. * Sun Jul 29 2012 Yoji TOYODA <bsyamato@sea.plala.or.jp> 0.23-1
  103. - new upstream release
  104. * Sun Apr 22 2012 Yoji TOYODA <bsyamato@sea.plala.or.jp> 0.22-1
  105. - new upstream release
  106. * Sun Jul 31 2011 Ryoichi INAGAKI <ryo1@bc.wakwak.com> 0.21.1-1
  107. - new upstream release
  108. - updated Patch3
  109. * Sun Sep 26 2010 Ryoichi INAGAKI <ryo1@bc.wakwak.com> 0.19-2
  110. - rebuilt with rpm-4.8.1 for pkg-config
  111. * Wed May 5 2010 Ryoichi INAGAKI <ryo1@bc.wakwak.com> 0.19-1
  112. - new upstream release
  113. - updated Patch3
  114. * Mon Oct 19 2009 Ryoichi INAGAKI <ryo1@bc.wakwak.com> 0.18.2-1
  115. - new upstream release
  116. - updated Japanese description
  117. * Fri May 1 2009 MATSUBAYASHI Kohji <shaolin@vinelinux.org> - 0.18.1-2
  118. - add Patch3 not to use -fvisibility-inlines-hidden
  119. (this will also fix build failure on ppc)
  120. http://dev.exiv2.org/issues/show/627
  121. * Sun Apr 12 2009 Ryoichi INAGAKI <ryo1@bc.wakwak.com> 0.18.1-1
  122. - new upstream release
  123. * Tue Sep 23 2008 Ryoichi INAGAKI <ryo1@bc.wakwak.com> 0.17.1-1vl5
  124. - new upstream release
  125. * Mon Sep 22 2008 Shu KONNO <owa@bg.wakwak.com> 0.15-1vl5
  126. - applied new versioning policy, spec in utf-8
  127. * Wed Dec 26 2007 Satoshi IWAMOTO <satoshi.iwamoto@nifty.ne.jp> 0.15-0vl4
  128. - add patch100 for fix CVE-2007-6353 ("setDataArea()" Integer OF)
  129. * Sat Aug 18 2007 Daisuke SUZUKI <daisuke@linux.or.jp> 0.15-0vl3
  130. - add Obsoletes: libexiv2 <= 0.13 , libexiv2-devel <= 0.13
  131. to upgrade from 0.13-0vl[12]
  132. * Fri May 11 2007 Daisuke SUZUKI <daisuke@linux.or.jp> 0.13-0vl2
  133. - rebuild with new environment/toolchain
  134. * Fri Mar 09 2007 Daisuke SUZUKI <daisuke@linux.or.jp> 0.13-0vl1
  135. - initial build for Vine Linux
  136. * Fri Aug 17 2007 Ryoichi INAGAKI <ryo1@bc.wakwak.com> 0.15-0vl2
  137. - rebuilt for VineSeed
  138. * Fri Aug 17 2007 Ryoichi INAGAKI <ryo1@bc.wakwak.com> 0.15-0vl1
  139. - new upstream release
  140. - remove Requires: kdelibs-devel at devel package
  141. * Fri Jan 5 2007 TOSHI <vine-jp@mail.goo.ne.jp> 0.12-0vl1
  142. - build for vine 4.0
  143. * Tue Nov 28 2006 Rex Dieter <rexdieter[AT]users.sf.net> 0.12-1
  144. - exiv2-0.12
  145. # end of file