exiv2_025-vl.spec 5.8 KB

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