From 73e5efc5940a24f847faaed2ea72fce3456bce4e Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Dan=20Vr=C3=A1til?= Date: Thu, 8 Jan 2015 15:27:22 +0100 Subject: [PATCH] KDE Frameworks 5.6.0 (import) --- .gitignore | 1 + kf5-networkmanager-qt.spec | 106 +++++++++++++++++++++++++++++++++++++ sources | 1 + 3 files changed, 108 insertions(+) create mode 100644 kf5-networkmanager-qt.spec diff --git a/.gitignore b/.gitignore index e69de29..f8bdb37 100644 --- a/.gitignore +++ b/.gitignore @@ -0,0 +1 @@ +/networkmanager-qt-5.6.0.tar.xz diff --git a/kf5-networkmanager-qt.spec b/kf5-networkmanager-qt.spec new file mode 100644 index 0000000..60cef4f --- /dev/null +++ b/kf5-networkmanager-qt.spec @@ -0,0 +1,106 @@ +%global framework networkmanager-qt + +Name: kf5-%{framework} +Version: 5.6.0 +Release: 1%{?dist} +Summary: A Tier 1 KDE Frameworks 5 module that wraps NetworkManager DBus API + +Group: System Environment/Libraries +License: LGPLv2+ +URL: https://projects.kde.org/projects/frameworks/networkmanager-qt + +%global versiondir %(echo %{version} | cut -d. -f1-2) +%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/%{versiondir}/%{framework}-%{version}.tar.xz + +BuildRequires: kf5-rpm-macros +BuildRequires: extra-cmake-modules +BuildRequires: qt5-qtbase-devel + +BuildRequires: pkgconfig(NetworkManager) >= 0.9.8 +BuildRequires: pkgconfig(libnm-glib) pkgconfig(libnm-util) + +Requires: NetworkManager >= 0.9.9.0 +Requires: kf5-filesystem + +%description +A Tier 1 KDE Frameworks 5 Qt library for NetworkManager. + +%package devel +Summary: Development files for %{name} +Group: Development/Libraries +Requires: %{name}%{?_isa} = %{version}-%{release} +%description devel +Qt libraries and header files for developing applications +that use NetworkManager. + +%prep +%setup -qn %{framework}-%{version} + +%build +mkdir -p %{_target_platform} +pushd %{_target_platform} +%{cmake_kf5} .. +popd + +make %{?_smp_mflags} -C %{_target_platform} + + +%install +make install/fast DESTDIR=%{buildroot} -C %{_target_platform} + +%post -p /sbin/ldconfig +%postun -p /sbin/ldconfig + +%files +%doc COPYING.LIB README.md +%{_kf5_libdir}/libKF5NetworkManagerQt.so.* + +%files devel +%{_kf5_libdir}/libKF5NetworkManagerQt.so +%{_kf5_libdir}/cmake/KF5NetworkManagerQt +%{_kf5_includedir}/NetworkManagerQt +%{_kf5_includedir}/networkmanagerqt_version.h +%{_kf5_archdatadir}/mkspecs/modules/qt_NetworkManagerQt.pri + +%changelog +* Tue Jan 06 2015 Daniel Vrátil - 5.6.0-1 +- KDE Frameworks 5.6.0 + +* Wed Dec 17 2014 Daniel Vrátil - 5.1.2-2 +- Plasma 5.1.2 + +* Fri Nov 07 2014 Daniel Vrátil - 5.1.1-1 +- Plasma 5.1.1 + +* Tue Oct 14 2014 Daniel Vrátil - 5.1.0.1-1 +- Plasma 5.1.0.1 + +* Thu Oct 09 2014 Daniel Vrátil - 5.1.0-1 +- Plasma 5.1.0 + +* Tue Sep 16 2014 Daniel Vrátil - 5.0.93-1 +- Plasma 5.0.2 + +* Sun Aug 10 2014 Daniel Vrátil - 5.0.92-1 +- Plasma 5.0.1 + +* Wed Jul 16 2014 Daniel Vrátil - 5.0.91-1 +- Plasma 5.0.0 + +* Wed Jun 11 2014 Daniel Vrátil - 5.0.90-3.20140611gitef654fd +- Update to latest git snapshot + +* Wed May 14 2014 Daniel Vrátil - 5.0.90-2.20140514git107e27d +- Update to latest git snapshot + +* Fri Apr 18 2014 Daniel Vrátil - 5.0.90-1.20140418git2afe13e +- Upgrade libnm-qt to a Tier 2 KDE Frameworks module kf5-networkmanagerqt + +* Thu Apr 03 2014 Daniel Vrátil - 1:0.9.9.1-1.20140403git2afe13e +- Qt 5 fork of libnm-qt diff --git a/sources b/sources index e69de29..f481295 100644 --- a/sources +++ b/sources @@ -0,0 +1 @@ +5a1e69498ad14b3bc5d0bd91aa1165d0 networkmanager-qt-5.6.0.tar.xz