Changeset 1719 for spec/trunk/SPECS
- Timestamp:
- Oct 17, 2020, 11:01:30 AM (5 years ago)
- Location:
- spec/trunk/SPECS
- Files:
-
- 4 edited
-
LibRaw.spec (modified) (1 diff)
-
dos2unix.spec (modified) (1 diff)
-
jasper.spec (modified) (5 diffs)
-
libopusenc.spec (modified) (1 diff)
Legend:
- Unmodified
- Added
- Removed
-
spec/trunk/SPECS/LibRaw.spec
r1717 r1719 84 84 %make_build 85 85 %else 86 make %{?_smp_mflags} 86 87 %endif 87 88 -
spec/trunk/SPECS/dos2unix.spec
r1716 r1719 21 21 Convert text files with DOS or Mac line endings to Unix line endings and 22 22 vice versa. 23 24 %debug_package 23 25 24 26 %prep -
spec/trunk/SPECS/jasper.spec
r1542 r1719 6 6 Summary: Implementation of the JPEG-2000 standard, Part 1 7 7 Name: jasper 8 Version: 2.0. 149 Release: 2%{?dist}8 Version: 2.0.22 9 Release: 1%{?dist} 10 10 11 11 License: JasPer 12 12 URL: http://www.ece.uvic.ca/~frodo/jasper/ 13 %scm_source github http://github.com/TeLLie/%{name}-os2 master-os2 13 %if !0%{?os2_version} 14 Source0: https://github.com/jasper-software/jasper/archive/version-%{version}.tar.gz 15 %else 16 %scm_source github http://github.com/TeLLie/%{name}-os2 %{version}-os2 17 %endif 14 18 15 #Patch1: jasper-2.0.14-CVE-2016-9396.patch16 19 # skip hard-coded prefix/lib rpath 17 #Patch2: jasper-2.0.14-rpath.patch 20 %if !0%{?os2_version} 21 Patch2: jasper-2.0.14-rpath.patch 22 Patch3: jasper-freeglut.patch 23 18 24 # architecture related patches 19 25 Patch100: jasper-2.0.2-test-ppc64-disable.patch 20 26 Patch101: jasper-2.0.2-test-ppc64le-disable.patch 27 %endif 21 28 22 29 # autoreconf 23 30 BuildRequires: cmake 24 #BuildRequires: freeglut-devel 25 #BuildRequires: libGLU-devel 31 %if !0%{?os2_version} 32 BuildRequires: freeglut-devel 33 BuildRequires: libGLU-devel 34 BuildRequires: libXmu-devel libXi-devel 35 BuildRequires: mesa-libGL-devel 36 %endif 26 37 BuildRequires: libjpeg-devel 27 #BuildRequires: libXmu-devel libXi-devel28 38 BuildRequires: pkgconfig doxygen 29 #BuildRequires: mesa-libGL-devel30 39 31 40 Requires: %{name}-libs%{?_isa} = %{version}-%{release} … … 59 68 %{summary}, including jiv and tmrdemo. 60 69 70 %debug_package 61 71 62 72 %prep 63 #%setup -q -n %{name}-%{version} 73 %if !0%{?os2_version} 74 %setup -q -n %{name}-version-%{version} 75 %else 64 76 %scm_setup 77 %endif 65 78 66 #%patch1 -p1 -b .CVE-2016-9396 67 #%patch2 -p1 -b .rpath79 %if !0%{?os2_version} 80 %patch2 -p1 -b .rpath 68 81 # Need to disable one test to be able to build it on ppc64 arch 69 82 # At ppc64 this test just stuck (nothing happend - no exception or error) 83 %patch3 -p1 -b .freeglut 84 %endif 70 85 71 86 %if "%{_arch}" == "ppc64" … … 80 95 %endif 81 96 82 83 97 %build 84 98 mkdir builder 85 99 cd builder 100 86 101 export LDFLAGS="-Zhigh-mem -Zomf -Zargs-wild -Zargs-resp" 87 102 export LIBS="-lcx -lpthread" 88 89 %cmake .. \ 103 %cmake ..\ 90 104 -DJAS_ENABLE_DOC:BOOL=OFF 91 #popd 92 93 #%make_build -C builder 94 make %{?_smp_mflags} 105 %if !0%{?os2_version} 106 -B builder 107 %make_build -C builder 108 %else 109 make %{?_smp_mflags} 110 %endif 95 111 96 112 %install … … 101 117 rm -f %{buildroot}%{_libdir}/lib*.la 102 118 103 mkdir -p %{buildroot}%{_libdir}104 mv %{buildroot}%{_bindir}/jasper.dll %{buildroot}%{_libdir}/jasper.dll105 119 106 120 %check 107 #make test -C builder 121 %if !0%{?os2_version} 122 make test -C builder 108 123 109 #%ldconfig_scriptlets libs 124 %ldconfig_scriptlets libs 125 %endif 110 126 111 127 %files 112 %defattr(-,root,root,-) 128 %if !0%{?os2_version} 129 %{_bindir}/imgcmp 130 %{_bindir}/imginfo 131 %{_bindir}/jasper 132 %else 113 133 %{_bindir}/imgcmp.exe 114 134 %{_bindir}/imginfo.exe 115 135 %{_bindir}/jasper.exe 136 %endif 116 137 %{_mandir}/man1/img* 117 138 %{_mandir}/man1/jasper.1* … … 119 140 120 141 %files devel 121 /@unixroot/usr/lib/122 %defattr(-,root,root,-)123 142 %doc doc/* 124 143 %{_includedir}/jasper/ 125 %{_libdir}/jasper*.a 144 %if !0%{?os2_version} 145 %{_libdir}/libjasper.so 146 %else 147 %{_libdir}/*.a 148 %endif 126 149 %{_libdir}/pkgconfig/jasper.pc 127 150 128 151 %files libs 129 %defattr(-,root,root,-)130 152 %doc README 131 153 %license COPYRIGHT LICENSE 154 %if !0%{?os2_version} 155 %{_libdir}/libjasper.so.4* 156 %else 132 157 %{_libdir}/jasper*.dll 158 %endif 133 159 134 #%files utils 135 #%{_bindir}/jiv.exe 136 #%{_mandir}/man1/jiv.1* 160 %if !0%{?os2_version} 161 %files utils 162 %{_bindir}/jiv 163 %{_mandir}/man1/jiv.1* 164 %endif 137 165 138 166 %changelog 167 * Sat Oct 17 2020 Elbert Pol <elbert.pol@gmail.com> - 2.0.22-1 168 - Updated to latest version 2.0.22 169 - Change more os2 specifated lines in spec file 170 139 171 * Fri Dec 28 2018 Elbert Pol <elbert.pol@gmail.com> - 2.0.14-2 140 172 - Removed the dll from bindir -
spec/trunk/SPECS/libopusenc.spec
r1713 r1719 1 1 Name: libopusenc 2 2 Version: 0.2.1 3 Release: 5%{?dist}3 Release: 1%{?dist} 4 4 Summary: A library that provides an easy way to encode Ogg Opus files 5 5 License: BSD
Note:
See TracChangeset
for help on using the changeset viewer.
