networkmanager-qt5/networkmanager-qt5.spec

112 lines
3.6 KiB
RPMSpec
Raw Permalink Normal View History

%define majver %(echo %version | cut -d. -f1-2)
Name: networkmanager-qt5
Version: 5.20.0
Release: 1mamba
Summary: Binding library between NetworkManager and Qt5
Group: System/Libraries
Vendor: openmamba
Distribution: openmamba
Packager: Silvan Calarco <silvan.calarco@mambasoft.it>
URL: http://www.kde.org
# git clone git://anongit.kde.org/clones/kde-workspace/iliakats/libnm-qt.git/libnm-qt
#Source: http://.../libnm-qt-%{version}.git20111026.tar.bz2
Source: http://download.kde.org/stable/frameworks/%{majver}/networkmanager-qt-%{version}.tar.xz
License: GPL
## AUTOBUILDREQ-BEGIN
BuildRequires: glibc-devel
BuildRequires: libgcc
BuildRequires: libqt5-devel
BuildRequires: libstdc++6-devel
## AUTOBUILDREQ-END
BuildRoot: %{_tmppath}/%{name}-%{version}-root
%description
Binding library between NetworkManager and Qt5.
%package -n lib%{name}
Group: System/Libraries
Summary: Binding library between NetworkManager and Qt5
%description -n lib%{name}
Binding library between NetworkManager and Qt5.
%package -n lib%{name}-devel
Group: Development/Libraries
Summary: Static libraries and headers for %{name}
Requires: lib%{name} = %{?epoch:%epoch:}%{version}-%{release}
%description -n lib%{name}-devel
Binding library between NetworkManager and Qt5.
This package contains static libraries and header files need for development.
%prep
%setup -q -n networkmanager-qt-%{version}
%build
%cmake_kde5 -d build
%make
%install
[ "%{buildroot}" != / ] && rm -rf "%{buildroot}"
%makeinstall -C build
%clean
[ "%{buildroot}" != / ] && rm -rf "%{buildroot}"
%post -n lib%{name} -p /sbin/ldconfig
%postun -n lib%{name} -p /sbin/ldconfig
%files -n lib%{name}
%defattr(-,root,root)
%{_kde5_libdir}/libKF5NetworkManagerQt.so.*
%files -n lib%{name}-devel
%defattr(-,root,root)
%dir %{_kde5_includedir}/NetworkManagerQt
%{_kde5_includedir}/NetworkManagerQt/*
%{_kde5_includedir}/networkmanagerqt_version.h
%{_kde5_libdir}/libKF5NetworkManagerQt.so
%dir %{_kde5_libdir}/cmake/KF5NetworkManagerQt
%{_kde5_libdir}/cmake/KF5NetworkManagerQt/*.cmake
%{_libdir}/qt5/mkspecs/modules/qt_NetworkManagerQt.pri
%changelog
* Tue Mar 29 2016 Automatic Build System <autodist@mambasoft.it> 5.20.0-1mamba
- automatic version update by autodist
* Sat Feb 20 2016 Automatic Build System <autodist@mambasoft.it> 5.19.0-1mamba
- automatic version update by autodist
* Fri Jan 15 2016 Automatic Build System <autodist@mambasoft.it> 5.18.0-1mamba
- automatic version update by autodist
* Thu Dec 17 2015 Silvan Calarco <silvan.calarco@mambasoft.it> 5.17.0-2mamba
- renamed from networmanager-qt to networkmanager-qt5
* Wed Dec 16 2015 Automatic Build System <autodist@mambasoft.it> 5.17.0-1mamba
- automatic version update by autodist
* Mon Nov 30 2015 Automatic Build System <autodist@mambasoft.it> 5.16.0-1mamba
- automatic version update by autodist
* Sun Aug 23 2015 Automatic Build System <autodist@mambasoft.it> 5.13.0-1mamba
- automatic version update by autodist
* Tue Aug 18 2015 Silvan Calarco <silvan.calarco@mambasoft.it> 5.12.0-1mamba
- update to 5.12.0
* Mon Jun 22 2015 Silvan Calarco <silvan.calarco@mambasoft.it> 0.9.8.4-1mamba
- update to 0.9.8.4
* Sun Jul 06 2014 Automatic Build System <autodist@mambasoft.it> 0.9.8.2-1mamba
- automatic version update by autodist
* Sat Feb 15 2014 Automatic Build System <autodist@mambasoft.it> 0.9.8.1-1mamba
- automatic version update by autodist
* Fri Nov 22 2013 Silvan Calarco <silvan.calarco@mambasoft.it> 0.9.8.0-1mamba
- update to 0.9.8.0
* Wed Oct 26 2011 Silvan Calarco <silvan.calarco@mambasoft.it> 0.9-1mamba
- package created by autospec