openmamba logo
GNU/Linux distribution
distribution community wiki forum bugs events products
software   community wiki forum bugs events products
packages libmm-qt.spec
      Pages: < 1 >  DOWNLOAD      
Name:          libmm-qt
Version:       0.9
Release:       1mamba
Summary:       Binding library between ModemManager and Qt4
Group:         System/Libraries
Vendor:        openmamba
Distribution:  openmamba
Packager:      Silvan Calarco <silvan.calarco@...>
URL:           http://www.kde.org
# git clone git://anongit.kde.org/clones/kde-workspace/iliakats/libnm-qt.git/libnm-qt
# NOTE: missing mmdebug.h 
Source:        http://anongit.kde.org/clones/kde-workspace/iliakate/libmm-qt-%{version}.git20111026.tar.bz2
License:       GPL
## AUTOBUILDREQ-BEGIN
BuildRequires: glibc-devel
BuildRequires: libgcc
BuildRequires: libqt4-devel
BuildRequires: libstdc++6-devel
## AUTOBUILDREQ-END
BuildRoot:     %{_tmppath}/%{name}-%{version}-root

%description
Binding library between ModemManager and Qt4.

%package devel
Group:         Development/Libraries
Summary:       Static libraries and headers for %{name}
Requires:      %{name} = %{?epoch:%epoch:}%{version}-%{release}

%description devel
Binding library between ModemManager and Qt4.
This package contains static libraries and header files need for development.

%prep
%setup -q -n %{name}

%build
%cmake -d build
%make

%install
[ "%{buildroot}" != / ] && rm -rf "%{buildroot}"
%makeinstall -C build

%clean
[ "%{buildroot}" != / ] && rm -rf "%{buildroot}"

%post -p /sbin/ldconfig
%postun -p /sbin/ldconfig

%files
%defattr(-,root,root)
%{_libdir}/libmm-qt.so.*

%files devel
%defattr(-,root,root)
%{_libdir}/libmm-qt.so
%dir %{_includedir}/libmm-qt
%{_includedir}/libmm-qt/*

%changelog
* Wed Oct 26 2011 Silvan Calarco <silvan.calarco@...> 0.9-1mamba
- package created by autospec