Changeset 669
- Timestamp:
- Feb 24, 2016, 1:16:31 AM (9 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
TabularUnified spec/trunk/SPECS/libidl.spec ¶
r659 r669 24 24 Url: http://www.gnome.org 25 25 Version: 0.8.14 26 Release: 1%{?dist}26 Release: 2%{?dist} 27 27 #Release: 42.20 28 28 # NOTE: on upgrade to a new upstream version, change the Obsoletes from <= to < (here and in baselibs.conf) … … 72 72 different CORBA implementations. 73 73 74 %debug_package 75 74 76 %prep 75 77 %if %{?svn_rev:%(sh -c 'if test -f "%{_sourcedir}/%{name}-%{version}-r%{svn_rev}.zip" ; then echo 1 ; else echo 0 ; fi')}%{!?svn_rev):0} … … 82 84 %endif 83 85 84 autoreconf -fi85 86 86 %build 87 87 export \ 88 PATH=`echo $PATH | tr '\\\' '/'` \ 89 EXEEXT=".exe" IMPLIBPREF="" IMPLIBSUFF="_dll.lib" \ 90 LDFLAGS="-Zomf -Zhigh-mem -lurpo -lmmap -lpthread -lintl" CFLAGS="-Zomf -D__OS2__ -D__EMX__" \ 91 PATH_SEPARATOR=";" PATHSEP=";" AWK=gawk SED=sed GREP=grep \ 92 LD=gcc AR=emxomfar STRIP=strip RANLIB=echo \ 93 ECHO=echo PKG_CONFIG=pkg-config CC=gcc \ 94 LEX=flex YACC="bison -y" HAVE_YACC=yes \ 95 EMXOMFLD_TYPE="wlink" EMXOMFLD_LINKER="wl.exe" 88 LDFLAGS="-Zhigh-mem -lintl" CFLAGS="-D__OS2__ -D__EMX__" RANLIB=echo 89 90 autoreconf -fiv 96 91 97 92 %configure \ 98 99 100 93 --prefix=%{_prefix} \ 94 --enable-shared \ 95 --enable-static 101 96 102 # --with-pic 97 # Work around ASH bug: change RANLIB="echo\n" to RANLIB="echo" in libtool 98 sed -e ':a;N;$!ba;s/RANLIB\=\"echo\n/RANLIB="echo/g' \ 99 <%{_builddir}/%{?buildsubdir}/libtool \ 100 >%{_builddir}/%{?buildsubdir}/libtool2 101 rm -rf %{_builddir}/%{?buildsubdir}/libtool 102 mv -f %{_builddir}/%{?buildsubdir}/libtool2 %{_builddir}/%{?buildsubdir}/libtool 103 103 104 104 %{__make} %{?jobs:-j%jobs} … … 111 111 rm -f %{buildroot}%{_datadir}/info/dir 112 112 # rm -f %{buildroot}%{_libdir}/*.lib 113 # emxomf -o %{buildroot}%{_libdir}/IDL-2.lib %{buildroot}%{_libdir}/IDL-2.a 114 # emximp -o %{buildroot}%{_libdir}/IDL-2_dll.lib %{buildroot}%{_libdir}/IDL-20.dll 115 # emximp -o %{buildroot}%{_libdir}/IDL-20_dll.lib %{buildroot}%{_libdir}/IDL-20.dll 113 emxomf -o %{buildroot}%{_libdir}/IDL-2.lib %{buildroot}%{_libdir}/IDL-2.a 114 emximp -o %{buildroot}%{_libdir}/IDL-2_dll.lib %{buildroot}%{_libdir}/idl20.dll 115 emximp -o %{buildroot}%{_libdir}/IDL-20_dll.lib %{buildroot}%{_libdir}/idl20.dll 116 # change shell path in libIDL-config-2 117 sed -e 's-\#\! \/bin\/sh-#! /@unixroot/usr/bin/sh-g' \ 118 <%{buildroot}%{_bindir}/libIDL-config-2 \ 119 >%{buildroot}%{_bindir}/libIDL-config-1 120 rm -rf %{buildroot}%{_bindir}/libIDL-config-2 121 mv -f %{buildroot}%{_bindir}/libIDL-config-1 %{buildroot}%{_bindir}/libIDL-config-2 116 122 117 123 %clean … … 124 130 %post devel 125 131 ### @todo Replace with ``%%info_post %%{_name}2.info`` when its available. 126 if [ -f %{_infodir}/%{_name}2.info ]; then 132 if [ -f %{_infodir}/%{_name}2.info ]; then 127 133 %{_sbindir}/install-info.exe %{_infodir}/%{_name}2.info %{_infodir}/dir 128 134 fi … … 130 136 %postun devel 131 137 ### @todo Replace with ``%%info_postun %%{_name}2.info`` when its available. 132 if [ $1 -eq 0 ]; then 133 if [ -f %{_infodir}/%{_name}2.info ]; then 138 if [ $1 -eq 0 ]; then 139 if [ -f %{_infodir}/%{_name}2.info ]; then 134 140 %{_sbindir}/install-info.exe --delete %{_infodir}/%{_name}2.info %{_infodir}/dir 135 fi 141 fi 136 142 fi 137 143 … … 149 155 %doc %{_infodir}/%{_name}2.info 150 156 %{_libdir}/pkgconfig/*.pc 151 %{_libdir}/idl*.dbg 157 %{_libdir}/IDL-2.a 158 %{_libdir}/IDL-2_dll.a 159 %{_libdir}/IDL-20_dll.a 152 160 %{_libdir}/IDL-2.lib 153 161 %{_libdir}/IDL-2_dll.lib … … 155 163 156 164 %changelog 165 * Thu Feb 18 2016 Valery Sedletski - <_valerius@mail.ru> 0.8.14-2 166 - changed libs format to both a.out and OMF 167 - added debug package 168 - added OS/2 DLL shortname 169 157 170 * Thu Dec 03 2015 Valery Sedletski - <_valerius@mail.ru> Initial OS/2 build 158 171 - Initial OS/2 port
Note:
See TracChangeset
for help on using the changeset viewer.