Changeset 1768
- Timestamp:
- May 16, 2021, 3:35:31 PM (4 years ago)
- Location:
- spec/trunk/SPECS
- Files:
-
- 1 added
- 4 edited
Legend:
- Unmodified
- Added
- Removed
-
spec/trunk/SPECS/fluidsynth.spec
r1750 r1768 1 1 Summary: Real-time software synthesizer 2 2 Name: fluidsynth 3 Version: 2. 1.63 Version: 2.2.0 4 4 Release: 1%{?dist} 5 5 URL: http://www.fluidsynth.org/ … … 75 75 76 76 %build 77 export CFLAGS="-idirafter /@unixroot/usr/include/os2tk45" 77 78 export LDFLAGS="-Zhigh-mem -Zomf -Zargs-wild -Zargs-resp" 78 79 export LIBS="-lcx" -
spec/trunk/SPECS/libsndfile.spec
r1750 r1768 2 2 Name: libsndfile 3 3 Version: 1.0.31 4 Release: 1%{?dist}4 Release: 2%{?dist} 5 5 License: LGPLv2+ and GPLv2+ and BSD 6 URL: http:// www.mega-nerd.com/libsndfile/7 %if !0%{?os2_version} 8 Source0: http://www.mega-nerd.com/libsndfile/files/libsndfile-%{version}.tar.gz6 URL: http://libsndfile.github.io/libsndfile/ 7 %if !0%{?os2_version} 8 Source0: https://github.com/libsndfile/libsndfile/releases/download/%{version}/libsndfile-%{version}.tar.bz2 9 9 %else 10 10 %scm_source github http://github.com/TeLLie/%{name}-os2 %{version}-os2 11 11 %endif 12 13 %if !0%{?os2_version} 14 Patch0: libsndfile-1.0.25-system-gsm.patch 12 15 Patch1: libsndfile-1.0.25-zerodivfix.patch 13 %if !0%{?os2_version}14 Patch0: libsndfile-1.0.25-system-gsm.patch15 Patch2: revert.patch16 Patch3: libsndfile-1.0.28-flacbufovfl.patch17 Patch4: libsndfile-1.0.29-cve2017_6892.patch18 # from upstream, for <= 1.0.28, rhbz#148314019 Patch5: libsndfile-1.0.28-cve2017_12562.patch20 libsndfile-1.0.29-cve2017_6892.patch21 16 %endif 22 17 … … 24 19 BuildRequires: gcc-c++ 25 20 BuildRequires: alsa-lib-devel 26 BuildRequires: gsm-devel 27 %else 28 BuildRequires: gcc 21 %endif 29 22 BuildRequires: flac-devel 30 23 BuildRequires: gcc … … 33 26 BuildRequires: pkgconfig 34 27 BuildRequires: sqlite-devel 28 %if !0%{?os2_version} 29 BuildRequires: gsm-devel 30 %endif 35 31 BuildRequires: libtool 36 BuildRequires: make 32 BuildRequires: make 33 %if !0%{?os2_version} 34 BuildRequires: python3 37 35 %endif 38 36 … … 66 64 This package contains command line utilities for libsndfile. 67 65 66 %debug 68 67 69 68 %prep … … 73 72 %scm_setup 74 73 %endif 74 %if !0%{?os2_version} 75 %patch0 -p1 -b .system-gsm 76 rm -r src/GSM610 77 # TODO: check if this patch is still needed 75 78 %patch1 -p1 -b .zerodivfix 76 %if !0%{?os2_version} 77 %patch0 -p1 -b .systemgsm 78 %patch2 -p1 -b .revert 79 %patch3 -p1 -b .flacbufovfl 80 %patch4 -p1 -b .cve2017_6892 81 %patch5 -p1 -b .cve2017_12562 82 %endif 83 #rm -r src/GSM610 79 %endif 84 80 85 81 %build 86 mkdir builder 87 cd builder 82 %if !0%{?os2_version} 83 autoreconf -I M4 -fiv # for system-gsm patch 84 %endif 85 86 %if !0%{?os2_version} 87 %configure \ 88 --disable-dependency-tracking \ 89 --enable-sqlite \ 90 --enable-alsa \ 91 --enable-largefile \ 92 --disable-static 93 %else 94 mkdir build 95 cd build 88 96 export LDFLAGS="-Zhigh-mem -Zomf -Zargs-wild -Zargs-resp" 89 97 export LIBS="-lcx" … … 95 103 -DBUILD_TESTING=ON \ 96 104 .. 105 # Get rid of rpath 106 %if !0%{?os2_version} 107 sed -i 's|^hardcode_libdir_flag_spec=.*|hardcode_libdir_flag_spec=""|g' libtool 108 sed -i 's|^runpath_var=LD_RUN_PATH|runpath_var=DIE_RPATH_DIE|g' libtool 109 %endif 110 97 111 make %{?_smp_mflags} 98 112 %endif 99 113 100 114 %install 101 %if !0%{?os2_version}102 115 make install DESTDIR=$RPM_BUILD_ROOT 103 %else104 make install INSTALL_ROOT=%{buildroot} DESTDIR=$RPM_BUILD_ROOT -C builder105 %endif106 116 rm -rf __docs 107 117 mkdir __docs … … 109 119 rm -rf $RPM_BUILD_ROOT%{_docdir}/%{name} 110 120 find %{buildroot} -type f -name "*.la" -delete 121 122 111 123 # fix multilib issues 124 %if !0%{?os2_version} 112 125 mv %{buildroot}%{_includedir}/sndfile.h \ 113 126 %{buildroot}%{_includedir}/sndfile-%{__isa_bits}.h … … 122 135 #else 123 136 # error "unexpected value for __WORDSIZE macro" 124 #endif125 137 EOF 138 %endif 126 139 127 140 %if !0%{?os2_version} … … 132 145 133 146 %check 134 %if !0%{?os2_version}135 147 LD_LIBRARY_PATH=$PWD/src/.libs make check 136 %endif137 148 138 149 %if !0%{?os2_version} … … 161 172 %{_bindir}/sndfile-metadata-set 162 173 %{_bindir}/sndfile-play 163 %{_bindir}/sndfile-regtest164 174 %{_bindir}/sndfile-salvage 165 175 %else 166 %{_bindir}/sndfile-*.exe 176 %{_bindir}/*.exe 177 %endif 167 178 %{_mandir}/man1/sndfile-cmp.1* 168 179 %{_mandir}/man1/sndfile-concat.1* … … 175 186 %{_mandir}/man1/sndfile-play.1* 176 187 %{_mandir}/man1/sndfile-salvage.1* 177 %endif178 188 179 189 %files devel … … 186 196 %else 187 197 %{_libdir}/*.a 198 %endif 188 199 %{_libdir}/pkgconfig/sndfile.pc 189 %dir %{_libdir}/cmake/SndFile 190 %{_libdir}/cmake/SndFile/SndFileTargets-release.cmake 191 %{_libdir}/cmake/SndFile/SndFileTargets.cmake 192 %{_libdir}/cmake/SndFile/SndFileConfig.cmake 193 %{_libdir}/cmake/SndFile/SndFileConfigVersion.cmake 194 %endif 200 195 201 196 202 %changelog 203 * Sun Jan 31 2021 Elbert Pol <elbert.pol@gmail.com> - 1.0.21-2 204 - Update the spec more to Fedora style 205 197 206 * Tue Jan 26 2021 Elbert Pol <elbert.pol@gmail.com> - 1.0.31-1 198 207 - First rpm version for OS2 -
spec/trunk/SPECS/luckybackup.spec
r1756 r1768 82 82 %{_bindir}/%{name} 83 83 %{_datadir}/applications/%{name}* 84 %{_datadir}/applications/%{name}*85 84 %{_datadir}/%{name} 86 85 %{_datadir}/menu -
spec/trunk/SPECS/yaz.spec
r1767 r1768 105 105 %prep 106 106 %scm_setup 107 108 %build 107 109 buildconf.sh 108 109 %build110 110 export LDFLAGS="-Zhigh-mem -Zomf -Zargs-wild -Zargs-resp" 111 111 export LIBS="-lcx"
Note:
See TracChangeset
for help on using the changeset viewer.