update url, own %{_kf5_datadir}/kf5/infopage, .spec cleanup, fix main/-libs deps

epel9
Rex Dieter 10 years ago
parent bb007c4df9
commit a4d54faf63

@ -2,10 +2,10 @@
Name: kf5-%{framework} Name: kf5-%{framework}
Version: 5.11.0 Version: 5.11.0
Release: 2%{?dist} Release: 3%{?dist}
Summary: KDE Frameworks 5 Tier 4 workspace and cross-framework integration plugins Summary: KDE Frameworks 5 Tier 4 workspace and cross-framework integration plugins
License: LGPLv2+ License: LGPLv2+
URL: http://www.kde.org URL: https://projects.kde.org/projects/frameworks/frameworkintegration
%global versiondir %(echo %{version} | cut -d. -f1-2) %global versiondir %(echo %{version} | cut -d. -f1-2)
%global revision %(echo %{version} | cut -d. -f3) %global revision %(echo %{version} | cut -d. -f3)
@ -38,6 +38,8 @@ BuildRequires: libXcursor-devel
Requires: kf5-filesystem Requires: kf5-filesystem
Requires: oxygen-fonts Requires: oxygen-fonts
# prior to 5.11.0-3, main pkg was multilib'd (due to arch'd -devel deps) -- rex
Obsoletes: %{name} < 5.11.0-3
Requires: %{name}-libs%{?_isa} = %{version}-%{release} Requires: %{name}-libs%{?_isa} = %{version}-%{release}
%description %description
@ -48,14 +50,12 @@ Applications do not need to link to this directly.
%package libs %package libs
Summary: Runtime libraries for %{name}. Summary: Runtime libraries for %{name}.
# last version of the main package before the split Requires: %{name} = %{version}-%{release}
Conflicts: %{name} < 5.3.0-2
%description libs %description libs
%{summary}. %{summary}.
%package devel %package devel
Summary: Development files for %{name} Summary: Development files for %{name}
Requires: %{name}%{?_isa} = %{version}-%{release}
Requires: %{name}-libs%{?_isa} = %{version}-%{release} Requires: %{name}-libs%{?_isa} = %{version}-%{release}
Requires: kf5-kiconthemes-devel Requires: kf5-kiconthemes-devel
Requires: kf5-kconfigwidgets-devel Requires: kf5-kconfigwidgets-devel
@ -68,14 +68,16 @@ developing applications that use %{name}.
%prep %prep
%autosetup -p1 -n %{framework}-%{version} %autosetup -p1 -n %{framework}-%{version}
%build %build
mkdir -p %{_target_platform} mkdir %{_target_platform}
pushd %{_target_platform} pushd %{_target_platform}
%{cmake_kf5} .. %{cmake_kf5} ..
popd 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 frameworkintegration5_qt --with-qt --all-name %find_lang frameworkintegration5_qt --with-qt --all-name
@ -83,8 +85,9 @@ make install/fast DESTDIR=%{buildroot} -C %{_target_platform}
%files -f frameworkintegration5_qt.lang %files -f frameworkintegration5_qt.lang
%doc COPYING.LIB README.md %doc COPYING.LIB README.md
%{_kf5_datadir}/kf5/infopage/* %{_kf5_datadir}/kf5/infopage/
%{_kf5_datadir}/knotifications5/plasma_workspace.notifyrc %{_kf5_datadir}/knotifications5/plasma_workspace.notifyrc
# move these to -libs? or just fold -libs back into main pkg ? -- rex
%{_kf5_plugindir}/FrameworkIntegrationPlugin.so %{_kf5_plugindir}/FrameworkIntegrationPlugin.so
%{_kf5_qtplugindir}/platformthemes/KDEPlatformTheme.so %{_kf5_qtplugindir}/platformthemes/KDEPlatformTheme.so
@ -96,12 +99,15 @@ make install/fast DESTDIR=%{buildroot} -C %{_target_platform}
%files devel %files devel
%{_kf5_includedir}/frameworkintegration_version.h %{_kf5_includedir}/frameworkintegration_version.h
%{_kf5_includedir}/KStyle %{_kf5_includedir}/KStyle/
%{_kf5_libdir}/libKF5Style.so %{_kf5_libdir}/libKF5Style.so
%{_kf5_libdir}/cmake/KF5FrameworkIntegration %{_kf5_libdir}/cmake/KF5FrameworkIntegration/
%changelog %changelog
* Thu Jul 09 2015 Rex Dieter <rdieter@fedoraproject.org> 5.11.0-3
- update url, own %%{_kf5_datadir}/kf5/infopage, .spec cleanup, fix main/-libs deps
* Wed Jun 17 2015 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 5.11.0-2 * Wed Jun 17 2015 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 5.11.0-2
- Rebuilt for https://fedoraproject.org/wiki/Fedora_23_Mass_Rebuild - Rebuilt for https://fedoraproject.org/wiki/Fedora_23_Mass_Rebuild

Loading…
Cancel
Save