Changeset 1805 for spec/trunk/SPECS
- Timestamp:
- Apr 8, 2022, 5:23:20 PM (4 years ago)
- File:
-
- 1 edited
-
spec/trunk/SPECS/jasper.spec (modified) (9 diffs)
Legend:
- Unmodified
- Added
- Removed
-
spec/trunk/SPECS/jasper.spec
r1785 r1805 6 6 Summary: Implementation of the JPEG-2000 standard, Part 1 7 7 Name: jasper 8 Version: 2.0.338 Version: 3.0.3 9 9 Release: 1%{?dist} 10 10 … … 12 12 URL: http://www.ece.uvic.ca/~frodo/jasper/ 13 13 %if !0%{?os2_version} 14 Source0: https://github.com/jasper-software/ jasper/archive/version-%{version}.tar.gz14 Source0: https://github.com/jasper-software/%{name}/archive/refs/tags/version-%{version}.tar.gz 15 15 %else 16 16 %scm_source github http://github.com/TeLLie/%{name}-os2 %{version}-os2 17 17 %endif 18 19 18 # skip hard-coded prefix/lib rpath 20 %if !0%{?os2_version} 21 Patch2: jasper-2.0.14-rpath.patch 22 Patch3: jasper-freeglut.patch 19 Patch1: jasper-3.0.0-rpath.patch 23 20 24 21 # architecture related patches 25 22 Patch100: jasper-2.0.2-test-ppc64-disable.patch 26 23 Patch101: jasper-2.0.2-test-ppc64le-disable.patch 27 %endif28 24 29 25 # autoreconf … … 32 28 BuildRequires: freeglut-devel 33 29 BuildRequires: libGLU-devel 34 %endif 30 BuildRequires: mesa-libGL-devel 31 BuildRequires: libXmu-devel libXi-devel 32 %else 33 BuildRequires: pkgconfig doxygen 35 34 BuildRequires: libjpeg-devel 36 %if !0%{?os2_version}37 BuildRequires: libXmu-devel libXi-devel38 %endif39 BuildRequires: pkgconfig doxygen40 %if !0%{?os2_version}41 BuildRequires: mesa-libGL-devel42 35 %endif 43 36 … … 73 66 %{summary}, including jiv and tmrdemo. 74 67 75 %debug_package76 68 77 69 %prep 78 70 %if !0%{?os2_version} 79 71 %setup -q -n %{name}-version-%{version} 72 %else 73 %scm_setup 74 %endif 80 75 81 %patch 2-p1 -b .rpath76 %patch1 -p1 -b .rpath 82 77 # Need to disable one test to be able to build it on ppc64 arch 83 78 # At ppc64 this test just stuck (nothing happend - no exception or error) 84 %patch3 -p1 -b .freeglut85 79 86 80 %if "%{_arch}" == "ppc64" 87 81 %patch100 -p1 -b .test-ppc64-disable 88 %endif89 %else90 %scm_setup91 82 %endif 92 83 … … 102 93 mkdir builder 103 94 cd builder 104 95 %if 0%{?os2_version} 105 96 export LDFLAGS="-Zhigh-mem -Zomf -Zargs-wild -Zargs-resp" 106 97 export LIBS="-lcx -lpthread" 107 %cmake ..\ 108 -DJAS_ENABLE_DOC:BOOL=OFF 98 %endif 99 %cmake \ 100 -DJAS_ENABLE_DOC:BOOL=OFF \ 101 .. 102 109 103 %if !0%{?os2_version} 110 -B builder111 104 %make_build -C builder 112 105 %else … … 121 114 rm -f %{buildroot}%{_libdir}/lib*.la 122 115 116 123 117 %check 124 %if !0%{?os2_version} 118 %if 0%{?os2_version} 119 export BEGINLIBPATH=%{_builddir}/%{buildsubdir}/builder/src/libjasper 120 %endif 125 121 make test -C builder 126 122 123 %if !0%{?os2_version} 127 124 %ldconfig_scriptlets libs 128 125 %endif 129 126 127 %clean 128 rm -rf $RPM_BUILD_ROOT 129 130 130 %files 131 %defattr(-,root,root,-) 132 /@unixroot/usr/share/doc/JasPer/ 131 133 %if !0%{?os2_version} 132 134 %{_bindir}/imgcmp … … 140 142 %{_mandir}/man1/img* 141 143 %{_mandir}/man1/jasper.1* 142 %{_docdir}/Jas Per/*144 %{_docdir}/Jasper/README.md 143 145 144 146 %files devel … … 156 158 %license COPYRIGHT LICENSE 157 159 %if !0%{?os2_version} 158 %{_libdir}/libjasper.so. 4*160 %{_libdir}/libjasper.so.6* 159 161 %else 160 162 %{_libdir}/*.dll … … 168 170 169 171 %changelog 172 * Fri Apr 09 2022 Elbert Pol <elbert.pol@gmail.com> - 3.0.3-1 173 - Updated to latest version 174 170 175 * Fri Oct 08 2021 Elbert Pol <elbert.pol@gmail.com> - 2.0.33-1 171 176 - Updated to latest version
Note:
See TracChangeset
for help on using the changeset viewer.
