diff --git a/README.md b/README.md index a3c0bba..4d77da9 100644 --- a/README.md +++ b/README.md @@ -1,2 +1,4 @@ # plasma-nm +KDE Plasma 5 network management. + diff --git a/plasma-nm.spec b/plasma-nm.spec new file mode 100644 index 0000000..2a40453 --- /dev/null +++ b/plasma-nm.spec @@ -0,0 +1,107 @@ +%define majver %(echo %version | cut -d. -f1-2) + +Name: plasma-nm +Version: 5.10.5 +Release: 1mamba +Summary: KDE Plasma 5 network management +Group: Graphical Desktop/Applications/Configuration +Vendor: openmamba +Distribution: openmamba +Packager: Silvan Calarco +URL: http://www.kde.org +Source: https://download.kde.org/stable/plasma/%{version}/plasma-nm-%{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: libkdeclarative-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: libkpackage-devel +BuildRequires: libkparts-devel +BuildRequires: libkservice-devel +BuildRequires: libktextwidgets-devel +BuildRequires: libkunitconversion-devel +BuildRequires: libkwallet-devel +BuildRequires: libkwidgetsaddons-devel +BuildRequires: libkwindowsystem-devel +BuildRequires: libkxmlgui-devel +BuildRequires: libnetworkmanager-qt5-devel +BuildRequires: libopenconnect-devel +BuildRequires: libplasma-framework-devel +BuildRequires: libqca-qt5-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 network management. + +%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}/kde5-nm-connection-editor +%{_libdir}/libplasmanm_editor.so +%{_libdir}/libplasmanm_internal.so +%{_libdir}/qt5/plugins/kcm_networkmanagement.so +%{_libdir}/qt5/plugins/kf5/kded/networkmanagement.so +%{_libdir}/qt5/plugins/libplasmanetworkmanagement_*.so +%dir %{_libdir}/qt5/qml/org/kde/plasma/networkmanagement +%{_libdir}/qt5/qml/org/kde/plasma/networkmanagement/* +%{_datadir}/applications/kde5-nm-connection-editor.desktop +%dir %{_datadir}/kcm_networkmanagement/qml +%dir %{_datadir}/kcm_networkmanagement +%{_datadir}/kcm_networkmanagement/* +%{_datadir}/knotifications5/networkmanagement.notifyrc +%{_datadir}/kservices5/kcm_networkmanagement.desktop +%{_datadir}/kservices5/plasma-applet-org.kde.plasma.networkmanagement.desktop +%{_datadir}/kservices5/plasmanetworkmanagement_*.desktop +%{_kde5_servicetypesdir}/plasma-networkmanagement-vpnuiplugin.desktop +%{_datadir}/kxmlgui5/kde5-nm-connection-editor/kde5-nm-connection-editorui.rc +%{_datadir}/metainfo/org.kde.plasma.networkmanagement.appdata.xml +%dir %{_datadir}/plasma/plasmoids/org.kde.plasma.networkmanagement +%{_datadir}/plasma/plasmoids/org.kde.plasma.networkmanagement/* +%doc COPYING COPYING.LIB + +%changelog +* Sat Sep 23 2017 Silvan Calarco 5.10.5-1mamba +- package created using the webbuild interface