|
|
|
@ -1,6 +1,6 @@
|
|
|
|
|
Name: kmenuedit
|
|
|
|
|
Version: 5.3.1
|
|
|
|
|
Release: 1%{?dist}
|
|
|
|
|
Release: 2%{?dist}
|
|
|
|
|
Summary: KDE menu editor
|
|
|
|
|
|
|
|
|
|
License: GPLv2+
|
|
|
|
@ -28,10 +28,13 @@ BuildRequires: kf5-kio-devel
|
|
|
|
|
BuildRequires: kf5-sonnet-devel
|
|
|
|
|
BuildRequires: kf5-kdelibs4support-devel
|
|
|
|
|
BuildRequires: kf5-kdoctools-devel
|
|
|
|
|
BuildRequires: kf5-kinit-devel >= 5.10.0-3
|
|
|
|
|
|
|
|
|
|
BuildRequires: desktop-file-utils
|
|
|
|
|
|
|
|
|
|
Requires: kf5-filesystem
|
|
|
|
|
# libkdeinit5_*
|
|
|
|
|
%{?kf5_kinit_requires}
|
|
|
|
|
|
|
|
|
|
# TODO: Remove once kmenuedit is split from kde-workspace
|
|
|
|
|
Conflicts: kde-workspace < 5.0.0-1
|
|
|
|
@ -39,25 +42,29 @@ Conflicts: kde-workspace < 5.0.0-1
|
|
|
|
|
%description
|
|
|
|
|
%{summary}.
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
%prep
|
|
|
|
|
%setup -q -n %{name}-%{version}
|
|
|
|
|
|
|
|
|
|
%build
|
|
|
|
|
|
|
|
|
|
mkdir -p %{_target_platform}
|
|
|
|
|
%build
|
|
|
|
|
mkdir %{_target_platform}
|
|
|
|
|
pushd %{_target_platform}
|
|
|
|
|
%{cmake_kf5} ..
|
|
|
|
|
popd
|
|
|
|
|
|
|
|
|
|
make %{?_smp_mflags} -C %{_target_platform}
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
%install
|
|
|
|
|
make install/fast DESTDIR=%{buildroot} -C %{_target_platform}
|
|
|
|
|
%find_lang kmenuedit5 --with-qt --with-kde --all-name
|
|
|
|
|
%find_lang kmenuedit5 --with-qt --all-name
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
%check
|
|
|
|
|
desktop-file-validate %{buildroot}%{_datadir}/applications/org.kde.kmenuedit.desktop
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
%post
|
|
|
|
|
/bin/touch --no-create %{_datadir}/icons/hicolor &>/dev/null || :
|
|
|
|
|
|
|
|
|
@ -74,14 +81,24 @@ fi
|
|
|
|
|
%doc COPYING COPYING.DOC
|
|
|
|
|
%{_bindir}/kmenuedit
|
|
|
|
|
%{_kf5_libdir}/libkdeinit5_kmenuedit.so
|
|
|
|
|
%{_datadir}/kmenuedit
|
|
|
|
|
%{_datadir}/kmenuedit/
|
|
|
|
|
%{_datadir}/applications/org.kde.kmenuedit.desktop
|
|
|
|
|
%{_datadir}/icons/hicolor/*/apps/kmenuedit.png
|
|
|
|
|
%{_kf5_datadir}/kxmlgui5/kmenuedit
|
|
|
|
|
%{_docdir}/HTML/*/kmenuedit
|
|
|
|
|
%{_datadir}/icons/hicolor/*/apps/kmenuedit.*
|
|
|
|
|
%{_kf5_datadir}/kxmlgui5/kmenuedit/
|
|
|
|
|
%lang(ca) %{_docdir}/HTML/ca/kmenuedit/
|
|
|
|
|
%lang(de) %{_docdir}/HTML/de/kmenuedit/
|
|
|
|
|
%lang(en) %{_docdir}/HTML/en/kmenuedit/
|
|
|
|
|
%lang(it) %{_docdir}/HTML/it/kmenuedit/
|
|
|
|
|
%lang(nl) %{_docdir}/HTML/nl/kmenuedit/
|
|
|
|
|
%lang(pt_BR) %{_docdir}/HTML/pt_BR/kmenuedit/
|
|
|
|
|
%lang(sv) %{_docdir}/HTML/sv/kmenuedit/
|
|
|
|
|
%lang(uk) %{_docdir}/HTML/uk/kmenuedit/
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
%changelog
|
|
|
|
|
* Tue Jun 02 2015 Rex Dieter <rdieter@fedoraproject.org> 5.3.1-2
|
|
|
|
|
- +%%{kf5_kinit_requires}, %lang'ify docs, .spec cosmetics
|
|
|
|
|
|
|
|
|
|
* Tue May 26 2015 Daniel Vrátil <dvratil@redhat.com> - 5.3.1-1
|
|
|
|
|
- Plasma 5.3.1
|
|
|
|
|
|
|
|
|
|