libexif-vl.spec 4.0 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145
  1. Name: libexif
  2. Summary: EXIF tag library
  3. Summary(ja): EXIF タグライブラリ
  4. Version: 0.6.21
  5. Release: 3%{?_dist_release}
  6. Group: System Environment/Libraries
  7. Vendor: Project Vine
  8. Distribution: Vine Linux
  9. License: LGPLv2+
  10. URL: https://libexif.github.io/
  11. Source: http://prdownloads.sourceforge.net/libexif/%{name}-%{version}.tar.bz2
  12. # CVE-2016-6328, RHBZ#1366239
  13. Patch0: 41bd04234b104312f54d25822f68738ba8d7133d.patch
  14. # CVE-2018-20030, RHBZ#
  15. Patch1: 5d28011c40ec86cf52cffad541093d37c263898a.patch
  16. Patch2: 6aa11df549114ebda520dde4cdaea2f9357b2c89.patch
  17. # CVE-2020-12767
  18. Patch3: CVE-2020-12767.patch
  19. BuildRoot: %{_tmppath}/%{name}-%{version}-root
  20. BuildRequires: pkgconfig gettext doxygen
  21. %description
  22. libexif is a library for parsing, editing, and saving EXIF data. It is
  23. intended to replace lots of redundant implementations in command-line
  24. utilities and programs with GUIs.
  25. %package devel
  26. Summary: The files needed for libexif application development
  27. Group: Development/Libraries
  28. Requires: %{name} = %{version}
  29. %description devel
  30. The libexif-devel package contains the libraries and include files
  31. that you can use to develop libexif applications.
  32. %prep
  33. %setup -q
  34. %autopatch -p1
  35. %build
  36. autoreconf -fiv
  37. %configure --disable-static
  38. make %{?_smp_mflags}
  39. %install
  40. rm -rf %{buildroot}
  41. make DESTDIR=%{buildroot} install
  42. rm -rf installed-docs
  43. cp -pr %{buildroot}%{_datadir}/doc/%{name} installed-docs
  44. rm -rf %{buildroot}%{_datadir}/doc/%{name}
  45. rm -f %{buildroot}%{_libdir}/*.la
  46. %clean
  47. rm -rf %{buildroot}
  48. %files
  49. %defattr(-,root,root)
  50. %license COPYING
  51. %doc ABOUT-NLS AUTHORS ChangeLog NEWS README
  52. %{_libdir}/libexif.so.*
  53. %{_datadir}/locale/*/LC_MESSAGES/*.mo
  54. %files devel
  55. %defattr(-,root,root)
  56. %license COPYING
  57. %doc installed-docs/libexif-api.html
  58. %{_libdir}/libexif.so
  59. %{_libdir}/pkgconfig/libexif.pc
  60. %{_includedir}/libexif
  61. #{_libdir}/libexif.la
  62. #{_libdir}/libexif.a
  63. %changelog
  64. * Sun May 17 2020 Tomohiro "Tomo-p" KATO <tomop@teamgedoh.net> 0.6.21-3
  65. - added Patch0-4 to fix CVE-2016-6328, CVE-2018-20030 and CVE-2020-12767.
  66. * Sat Jan 4 2014 Satoshi IWAMOTO <satoshi.iwamoto@nifty.ne.jp> 0.6.21-2
  67. - rebuilt with new vineseed toolchan
  68. * Thu Sep 20 2012 Satoshi IWAMOTO <satoshi.iwamoto@nifty.ne.jp> 0.6.21-1
  69. - new upstream release with security fixes
  70. (CVE-2012-2812, 2813, 2814, 2836, 2837, 2840, 2841, 2845)
  71. * Wed Mar 21 2012 MATSUBAYASHI Kohji <shaolin@vinelinux.org> - 0.6.20-1
  72. - new upstream release (stability/bug fix release)
  73. * Tue Sep 21 2010 Ryoichi INAGAKI <ryo1@bc.wakwak.com> 0.6.19-1
  74. - new upstream release with security fix (CVE-2009-3895)
  75. - built with rpm-4.8.1 for pkg-config
  76. * Mon Oct 19 2009 Ryoichi INAGAKI <ryo1@bc.wakwak.com> 0.6.18-1
  77. - new upstream release
  78. - removed static library from devel package
  79. * Sat Mar 28 2009 Ryoichi INAGAKI <ryo1@bc.wakwak.com> 0.6.17-1
  80. - new upstream release
  81. - dropped Patch0, 1 (merged into upstream)
  82. * Mon Apr 28 2008 Ryoichi INAGAKI <ryo1@bc.wakwak.com> 0.6.16-1vl5
  83. - applied new versioning policy
  84. - removed *.la files from devel package
  85. * Fri Dec 21 2007 AKIYAMA Kazuhito <akiyama@yb3.so-net.ne.jp> 0.6.16-0vl2
  86. - Add Patch0 for CVE-2007-6351
  87. - Add Patch1 for CVE-2007-6352
  88. - change License to LGPL
  89. - update %%doc
  90. * Thu Jun 14 2007 Satoshi IWAMOTO <satoshi.iwamoto@nifty.ne.jp> 0.6.16-0vl1
  91. - new upstream release with security fix
  92. * Mon May 14 2007 AKIYAMA Kazuhito <akiyama@yb3.so-net.ne.jp> 0.6.14-0vl1
  93. - new upstream release
  94. * Thu Feb 16 2006 KAZUKI SHIMURA <kazuki@ma.ccnw.ne.jp> 0.6.13-0vl1
  95. - new upstream release
  96. - add BuildRequires: doxygen
  97. - add %%doc to devel package
  98. * Sat Mar 19 2005 AKIYAMA Kazuhito <akiyama@yb3.so-net.ne.jp> 0.6.12-0vl2
  99. - rebuild for VineSeed
  100. * Tue Mar 15 2005 AKIYAMA Kazuhito <akiyama@yb3.so-net.ne.jp> 0.6.12-0vl1
  101. - new upstream release (includes security fix for CAN-2005-0664)
  102. - remove patch0
  103. * Sat Feb 26 2005 AKIYAMA Kazuhito <akiyama@yb3.so-net.ne.jp> 0.6.11-0vl2
  104. - rebuild for VineSeed
  105. * Sat Feb 26 2005 AKIYAMA Kazuhito <akiyama@yb3.so-net.ne.jp> 0.6.11-0vl1
  106. - new upstream release
  107. - add Patch0
  108. * Wed Sep 29 2004 AKIYAMA Kazuhito <akiyama@yb3.so-net.ne.jp> 0.6.10-0vl1
  109. - first release