|
|
@ -17,9 +17,10 @@ URL: https://projects.kde.org/projects/frameworks/kpeople
|
|
|
|
%endif
|
|
|
|
%endif
|
|
|
|
Source0: http://download.kde.org/%{stable}/frameworks/%{versiondir}/%{framework}-%{version}.tar.xz
|
|
|
|
Source0: http://download.kde.org/%{stable}/frameworks/%{versiondir}/%{framework}-%{version}.tar.xz
|
|
|
|
|
|
|
|
|
|
|
|
## Temporary, see http://bugzilla.redhat.com/1208946
|
|
|
|
# use non-conflicting libkpeople5 translation catalog
|
|
|
|
Conflicts: libkpeople < 1.0
|
|
|
|
Patch1: kpeople-catalog.patch
|
|
|
|
## Once ktp-kf5 stack is ready, switch Conflicts to Obsoletes
|
|
|
|
|
|
|
|
|
|
|
|
## Once ktp-kf5 stack is ready, can consider Obsoletes
|
|
|
|
#Obsoletes: libkpeople < 1.0
|
|
|
|
#Obsoletes: libkpeople < 1.0
|
|
|
|
|
|
|
|
|
|
|
|
BuildRequires: kf5-rpm-macros
|
|
|
|
BuildRequires: kf5-rpm-macros
|
|
|
@ -53,8 +54,17 @@ developing applications that use %{name}.
|
|
|
|
%prep
|
|
|
|
%prep
|
|
|
|
%setup -q -n %{framework}-%{version}
|
|
|
|
%setup -q -n %{framework}-%{version}
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
%patch1 -p1 -b .catalog
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
for po in po/*/libkpeople.po ; do
|
|
|
|
|
|
|
|
pushd $(dirname $po)
|
|
|
|
|
|
|
|
mv libkpeople.po libkpeople5.po
|
|
|
|
|
|
|
|
popd
|
|
|
|
|
|
|
|
done
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
%build
|
|
|
|
%build
|
|
|
|
mkdir -p %{_target_platform}
|
|
|
|
mkdir %{_target_platform}
|
|
|
|
pushd %{_target_platform}
|
|
|
|
pushd %{_target_platform}
|
|
|
|
%{cmake_kf5} .. \
|
|
|
|
%{cmake_kf5} .. \
|
|
|
|
-DENABLE_EXAMPLES:BOOL=OFF
|
|
|
|
-DENABLE_EXAMPLES:BOOL=OFF
|
|
|
@ -62,6 +72,7 @@ popd
|
|
|
|
|
|
|
|
|
|
|
|
make %{?_smp_mflags} -C %{_target_platform}
|
|
|
|
make %{?_smp_mflags} -C %{_target_platform}
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
%install
|
|
|
|
%install
|
|
|
|
make install/fast DESTDIR=%{buildroot} -C %{_target_platform}
|
|
|
|
make install/fast DESTDIR=%{buildroot} -C %{_target_platform}
|
|
|
|
%find_lang kpeople5_qt --with-qt --all-name
|
|
|
|
%find_lang kpeople5_qt --with-qt --all-name
|
|
|
@ -88,7 +99,12 @@ make install/fast DESTDIR=%{buildroot} -C %{_target_platform}
|
|
|
|
%{_kf5_archdatadir}/mkspecs/modules/qt_KPeople.pri
|
|
|
|
%{_kf5_archdatadir}/mkspecs/modules/qt_KPeople.pri
|
|
|
|
%{_kf5_archdatadir}/mkspecs/modules/qt_KPeopleWidgets.pri
|
|
|
|
%{_kf5_archdatadir}/mkspecs/modules/qt_KPeopleWidgets.pri
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
%changelog
|
|
|
|
%changelog
|
|
|
|
|
|
|
|
* Tue Apr 07 2015 Rex Dieter <rdieter@fedoraproject.org> - 5.8.0-3
|
|
|
|
|
|
|
|
- use non-conflicting libkpeople5 translation catalog (#1208946)
|
|
|
|
|
|
|
|
- minor .spec cosmetics
|
|
|
|
|
|
|
|
|
|
|
|
* Sat Apr 04 2015 Rex Dieter <rdieter@fedoraproject.org> 5.8.0-2
|
|
|
|
* Sat Apr 04 2015 Rex Dieter <rdieter@fedoraproject.org> 5.8.0-2
|
|
|
|
- Conflicts: libkpeople (#1208946)
|
|
|
|
- Conflicts: libkpeople (#1208946)
|
|
|
|
|
|
|
|
|
|
|
|