|
|
@ -45,7 +45,7 @@ BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n)
|
|
|
|
|
|
|
|
|
|
|
|
Source0: %{name}-%{tde_version}%{?preversion:~%{preversion}}.tar.gz
|
|
|
|
Source0: %{name}-%{tde_version}%{?preversion:~%{preversion}}.tar.gz
|
|
|
|
Source1: kmymoneytitlelabel.png
|
|
|
|
Source1: kmymoneytitlelabel.png
|
|
|
|
Source2: 23011-qt-sqlite3-0.2.tar.gz
|
|
|
|
Patch0: kmymoney-sqlite3-detection.diff
|
|
|
|
|
|
|
|
|
|
|
|
BuildRequires: trinity-tqtinterface-devel >= %{tde_version}
|
|
|
|
BuildRequires: trinity-tqtinterface-devel >= %{tde_version}
|
|
|
|
BuildRequires: trinity-arts-devel >= 1:1.5.10
|
|
|
|
BuildRequires: trinity-arts-devel >= 1:1.5.10
|
|
|
@ -75,6 +75,10 @@ BuildRequires: opensp-devel
|
|
|
|
BuildRequires: openjade-devel
|
|
|
|
BuildRequires: openjade-devel
|
|
|
|
%endif
|
|
|
|
%endif
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
# TQT3-sqlite3
|
|
|
|
|
|
|
|
BuildRequires: trinity-tqt3-sqlite3
|
|
|
|
|
|
|
|
Requires: trinity-tqt3-sqlite3
|
|
|
|
|
|
|
|
|
|
|
|
Requires: %{name}-common == %{version}-%{release}
|
|
|
|
Requires: %{name}-common == %{version}-%{release}
|
|
|
|
|
|
|
|
|
|
|
|
%description
|
|
|
|
%description
|
|
|
@ -111,9 +115,9 @@ This package contains development files needed for KMyMoney plugins.
|
|
|
|
|
|
|
|
|
|
|
|
%prep
|
|
|
|
%prep
|
|
|
|
%setup -q -n %{name}-%{tde_version}%{?preversion:~%{preversion}}
|
|
|
|
%setup -q -n %{name}-%{tde_version}%{?preversion:~%{preversion}}
|
|
|
|
|
|
|
|
%patch0 -p1 -b .sqlite3
|
|
|
|
|
|
|
|
|
|
|
|
%__install -m644 %{SOURCE1} kmymoney2/widgets/
|
|
|
|
%__install -m644 %{SOURCE1} kmymoney2/widgets/
|
|
|
|
%__install -m644 %{SOURCE2} .
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
%__cp "/usr/share/aclocal/libtool.m4" "admin/libtool.m4.in"
|
|
|
|
%__cp "/usr/share/aclocal/libtool.m4" "admin/libtool.m4.in"
|
|
|
|
%__cp "/usr/share/libtool/config/ltmain.sh" "admin/ltmain.sh" || %__cp "/usr/share/libtool/ltmain.sh" "admin/ltmain.sh"
|
|
|
|
%__cp "/usr/share/libtool/config/ltmain.sh" "admin/ltmain.sh" || %__cp "/usr/share/libtool/ltmain.sh" "admin/ltmain.sh"
|
|
|
@ -130,9 +134,6 @@ export PKG_CONFIG_PATH="%{tde_libdir}/pkgconfig:${PKG_CONFIG_PATH}"
|
|
|
|
grep -v "^#~" po/it.po >/tmp/it.po && mv -f /tmp/it.po po/it.po
|
|
|
|
grep -v "^#~" po/it.po >/tmp/it.po && mv -f /tmp/it.po po/it.po
|
|
|
|
%endif
|
|
|
|
%endif
|
|
|
|
|
|
|
|
|
|
|
|
# Needed for SQLITE3 plugin installation
|
|
|
|
|
|
|
|
export QTDIR=%{_libdir}/tqt3
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
# Warning: --enable-final causes FTBFS
|
|
|
|
# Warning: --enable-final causes FTBFS
|
|
|
|
%configure \
|
|
|
|
%configure \
|
|
|
|
--prefix=%{tde_prefix} \
|
|
|
|
--prefix=%{tde_prefix} \
|
|
|
@ -158,7 +159,7 @@ export QTDIR=%{_libdir}/tqt3
|
|
|
|
--enable-ofxplugin \
|
|
|
|
--enable-ofxplugin \
|
|
|
|
--enable-ofxbanking \
|
|
|
|
--enable-ofxbanking \
|
|
|
|
--enable-qtdesigner \
|
|
|
|
--enable-qtdesigner \
|
|
|
|
--enable-sqlite3
|
|
|
|
--disable-sqlite3
|
|
|
|
|
|
|
|
|
|
|
|
%__make %{?_smp_mflags}
|
|
|
|
%__make %{?_smp_mflags}
|
|
|
|
|
|
|
|
|
|
|
@ -223,8 +224,6 @@ done
|
|
|
|
%{tde_mandir}/man1/kmymoney2.*
|
|
|
|
%{tde_mandir}/man1/kmymoney2.*
|
|
|
|
%{tde_datadir}/apps/kmm_ofximport/kmm_ofximport.rc
|
|
|
|
%{tde_datadir}/apps/kmm_ofximport/kmm_ofximport.rc
|
|
|
|
%{tde_datadir}/services/kmm_ofximport.desktop
|
|
|
|
%{tde_datadir}/services/kmm_ofximport.desktop
|
|
|
|
# SQLITE3 plugin
|
|
|
|
|
|
|
|
%{_libdir}/tqt3/plugins/sqldrivers/libsqlite3*.so
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
%files devel
|
|
|
|
%files devel
|
|
|
|
%defattr(-,root,root,-)
|
|
|
|
%defattr(-,root,root,-)
|
|
|
|