summaryrefslogtreecommitdiffstats
path: root/redhat/applications/kpicosim
diff options
context:
space:
mode:
Diffstat (limited to 'redhat/applications/kpicosim')
-rw-r--r--redhat/applications/kpicosim/kpicosim-14.0.0.spec16
1 files changed, 12 insertions, 4 deletions
diff --git a/redhat/applications/kpicosim/kpicosim-14.0.0.spec b/redhat/applications/kpicosim/kpicosim-14.0.0.spec
index a2481cb16..4e3b0f149 100644
--- a/redhat/applications/kpicosim/kpicosim-14.0.0.spec
+++ b/redhat/applications/kpicosim/kpicosim-14.0.0.spec
@@ -42,9 +42,11 @@ BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n)
Source0: %{name}-%{tde_version}%{?preversion:~%{preversion}}.tar.gz
BuildRequires: trinity-tqtinterface-devel >= %{tde_version}
+BuildRequires: trinity-arts-devel >= 1:1.5.10
BuildRequires: trinity-tdelibs-devel >= %{tde_version}
BuildRequires: trinity-tdebase-devel >= %{tde_version}
BuildRequires: desktop-file-utils
+
BuildRequires: gettext
@@ -73,6 +75,7 @@ unset QTDIR QTINC QTLIB
export PATH="%{tde_bindir}:${PATH}"
export LDFLAGS="-L%{tde_libdir} -I%{tde_includedir}"
+# Warning: --enable-final causes FTBFS
%configure \
--prefix=%{tde_prefix} \
--exec-prefix=%{tde_prefix} \
@@ -81,8 +84,14 @@ export LDFLAGS="-L%{tde_libdir} -I%{tde_includedir}"
--libdir=%{tde_libdir} \
--mandir=%{tde_mandir} \
--includedir=%{tde_tdeincludedir} \
- --disable-rpath \
- --with-extra-includes=:%{tde_tdeincludedir}
+ \
+ --disable-dependency-tracking \
+ --disable-debug \
+ --enable-new-ldflags \
+ --disable-final \
+ --enable-closure \
+ --enable-rpath \
+ --enable-gcc-hidden-visibility
# SMP safe !
%__make %{?_smp_mflags}
@@ -94,8 +103,7 @@ export PATH="%{tde_bindir}:${PATH}"
%__make install DESTDIR=%{buildroot}
-%find_lang %{tde_pkg} || touch %{tde_pkg}.lang
-
+%find_lang %{tde_pkg}
%clean