diff --git a/README.md b/README.md index 58b3d7f..e3367ab 100644 --- a/README.md +++ b/README.md @@ -1,2 +1,4 @@ # libmm-qt +Binding library between ModemManager and Qt4. + diff --git a/libmm-qt.spec b/libmm-qt.spec new file mode 100644 index 0000000..fc559e2 --- /dev/null +++ b/libmm-qt.spec @@ -0,0 +1,69 @@ +Name: libmm-qt +Version: 1.0.0 +Release: 1mamba +Summary: Binding library between ModemManager and Qt4 +Group: System/Libraries +Vendor: openmamba +Distribution: openmamba +Packager: 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 +Source: http://download.kde.org/unstable/modemmanager-qt/%{version}/src/libmm-qt-%{version}.tar.xz +License: GPL +## AUTOBUILDREQ-BEGIN +BuildRequires: glibc-devel +BuildRequires: libgcc +BuildRequires: libqt4-devel +BuildRequires: libstdc++6-devel +## AUTOBUILDREQ-END +BuildRequires: ModemManager-devel +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 + +%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}/libModemManagerQt.so.* + +%files devel +%defattr(-,root,root) +%{_libdir}/libModemManagerQt.so +%dir %{_includedir}/ModemManagerQt +%{_includedir}/ModemManagerQt/* +%{_libdir}/pkgconfig/ModemManagerQt.pc + +%changelog +* Fri Nov 22 2013 Silvan Calarco 1.0.0-1mamba +- update to 1.0.0 + +* Wed Oct 26 2011 Silvan Calarco 0.9-1mamba +- package created by autospec