diff options
author | François Andriot <albator78@libertysurf.fr> | 2014-03-16 13:00:13 +0100 |
---|---|---|
committer | François Andriot <albator78@libertysurf.fr> | 2014-03-16 13:00:13 +0100 |
commit | a221ed54aa985c004d35de3c9f47f575dcaafaba (patch) | |
tree | 15114e61b2c45512cf5903c2e0a498202e722c91 /redhat/tdeaccessibility | |
parent | a0837c0ccd4281fe21a97f284c8c06c1990d5f5e (diff) | |
download | tde-packaging-a221ed54aa985c004d35de3c9f47f575dcaafaba.tar.gz tde-packaging-a221ed54aa985c004d35de3c9f47f575dcaafaba.zip |
RPM packaging: update R14 packages
Diffstat (limited to 'redhat/tdeaccessibility')
-rw-r--r-- | redhat/tdeaccessibility/tdeaccessibility-14.0.0.spec | 14 |
1 files changed, 13 insertions, 1 deletions
diff --git a/redhat/tdeaccessibility/tdeaccessibility-14.0.0.spec b/redhat/tdeaccessibility/tdeaccessibility-14.0.0.spec index 5c6d2ff63..d47264b1a 100644 --- a/redhat/tdeaccessibility/tdeaccessibility-14.0.0.spec +++ b/redhat/tdeaccessibility/tdeaccessibility-14.0.0.spec @@ -59,6 +59,7 @@ BuildRequires: libxcb-devel BuildRequires: %{_lib}xcb-devel %endif +# X11 stuff %if 0%{?mgaversion} || 0%{?mdkversion} BuildRequires: %{_lib}xi-devel %if 0%{?mgaversion} >= 4 @@ -81,6 +82,13 @@ BuildRequires: libXau-devel BuildRequires: xorg-x11-devel %endif +# Broken PNG images +%if 0%{?mgaversion} >= 4 || 0%{?fedora} >= 20 +BuildRequires: kde-dev-scripts +BuildRequires: optipng +BuildRequires: advancecomp +%endif + Obsoletes: trinity-kdeaccessibility < %{version}-%{release} Provides: trinity-kdeaccessibility = %{version}-%{release} Obsoletes: trinity-kdeaccessibility-libs < %{version}-%{release} @@ -465,7 +473,7 @@ export PKG_CONFIG_PATH="%{tde_libdir}/pkgconfig" # Specific path for RHEL4 if [ -d /usr/X11R6 ]; then - export CXXFLAGS="${RPM_OPT_FLAGS} -I/usr/X11R6/include -L/usr/X11R6/%{_lib}" + export RPM_OPT_FLAGS="${RPM_OPT_FLAGS} -I/usr/X11R6/include -L/usr/X11R6/%{_lib}" fi %configure \ @@ -495,6 +503,10 @@ export PATH="%{tde_bindir}:${PATH}" %__rm -rf %{buildroot} %__make install DESTDIR=%{buildroot} +if [ -x /usr/bin/optimizegraphics ]; then + (cd %{?buildroot} && /usr/bin/optimizegraphics) +fi + %clean %__rm -rf %{buildroot} |