70 lines
1.9 KiB
RPMSpec
70 lines
1.9 KiB
RPMSpec
|
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 <silvan.calarco@mambasoft.it>
|
||
|
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 <silvan.calarco@mambasoft.it> 1.0.0-1mamba
|
||
|
- update to 1.0.0
|
||
|
|
||
|
* Wed Oct 26 2011 Silvan Calarco <silvan.calarco@mambasoft.it> 0.9-1mamba
|
||
|
- package created by autospec
|