diff --git a/README.md b/README.md index 72ec70d..9a84f16 100644 --- a/README.md +++ b/README.md @@ -1,2 +1,4 @@ # kde-cli-tools +KDE Plasma 5 command line tools. + diff --git a/kde-cli-tools.spec b/kde-cli-tools.spec new file mode 100644 index 0000000..9c86b95 --- /dev/null +++ b/kde-cli-tools.spec @@ -0,0 +1,91 @@ +%define majver %(echo %version | cut -d. -f1-2) + +Name: kde-cli-tools +Version: 5.5.3 +Release: 1mamba +Summary: KDE Plasma 5 command line tools +Group: Graphical Desktop/Applications/Utilities +Vendor: openmamba +Distribution: openmamba +Packager: Silvan Calarco +URL: http://www.kde.org +Source: http://download.kde.org/stable/plasma/%{version}/kde-cli-tools-%{version}.tar.xz +# Source: http://download.kde.org/stable/frameworks/%{majver}/...-%{version}.tar.xz +License: GPL +## AUTOBUILDREQ-BEGIN +BuildRequires: glibc-devel +BuildRequires: libX11-devel +BuildRequires: libgcc +BuildRequires: libkauth-devel +BuildRequires: libkbookmarks-devel +BuildRequires: libkcmutils-devel +BuildRequires: libkcodecs-devel +BuildRequires: libkcompletion-devel +BuildRequires: libkconfig-devel +BuildRequires: libkconfigwidgets-devel +BuildRequires: libkcoreaddons-devel +BuildRequires: libkcrash-devel +BuildRequires: libkdelibs4support-devel +BuildRequires: libkdesu-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: libkpty-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 Plasma 5 command line tools. + +%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}/* +%{_libdir}/libkdeinit5_kcmshell5.so +%{_libdir}/qt5/plugins/kcm_filetypes.so +%{_libexecdir}/kf5/kdeeject +%{_libexecdir}/kf5/kdesu +%lang(ca) %{_datadir}/doc/HTML/ca/* +%lang(en) %{_datadir}/doc/HTML/en/* +%{_datadir}/kservices5/filetypes.desktop +%{_mandir}/man1/kdesu.1* +%doc COPYING COPYING.LIB + +%changelog +* Sun Jan 10 2016 Silvan Calarco 5.5.3-1mamba +- package created using the webbuild interface