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