Sophie

Sophie

distrib > Mageia > 3 > i586 > media > core-release-src > by-pkgid > b07d4fe8d3fcb21d55bf09d66d5b6f37 > files > 2

qextserialport-1.2-1.mga3.src.rpm

%define major 1
%define libqextserialport %mklibname  qextserialport %major
%define libqextserialport_d %mklibname qextserialport -d

Name: qextserialport
Version: 1.2
Release: %mkrel 1
Summary: Interface to old fashioned serial ports for Qt-based applications

Group:   Development/KDE and Qt 
License: MIT
URL:     http://code.google.com/p/qextserialport/ 
Source0: http://qextserialport.googlecode.com/files/%{name}-%{version}rc.zip

BuildRequires:  qt4-devel

%description
QextSerialPort provides an interface to old fashioned serial ports for Qt-based applications

#------------------------------------------------------------------------------

%package -n %{libqextserialport}
Summary: Interface to old fashioned serial ports for Qt-based applications
Group: System/Libraries

%description -n %{libqextserialport}
QextSerialPort provides an interface to old fashioned serial ports for Qt-based applications

%files -n %{libqextserialport}
%_libdir/libqextserialport.so.%{major}*

#------------------------------------------------------------------------------

%package -n %{libqextserialport_d}
Summary: Devel files needed to build apps based on %name
Group:    Development/KDE and Qt
Requires: %{libqextserialport} = %version
Provides: %name-devel = %version-%release
Provides: lib%name-devel = %version-%release

%description -n %{libqextserialport_d}
Devel files needed to build apps based on %name

%files -n %{libqextserialport_d}
%_includedir/QtExtSerialPort
%_libdir/libqextserialport.prl
%_libdir/libqextserialport.so
%_libdir/qt4/mkspecs/features/extserialport.prf

#-----------------------------------------------------------------------------

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

%build
# As this is to use with marble, let build with qt4 for now, 
# And switch only for a qt5 based marbel
%qmake_qt4

%make

%install
make INSTALL_ROOT=$RPM_BUILD_ROOT install



%changelog

* Sun Jan 27 2013 neoclust <neoclust> 1.2-1.mga3
+ Revision: 392626
- imported package qextserialport