Changeset 659 for spec/trunk/SPECS/libidl.spec
- Timestamp:
- Feb 18, 2016, 12:55:07 AM (10 years ago)
- File:
-
- 1 edited
-
spec/trunk/SPECS/libidl.spec (modified) (6 diffs)
Legend:
- Unmodified
- Added
- Removed
-
spec/trunk/SPECS/libidl.spec
r587 r659 73 73 74 74 %prep 75 # %setup -q -n %{_name}-%{version}76 75 %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} 77 76 %setup -q 78 77 %else 79 %setup - n "%{name}-%{version}" -Tc78 %setup -q -n "%{name}-%{version}" -Tc 80 79 svn export %{?svn_rev:-r %{svn_rev}} %{svn_url} . --force 81 80 rm -f "%{_sourcedir}/%{name}-%{version}%{?svn_rev:-r%{svn_rev}}.zip" … … 88 87 export \ 89 88 PATH=`echo $PATH | tr '\\\' '/'` \ 90 EXEEXT=".exe" IMPLIBPREF="" IMPLIBSUFF="_dll. a" \91 LDFLAGS="-Zomf -Zhigh-mem -lurpo -lmmap -lpthread -lintl" CFLAGS="- D__OS2__ -D__EMX__" \89 EXEEXT=".exe" IMPLIBPREF="" IMPLIBSUFF="_dll.lib" \ 90 LDFLAGS="-Zomf -Zhigh-mem -lurpo -lmmap -lpthread -lintl" CFLAGS="-Zomf -D__OS2__ -D__EMX__" \ 92 91 PATH_SEPARATOR=";" PATHSEP=";" AWK=gawk SED=sed GREP=grep \ 93 LD=gcc AR= ar STRIP=strip RANLIB=echo \92 LD=gcc AR=emxomfar STRIP=strip RANLIB=echo \ 94 93 ECHO=echo PKG_CONFIG=pkg-config CC=gcc \ 95 94 LEX=flex YACC="bison -y" HAVE_YACC=yes \ … … 98 97 %configure \ 99 98 --prefix=%{_prefix} \ 100 --enable-shared --enable-static 99 --enable-shared \ 100 --enable-static 101 101 102 102 # --with-pic … … 110 110 # mkdir $RPM_BUILD_ROOT%{_datadir}/idl 111 111 rm -f %{buildroot}%{_datadir}/info/dir 112 emxomf -o %{buildroot}%{_libdir}/IDL-2.lib %{buildroot}%{_libdir}/IDL-2.a 113 emximp -o %{buildroot}%{_libdir}/IDL-2_dll.lib %{buildroot}%{_libdir}/IDL-20.dll 114 emximp -o %{buildroot}%{_libdir}/IDL-20_dll.lib %{buildroot}%{_libdir}/IDL-20.dll 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 115 116 116 117 %clean … … 138 139 %defattr(-,root,root) 139 140 %doc COPYING ChangeLog AUTHORS README* NEWS BUGS tstidl.c 140 %{_libdir}/ IDL-20.dll141 %{_libdir}/idl*.dll 141 142 # generic directory for idl files 142 143 # %dir %{_datadir}/idl … … 148 149 %doc %{_infodir}/%{_name}2.info 149 150 %{_libdir}/pkgconfig/*.pc 150 %{_libdir}/IDL-20.dbg 151 %{_libdir}/IDL-2.a 151 %{_libdir}/idl*.dbg 152 152 %{_libdir}/IDL-2.lib 153 %{_libdir}/IDL-2_dll.a154 153 %{_libdir}/IDL-2_dll.lib 155 %{_libdir}/IDL-20_dll.a156 154 %{_libdir}/IDL-20_dll.lib 157 155
Note:
See TracChangeset
for help on using the changeset viewer.
