gtk3.spec revision 20903
#
# spec file for package gtk3
#
# This file and all modifications and additions to the pristine
# package are under the same license as the package itself.
#
#
Release: 1
#Source3: %{name}-po-sun-%{po_sun_version}.tar.bz2
#owner:erwannc date:2000-00-00 type:feature
#owner:erwannc date:2003-07-11 type:feature
#owner:erwannc date:2004-05-17 bugster:5035382 type:bug
#owner:erwannc date:2004-08-12 type:feature
#owner:erwannc date:2004-08-12 bugzilla:74223 type:feature
#owner:laca date:2004-09-18 type:feature
#owner:erwannc date:2006-05-01 type:feature
# date:2009-04-22 owner:gheet type:bug bugster:6795517
# date:2009-03-17 doo:7438 owner:erwannc type:bug
# date:2008-01-11 bugster:6630867 bugzilla:505857 owner:erwannc type:bug
# Note the dlopen-medialib patch does not need to be applied to GTK3
# since GTK3 no longer uses mediaLib at all. The dlopen-medialib patch
# is now only applied to GTK2.
# date:2009-09-25 owner:gheet type:branding doo:11575
# date:2009-10-11 owner:gheet type:bug doo:11830
# date:2010-01-07 owner:gheet type:bug doo:13625
# date:2011-08-15 owner:gheet type:bug bugster:7076227
# date:2012-03-27 owner:padraig type:bug bugster:7149817
# date:2010-07-16 owner:yippi type:branding
# date:2010-07-16 owner:yippi type:bug bugzilla:654720
# This just worksaround a compile issue and should be fixed properly.
# date:2012-05-02 owner:yippi type:bug
%prep
# Fixes build error. Solaris msgfmt does not have '-c'.
sed -e 's/$(GMSGFMT) -c/$(GMSGFMT)/g' $f > $f$$
mv $f$$ $f
d=`dirname $f`
done
%if %build_l10n
# workaround for bugster 6581452, bugzilla 457863
#sh -x %SOURCE4 --disable-gnu-extensions
#bzcat %SOURCE3 | tar xf -
#cd po-sun; make; cd ..
#%patch1 -p1
#%patch2 -p1
#%ifos solaris
#%patch4 -p1
#%endif
#%patch5 -p1
#%patch6 -p1
#%patch7 -p1
#%patch11 -p1
#%patch12 -p1
#%patch14 -p1
fi
%else
CPUS=1
fi
automake-1.11 -a -c -f
export LDFLAGS="%_ldflags"
--sysconfdir=%{_sysconfdir} \
# Build needed uninstalled.pc file
#gmake gdk-x11-2.0-uninstalled.pc
# this is broken in 2.19.6
#gmake -j $CPUS
#Copy zh_HK from zh_TW
#Fixes bug 4930405
install --mode=0644 $RPM_BUILD_ROOT%{_datadir}/locale/zh_TW/LC_MESSAGES/*.mo $RPM_BUILD_ROOT%{_datadir}/locale/zh_HK/LC_MESSAGES/
%post
#If this is the last version of the package remove the config files
if [ $1 = 0 ]
then
fi