[qextserialport] Check-in

Volker Fröhlich volter at fedoraproject.org
Mon Nov 5 16:06:08 UTC 2012


commit e7a3c4bfbd645467f118cd80acbcac4fdf2c2b96
Author: Volker Fröhlich <volker27 at gmx.at>
Date:   Mon Nov 5 17:03:40 2012 +0100

    Check-in

 .gitignore                |    1 +
 qextserialport-config.pri |   14 ++++++++++
 qextserialport.spec       |   63 +++++++++++++++++++++++++++++++++++++++++++++
 sources                   |    1 +
 4 files changed, 79 insertions(+), 0 deletions(-)
---
diff --git a/.gitignore b/.gitignore
index e69de29..e2c4dd8 100644
--- a/.gitignore
+++ b/.gitignore
@@ -0,0 +1 @@
+/qextserialport-1.2beta2.tar.gz
diff --git a/qextserialport-config.pri b/qextserialport-config.pri
new file mode 100644
index 0000000..8326ece
--- /dev/null
+++ b/qextserialport-config.pri
@@ -0,0 +1,14 @@
+# This is an example config.pri for building and using qextserialport.
+# 
+# When using the qextserialport, all you need is to add following line
+# in your .pro file:
+#    include(pathToQextserialport/src/qextserialport.pri)
+#
+# uncomment the following line if you want to use qextserialport as library
+QEXTSERIALPORT_LIBRARY = yes
+
+# uncomment the following line too if you want to use it as static library
+# QEXTSERIALPORT_STATIC = yes
+
+# comment following line if you always want to enable "udev" under linux
+QEXTSERIALPORT_WITH_UDEV = yes
diff --git a/qextserialport.spec b/qextserialport.spec
new file mode 100644
index 0000000..abb883c
--- /dev/null
+++ b/qextserialport.spec
@@ -0,0 +1,63 @@
+Name:      qextserialport
+Version:   1.2
+Release:   0.2.beta2%{?dist}
+Summary:   Qt interface class for old fashioned serial ports
+Group:     System Environment/Libraries
+License:   MIT
+URL:       http://code.google.com/p/qextserialport/
+Source0:   http://qextserialport.googlecode.com/files/%{name}-%{version}beta2.tar.gz
+Source1:   %{name}-config.pri
+
+BuildRequires:  qt4-devel
+BuildRequires:  libudev-devel
+
+%description
+QextSerialPort provides an interface to old fashioned
+serial ports for Qt-based applications.
+
+%package devel
+Summary:        Development files for %{name}
+Group:          Development/Libraries
+Requires:       %{name}%{?_isa} = %{version}-%{release}
+Requires:       qt4-devel
+
+%description devel
+This package contains the files necessary
+to develop applications using Qextserialport.
+
+
+%prep
+%setup -qn %{name}-%{version}beta2
+cp -a %{SOURCE1} config.pri
+
+
+%build
+qmake-qt4
+make %{?_smp_mflags}
+
+%install
+make install INSTALL_ROOT=%{buildroot}
+
+
+%post -p /sbin/ldconfig
+
+%postun -p /sbin/ldconfig
+
+
+%files 
+%doc ChangeLog LICENSE
+%{_libdir}/lib%{name}*.so.*
+
+%files devel
+%{_includedir}/QtExtSerialPort/
+%{_libdir}/lib%{name}*.so
+%{_qt4_datadir}/mkspecs/features/*
+
+
+%changelog
+* Sun Nov  4 2012 Volker Fröhlich <volker27 at gmx.at> 1.2-0.2.beta2
+- Correct Source location
+- Require qt4-devel for devel sub-package
+
+* Fri Nov  2 2012 Volker Fröhlich <volker27 at gmx.at> 1.2-0.1.beta2
+- Initial packaging for Fedora
diff --git a/sources b/sources
index e69de29..cdf0847 100644
--- a/sources
+++ b/sources
@@ -0,0 +1 @@
+813468066ab745d95dff79e5ed4147bd  qextserialport-1.2beta2.tar.gz


More information about the scm-commits mailing list