97 lines
2.9 KiB
RPMSpec
97 lines
2.9 KiB
RPMSpec
%define majver %(echo %version | cut -d. -f1-2)
|
|
|
|
Name: kmenuedit
|
|
Version: 5.5.4
|
|
Release: 1mamba
|
|
Summary: KDE Frameworks 5 menu editor
|
|
Group: Graphical Desktop/Applications/Configuration
|
|
Vendor: openmamba
|
|
Distribution: openmamba
|
|
Packager: Silvan Calarco <silvan.calarco@mambasoft.it>
|
|
URL: http://www.kde.org
|
|
Source: http://download.kde.org/stable/plasma/%{version}/kmenuedit-%{version}.tar.xz
|
|
# Source: http://download.kde.org/stable/frameworks/%{majver}/...-%{version}.tar.xz
|
|
License: GPL
|
|
## AUTOBUILDREQ-BEGIN
|
|
BuildRequires: glibc-devel
|
|
BuildRequires: libgcc
|
|
BuildRequires: libkauth-devel
|
|
BuildRequires: libkbookmarks-devel
|
|
BuildRequires: libkcodecs-devel
|
|
BuildRequires: libkcompletion-devel
|
|
BuildRequires: libkconfig-devel
|
|
BuildRequires: libkconfigwidgets-devel
|
|
BuildRequires: libkcoreaddons-devel
|
|
BuildRequires: libkcrash-devel
|
|
BuildRequires: libkdbusaddons-devel
|
|
BuildRequires: libkdelibs4support-devel
|
|
BuildRequires: libkguiaddons-devel
|
|
BuildRequires: libki18n-devel
|
|
BuildRequires: libkiconthemes-devel
|
|
BuildRequires: libkio-devel
|
|
BuildRequires: libkitemviews-devel
|
|
BuildRequires: libkjobwidgets-devel
|
|
BuildRequires: libknotifications-devel
|
|
BuildRequires: libkparts-devel
|
|
BuildRequires: libkservice-devel
|
|
BuildRequires: libktextwidgets-devel
|
|
BuildRequires: libkunitconversion-devel
|
|
BuildRequires: libkwidgetsaddons-devel
|
|
BuildRequires: libkwindowsystem-devel
|
|
BuildRequires: libkxmlgui-devel
|
|
BuildRequires: libqt5-devel
|
|
BuildRequires: libsolid-devel
|
|
BuildRequires: libsonnet-devel
|
|
BuildRequires: libstdc++6-devel
|
|
## AUTOBUILDREQ-END
|
|
BuildRequires: cmake
|
|
BuildRequires: rpm-macros-kde5
|
|
BuildRequires: extra-cmake-modules
|
|
BuildRoot: %{_tmppath}/%{name}-%{version}-root
|
|
|
|
%description
|
|
KDE Frameworks 5 menu editor.
|
|
|
|
%debug_package
|
|
|
|
%prep
|
|
%setup -q
|
|
|
|
%build
|
|
%cmake_kde5 -d build
|
|
%make
|
|
|
|
%install
|
|
[ "%{buildroot}" != / ] && rm -rf "%{buildroot}"
|
|
%makeinstall -C build
|
|
|
|
%find_lang %{name}5_qt --with-qt --all-name || touch %{name}5_qt.lang
|
|
|
|
%clean
|
|
[ "%{buildroot}" != / ] && rm -rf "%{buildroot}"
|
|
|
|
%files -f %{name}5_qt.lang
|
|
%defattr(-,root,root)
|
|
%{_bindir}/kmenuedit
|
|
%{_libdir}/libkdeinit5_kmenuedit.so
|
|
%{_datadir}/applications/org.kde.kmenuedit.desktop
|
|
%lang(ca) %{_datadir}/doc/HTML/ca/*
|
|
%lang(de) %{_datadir}/doc/HTML/de/kmenuedit/*
|
|
%lang(en) %{_datadir}/doc/HTML/en/kmenuedit/*
|
|
%lang(it) %{_datadir}/doc/HTML/it/kmenuedit/*
|
|
%lang(nl) %{_datadir}/doc/HTML/nl/kmenuedit/*
|
|
%lang(pt_BR) %{_datadir}/doc/HTML/pt_BR/kmenuedit/*
|
|
%lang(sv) %{_datadir}/doc/HTML/sv/kmenuedit/*
|
|
%lang(uk) %{_datadir}/doc/HTML/uk/kmenuedit/*
|
|
%{_datadir}/icons/hicolor/*/apps/kmenuedit.png
|
|
%{_datadir}/kmenuedit/icons/hicolor/*/actions/*.png
|
|
%{_datadir}/kxmlgui5/kmenuedit/kmenueditui.rc
|
|
%doc COPYING COPYING.DOC
|
|
|
|
%changelog
|
|
* Wed Jan 27 2016 Automatic Build System <autodist@mambasoft.it> 5.5.4-1mamba
|
|
- automatic version update by autodist
|
|
|
|
* Sun Jan 10 2016 Silvan Calarco <silvan.calarco@mambasoft.it> 5.5.3-1mamba
|
|
- package created using the webbuild interface
|