jasper-vl.spec 6.4 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231
  1. %define build_compat32 %{?_with_compat32:1}%{!?_with_compat32:0}
  2. Name: jasper
  3. Summary: implementation of the JPEG-2000 standard, Part 1
  4. Version: 2.0.32
  5. Release: 1%{?_dist_release}
  6. Group: graphics
  7. Vendor: Project Vine
  8. Distribution: Vine Linux
  9. License: Modified BSD (see LICENSE)
  10. URL: https://www.ece.uvic.ca/~frodo/jasper/
  11. Source: https://github.com/mdadams/jasper/archive/version-%{version}.tar.gz#/%{name}-version-%{version}.tar.gz
  12. # skip hard-coded prefix/lib rpath
  13. Patch1: jasper-2.0.14-rpath.patch
  14. BuildRoot: %{_tmppath}/%{name}-%{version}-root
  15. BuildRequires: autoconf automake libtool
  16. BuildRequires: freeglut-devel
  17. BuildRequires: libGLU-devel
  18. BuildRequires: libjpeg-devel
  19. BuildRequires: pkgconfig
  20. BuildRequires: cmake
  21. BuildRequires: git
  22. Requires: %{name}-libs = %{version}-%{release}
  23. %description
  24. JasPer is a collection of software (i.e., a library and application
  25. programs) for the coding and manipulation of images. This software
  26. can handle image data in a variety of formats. One such format
  27. supported by JasPer is the JPEG-2000 format defined in ISO/IEC 15444-1.
  28. %package devel
  29. Summary: Include Files and Documentation for jasper
  30. Group: programming
  31. Requires: %{name}-libs = %{version}-%{release}
  32. Requires: libjpeg-devel
  33. %description devel
  34. This package contains libjasper, a library implementing the JPEG-2000
  35. image compression standard Part 1.
  36. %package libs
  37. Summary: Runtime libraries for %{name}
  38. Group: system
  39. %description libs
  40. This package contains runtime libraries for JasPer.
  41. # compat32
  42. %package -n compat32-%{name}-devel
  43. Summary: Include Files and Documentation for jasper
  44. Group: programming
  45. Requires: %{name}-libs = %{version}-%{release}
  46. Requires: compat32-libjpeg-devel
  47. %description -n compat32-%{name}-devel
  48. This package contains libjasper, a library implementing the JPEG-2000
  49. image compression standard Part 1.
  50. %package -n compat32-%{name}-libs
  51. Summary: Runtime libraries for %{name}
  52. Group: system
  53. %description -n compat32-%{name}-libs
  54. This package contains runtime libraries for JasPer.
  55. %debug_package
  56. %prep
  57. %autosetup -S git -n %{name}-version-%{version}
  58. %build
  59. %cmake -DJAS_ENABLE_DOC:BOOL=OFF
  60. %cmake_build
  61. %install
  62. [ -n "%{buildroot}" -a "%{buildroot}" != / ] && rm -rf %{buildroot}
  63. %cmake_install
  64. # Unpackaged files
  65. rm -f doc/README
  66. rm -f %{buildroot}%{_libdir}/lib*.la
  67. rm -rf %{buildroot}%{_docdir}/JasPer
  68. %check
  69. %ctest
  70. %clean
  71. [ -n "%{buildroot}" -a "%{buildroot}" != / ] && rm -rf %{buildroot}
  72. %files
  73. %defattr(-,root,root)
  74. %{!?_licensedir:%global license %%doc}
  75. %{_bindir}/*
  76. %{_mandir}/man1/*
  77. %files libs
  78. %license COPYRIGHT LICENSE
  79. %doc INSTALL README doc/README doc/jasper.pdf doc/jpeg2000.pdf
  80. %defattr(-,root,root)
  81. %{_libdir}/libjasper*.so.*
  82. %files devel
  83. %defattr(-,root,root)
  84. %{_includedir}/jasper
  85. %{_libdir}/libjasper*.so
  86. %{_libdir}/pkgconfig/jasper.pc
  87. # compat32
  88. %if %{build_compat32}
  89. %files -n compat32-%{name}-libs
  90. %defattr(-,root,root)
  91. %{_libdir}/libjasper*.so.*
  92. %files -n compat32-%{name}-devel
  93. %defattr(-,root,root)
  94. %{_libdir}/libjasper*.so
  95. %{_libdir}/pkgconfig/jasper.pc
  96. %endif
  97. %changelog
  98. * Wed Jul 28 2021 Tomohiro "Tomo-p" KATO <tomop@teamgedoh.net> 2.0.32-1
  99. - new upstream release.
  100. * Wed Mar 31 2021 Tomohiro "Tomo-p" KATO <tomop@teamgedoh.net> 2.0.28-1
  101. - new upstream release.
  102. - dropped ldconfig scriptlets.
  103. * Sat Feb 27 2021 Tomohiro "Tomo-p" KATO <tomop@teamgedoh.net> 2.0.25-1
  104. - new upstream release.
  105. - dropped Patch1000: fixed in upstream.
  106. * Thu Feb 04 2021 Tomohiro "Tomo-p" KATO <tomop@teamgedoh.net> 2.0.24-1
  107. - new upstream release.
  108. - added Patch1000 to fix CVE-2021-3272.
  109. * Wed Dec 16 2020 Tomohiro "Tomo-p" KATO <tomop@teamgedoh.net> 2.0.23-1
  110. - new upstream release.
  111. * Fri Sep 04 2020 Tomohiro "Tomo-p" KATO <tomop@teamgedoh.net> 2.0.19-1
  112. - new upstream release.
  113. * Sun Sep 08 2019 Tomohiro "Tomo-p" KATO <tomop@teamgedoh.net> 2.0.16-1
  114. - new upstream release.
  115. - dropped Patch1: fixed in upstream.
  116. - imported Patch1 from rawhide.
  117. * Mon Mar 20 2017 Tomohiro "Tomo-p" KATO <tomop@teamgedoh.net> 2.0.12-1
  118. - new upstream release.
  119. - dropped all patches.
  120. - imported patch1 from rawhide.
  121. * Tue Jul 19 2016 Tomohiro "Tomo-p" KATO <tomop@teamgedoh.net> 1.900.1-11
  122. - added Patch1000-1002 to fix CVE-2016-{1577,2089,2116}.
  123. * Wed Dec 24 2014 Tomohiro "Tomo-p" KATO <tomop@teamgedoh.net> 1.900.1-10
  124. - imported all patches from RawHide.
  125. * Tue Jul 15 2014 Yoji TOYODA <bsyamato@sea.plala.or.jp> 1.900.1-9
  126. - rebuild with libpng-1.6.12
  127. * Thu Apr 14 2011 Ryoichi INAGAKI <ryo1@bc.wakwak.com> 1.900.1-8
  128. - rebuilt with current VineSeed
  129. * Sat May 02 2009 NAKAMURA Kenta <kenta@vinelinux.org> 1.900.1-7
  130. - added compat32 subpackage for x86_64 arch support.
  131. * Sat Sep 06 2008 Daisuke SUZUKI <daisuke@linux.or.jp> 1.900.1-6
  132. - splited out runtime library to sub package
  133. - enable opengl again, add BuildRequires: freeglut-devel
  134. * Wed Jun 25 2008 AKIYAMA Kazuhito <akiyama@yb3.so-net.ne.jp> 1.900.1-5
  135. - remove .la
  136. - add --disable-static to configure option
  137. * Sun Jun 24 2007 Ryoichi INAGAKI <ryo1@bc.wakwak.com> 1.900.1-0vl4
  138. - added Patch0 from VinePlus/4.0
  139. * Thu Jun 21 2007 Satoshi IWAMOTO <satoshi.iwamoto@nifty.ne.jp> 1.900.1-0vl2.1
  140. - add patch100 for fix CVE-2007-2721
  141. - add Vendor/Distributin Tag
  142. * Fri May 25 2007 AKIYAMA Kazuhito <akiyama@yb3.so-net.ne.jp> 1.900.1-0vl3
  143. - remove BuildPrereq: freeglut-devel and Requires freeglut
  144. - add --disable-opengl to configure option
  145. * Fri Mar 16 2007 MATSUBAYASHI Kohji <shaolin@vinelinux.org> 1.900.1-0vl2
  146. - add BuildPreReq: unzip (used in the %%pre section)
  147. * Thu Mar 15 2007 Ryoichi INAGAKI <ryo1@bc.wakwak.com> 1.900.1-0vl1
  148. - new upstream release
  149. * Tue Jan 16 2007 Ryoichi INAGAKI <ryo1@bc.wakwak.com> 1.900.0-0vl1
  150. - new upstream release
  151. - changed Group to System Environment/Libraries
  152. - added --mandir=%{_mandir}
  153. - added %post and %postun section
  154. * Thu Sep 07 2006 NAKAMURA Kenta <kenta@vinelinux.org> 1.701.0-0vl3
  155. - added --libdir=%{_libdir} configure option
  156. * Tue Sep 5 2006 AKIYAMA Kazuhito <akiyama@yb3.so-net.ne.jp> 1.701.0-0vl2
  157. - build with freeglut
  158. - change BuildPrereq and Requires
  159. * Tue Dec 14 2004 Satoshi MACHINO <machino@vinelinux.org> 1.701.0-0vl1
  160. - new upstream version (jasper-1.701.0)
  161. * Sat Nov 15 2003 AKIYAMA Kazuhito <akiyama@yb3.so-net.ne.jp> 1.700.5-0vl2
  162. - rebuild for VineSeedPlus
  163. * Sat Nov 15 2003 AKIYAMA Kazuhito <akiyama@yb3.so-net.ne.jp> 1.700.5-0vl1
  164. - source upgrade
  165. - change spec to build for VineLinux
  166. * Fri Oct 25 2002 Alexander D. Karaivanov <adk@medical-insight.com>
  167. - spec file created