|
|
|
@ -2,11 +2,11 @@
|
|
|
|
|
|
|
|
|
|
Name: kf5-%{framework}
|
|
|
|
|
Version: 5.18.0
|
|
|
|
|
Release: 1%{?dist}
|
|
|
|
|
Release: 2%{?dist}
|
|
|
|
|
Summary: KDE Frameworks 5 Tier 2 library to load and install packages as plugins
|
|
|
|
|
|
|
|
|
|
License: LGPLv2+
|
|
|
|
|
URL: https://projects.kde.org/projects/frameworks/kpackage
|
|
|
|
|
URL: https://projects.kde.org/kpackage
|
|
|
|
|
|
|
|
|
|
%global versiondir %(echo %{version} | cut -d. -f1-2)
|
|
|
|
|
%global revision %(echo %{version} | cut -d. -f3)
|
|
|
|
@ -17,15 +17,14 @@ URL: https://projects.kde.org/projects/frameworks/kpackage
|
|
|
|
|
%endif
|
|
|
|
|
Source0: http://download.kde.org/%{stable}/frameworks/%{versiondir}/%{framework}-%{version}.tar.xz
|
|
|
|
|
|
|
|
|
|
BuildRequires: kf5-rpm-macros >= %{version}
|
|
|
|
|
BuildRequires: extra-cmake-modules >= %{version}
|
|
|
|
|
BuildRequires: qt5-qtbase-devel
|
|
|
|
|
|
|
|
|
|
BuildRequires: kf5-karchive-devel >= %{version}
|
|
|
|
|
BuildRequires: kf5-ki18n-devel >= %{version}
|
|
|
|
|
BuildRequires: kf5-kcoreaddons-devel >= %{version}
|
|
|
|
|
BuildRequires: kf5-kconfig-devel >= %{version}
|
|
|
|
|
BuildRequires: kf5-kcoreaddons-devel >= %{version}
|
|
|
|
|
BuildRequires: kf5-kdoctools-devel >= %{version}
|
|
|
|
|
BuildRequires: kf5-ki18n-devel >= %{version}
|
|
|
|
|
BuildRequires: kf5-rpm-macros >= %{version}
|
|
|
|
|
BuildRequires: qt5-qtbase-devel
|
|
|
|
|
|
|
|
|
|
Requires: kf5-filesystem >= %{version}
|
|
|
|
|
|
|
|
|
@ -33,16 +32,15 @@ Requires: kf5-filesystem >= %{version}
|
|
|
|
|
KDE Frameworks 5 Tier 2 library to load and install non-binary packages as
|
|
|
|
|
if they were plugins.
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
%package devel
|
|
|
|
|
Summary: Development files for %{name}
|
|
|
|
|
Requires: %{name}%{?_isa} = %{version}-%{release}
|
|
|
|
|
Requires: kf5-kcoreaddons-devel >= %{version}
|
|
|
|
|
|
|
|
|
|
%description devel
|
|
|
|
|
The %{name}-devel package contains libraries and header files for
|
|
|
|
|
developing applications that use %{name}.
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
%prep
|
|
|
|
|
%setup -q -n %{framework}-%{version}
|
|
|
|
|
|
|
|
|
@ -58,6 +56,7 @@ make %{?_smp_mflags} -C %{_target_platform}
|
|
|
|
|
|
|
|
|
|
%install
|
|
|
|
|
make install/fast DESTDIR=%{buildroot} -C %{_target_platform}
|
|
|
|
|
|
|
|
|
|
%find_lang kpackage5_qt --with-qt --with-man --all-name
|
|
|
|
|
|
|
|
|
|
# create/own plugindir
|
|
|
|
@ -68,7 +67,8 @@ mkdir -p %{buildroot}%{_kf5_qtplugindir}/kpackage/packagestructure/
|
|
|
|
|
%postun -p /sbin/ldconfig
|
|
|
|
|
|
|
|
|
|
%files -f kpackage5_qt.lang
|
|
|
|
|
%doc COPYING.LIB README.md
|
|
|
|
|
%doc README.md
|
|
|
|
|
%license COPYING.LIB
|
|
|
|
|
%{_kf5_libdir}/libKF5Package.so.*
|
|
|
|
|
%{_kf5_qtplugindir}/kpackage/
|
|
|
|
|
%{_kf5_bindir}/kpackagetool5
|
|
|
|
@ -83,6 +83,9 @@ mkdir -p %{buildroot}%{_kf5_qtplugindir}/kpackage/packagestructure/
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
%changelog
|
|
|
|
|
* Thu Jan 14 2016 Rex Dieter <rdieter@fedoraproject.org> 5.18.0-2
|
|
|
|
|
- cosmetics, update URL, use %%license
|
|
|
|
|
|
|
|
|
|
* Sun Jan 03 2016 Daniel Vrátil <dvratil@fedoraproject.org> - 5.18.0-1
|
|
|
|
|
- KDE Frameworks 5.18.0
|
|
|
|
|
|
|
|
|
|