]> git.pld-linux.org Git - packages/wine.git/blobdiff - wine.spec
- reenable debuginfo, builds/works for me.
[packages/wine.git] / wine.spec
index f1c8406704ce221a402041a9a48f081e9363737a..f9673697ca57f30442e29a7cf11872ded7f9cfb7 100644 (file)
--- a/wine.spec
+++ b/wine.spec
@@ -66,6 +66,7 @@ BuildRequires:        flex
 BuildRequires: fontconfig-devel
 BuildRequires: fontforge
 BuildRequires: freetype-devel >= 2.0.5
+BuildRequires: fslint
 BuildRequires: gettext-devel
 BuildRequires: giflib-devel
 BuildRequires: gnutls-devel
@@ -130,7 +131,7 @@ BuildRoot:  %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
 
 %define                getsoname()     %((objdump -p %{1} 2>/dev/null || echo SONAME ERROR) | awk '/SONAME/ { print $2; s=1 }; END { if(s==0) print "ERROR" }')
 
-%undefine      debuginfocflags
+#undefine      debuginfocflags
 
 %description
 Wine is a program which allows running Microsoft Windows programs
@@ -324,6 +325,8 @@ install -d $RPM_BUILD_ROOT{%{_mandir}/man1,%{_aclocaldir}}
 %{__make} install \
        DESTDIR=$RPM_BUILD_ROOT
 
+findup -m $RPM_BUILD_ROOT%{_winedir}/fakedlls
+
 install -p tools/fnt2bdf $RPM_BUILD_ROOT%{_bindir}
 cp -a aclocal.m4 $RPM_BUILD_ROOT%{_aclocaldir}/wine.m4
 
@@ -349,21 +352,6 @@ vcr=mciviscd.drv
 MPEGVideo=mciqtz.drv
 EOF
 
-%if %{?debug:0}%{!?debug:1}
-echo "Strip executable binaries and shared object files."
-filelist=`find $RPM_BUILD_ROOT -type f ! -regex ".*ld-[0-9.]*so.*"`
-elfexelist=`echo $filelist | xargs -r file | \
-       awk '/ELF.*executable/ {print $1}' | cut -d: -f1`
-elfsharedlist=`echo $filelist | xargs -r file | \
-       awk '/LF.*shared object/ {print $1}' | cut -d: -f1`; \
-if [ -n "$elfexelist" ]; then \
-       strip -R .note -R .comment $elfexelist
-fi
-if [ -n "$elfsharedlist" ]; then
-       strip --strip-unneeded -R .note -R .comment $elfsharedlist
-fi
-%endif
-
 # /sbin/chstk -e $RPM_BUILD_ROOT%{_bindir}/wine
 
 dir=$(pwd)
@@ -473,7 +461,7 @@ fi
 %{_mandir}/man1/wine.1*
 %lang(de) %{_mandir}/de/man1/wine*.1*
 %lang(fr) %{_mandir}/fr/man1/wine*.1*
-%lang(pl) %{_mandir}/pl/man1/wine*.1*
+#%lang(pl) %{_mandir}/pl/man1/wine*.1*
 %{_mandir}/man1/msiexec.1*
 %{_mandir}/man1/wineboot.1*
 %{_mandir}/man1/winecfg.1*
This page took 0.177924 seconds and 4 git commands to generate.