Do not build the main package on F21-

* Fri Aug 22 2014 Kevin Kofler <Kevin@tigcc.ticalc.org> - 5.1.0-4
- Do not build the main package on F21-

As per IRC discussions. You will want this rebuilt with
"%global build_main_package 1" in the Plasma 5 Copr.
epel9
Kevin Kofler 11 years ago
parent 9297eaf036
commit 14eacf690d

@ -1,9 +1,13 @@
%define framework kactivities
%if 0%{?fedora} > 21
%global build_main_package 1
%endif
Name: kf5-%{framework}
Summary: A KDE Frameworks 5 Tier 3 to organize user work into separate activities
Version: 5.1.0
Release: 3%{?dist}
Release: 4%{?dist}
License: GPLv2+ and LGPLv2+
URL: http://www.kde.org
@ -41,7 +45,7 @@ consumer, application adding information to them or as an activity manager.
%package libs
Summary: Libraries fro KActivities framework
Summary: Libraries for KActivities framework
Requires: kf5-filesystem
%description libs
%{summary}.
@ -69,18 +73,30 @@ make %{?_smp_mflags} -C %{_target_platform}
make install/fast DESTDIR=%{buildroot} -C %{_target_platform}
%find_lang kactivities5_qt --with-qt --all-name
%if !0%{?build_main_package}
rm -f %{buildroot}%{_kf5_bindir}/kactivitymanagerd
rm -f %{buildroot}%{_kf5_datadir}/kservices5/kactivitymanagerd.desktop
rm -f %{buildroot}%{_kf5_datadir}/kservicetypes5/kactivitymanagerd-plugin.desktop
rm -rf %{buildroot}%{_kf5_qtplugindir}/kactivitymanagerd/
%endif
%post libs -p /sbin/ldconfig
%postun libs -p /sbin/ldconfig
%files
%if 0%{?build_main_package}
%doc README README.md README.packagers README.developers MAINTAINER
%{_kf5_bindir}/kactivitymanagerd
%{_kf5_datadir}/kservices5/kactivitymanagerd.desktop
%{_kf5_datadir}/kservicetypes5/kactivitymanagerd-plugin.desktop
%{_kf5_qtplugindir}/kactivitymanagerd/
%endif
%files libs -f kactivities5_qt.lang
%if !0%{?build_main_package}
%doc README README.md README.packagers README.developers MAINTAINER
%endif
%{_kf5_libdir}/libKF5Activities.so.*
%{_kf5_qmldir}/org/kde/activities/
@ -94,6 +110,9 @@ make install/fast DESTDIR=%{buildroot} -C %{_target_platform}
%changelog
* Fri Aug 22 2014 Kevin Kofler <Kevin@tigcc.ticalc.org> - 5.1.0-4
- Do not build the main package on F21-
* Fri Aug 22 2014 Daniel Vrátil <dvratil@redhat.com> - 5.1.0-3
- Obsoletes, rather than Conflicts with kactivities

Loading…
Cancel
Save