|
|
|
@ -1,4 +1,3 @@
|
|
|
|
|
#%define snapshot 20140205
|
|
|
|
|
%define framework kdesignerplugin
|
|
|
|
|
|
|
|
|
|
Name: kf5-%{framework}
|
|
|
|
@ -8,12 +7,14 @@ Summary: KDE Frameworks 5 Tier 3 integration module for Qt Designer
|
|
|
|
|
|
|
|
|
|
License: LGPLv2+
|
|
|
|
|
URL: http://www.kde.org
|
|
|
|
|
# git archive --format=tar --prefix=%{framework}-%{version}/ \
|
|
|
|
|
# --remote=git://anongit.kde.org/%{framework}.git master | \
|
|
|
|
|
# bzip2 -c > %{name}-%{version}-%{snapshot}git.tar.bz2
|
|
|
|
|
#Source0: %{name}-%{version}-%{snapshot}git.tar.bz2
|
|
|
|
|
Source0: http://download.kde.org/stable/frameworks/%{version}/%{framework}-%{version}.tar.xz
|
|
|
|
|
|
|
|
|
|
%global revision %(echo %{version} | cut -d. -f3)
|
|
|
|
|
%if %{revision} >= 50
|
|
|
|
|
%global stable unstable
|
|
|
|
|
%else
|
|
|
|
|
%global stable stable
|
|
|
|
|
%endif
|
|
|
|
|
Source0: http://download.kde.org/%{stable}/frameworks/%{version}/%{framework}-%{version}.tar.xz
|
|
|
|
|
|
|
|
|
|
BuildRequires: kf5-rpm-macros
|
|
|
|
|
BuildRequires: extra-cmake-modules
|
|
|
|
@ -42,7 +43,6 @@ BuildRequires: kf5-kxmlgui-devel
|
|
|
|
|
BuildRequires: kf5-sonnet-devel
|
|
|
|
|
BuildRequires: kf5-kdewebkit-devel
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
Requires: kf5-filesystem
|
|
|
|
|
|
|
|
|
|
%description
|
|
|
|
@ -51,7 +51,6 @@ the widgets provided by various KDE frameworks, as well as a utility
|
|
|
|
|
(kgendesignerplugin) that can be used to generate other such plugins
|
|
|
|
|
from ini-style description files.
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
%package devel
|
|
|
|
|
Summary: Development files for %{name}
|
|
|
|
|
Requires: %{name}%{?_isa} = %{version}-%{release}
|
|
|
|
@ -74,6 +73,7 @@ Requires: kf5-kdewebkit-devel
|
|
|
|
|
The %{name}-devel package contains libraries and header files for
|
|
|
|
|
developing applications that use %{name}.
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
%prep
|
|
|
|
|
%setup -q -n %{framework}-%{version}
|
|
|
|
|
|
|
|
|
@ -89,11 +89,10 @@ make %{?_smp_mflags} -C %{_target_platform}
|
|
|
|
|
%make_install -C %{_target_platform}
|
|
|
|
|
%find_lang kdesignerplugin5_qt --with-qt --all-name
|
|
|
|
|
|
|
|
|
|
%post -p /sbin/ldconfig
|
|
|
|
|
|
|
|
|
|
%post -p /sbin/ldconfig
|
|
|
|
|
%postun -p /sbin/ldconfig
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
%files -f kdesignerplugin5_qt.lang
|
|
|
|
|
%doc COPYING.LIB README.md
|
|
|
|
|
%{_kf5_bindir}/kgendesignerplugin
|
|
|
|
|