package created using the webbuild interface [release 1.2rc-1mamba;Sun Nov 22 2015]

This commit is contained in:
Silvan Calarco 2024-01-05 17:01:28 +01:00
parent dd99be2bcc
commit 4a920c4dab
2 changed files with 121 additions and 0 deletions

View File

@ -1,2 +1,4 @@
# qextserialport # qextserialport
QextSerialPort provides an interface to old fashioned serial ports for Qt-based applications.

119
qextserialport.spec Normal file
View File

@ -0,0 +1,119 @@
Name: qextserialport
Version: 1.2rc
Release: 1mamba
Summary: An interface to old fashioned serial ports for Qt-based applications
Group: System/Libraries
Vendor: openmamba
Distribution: openmamba
Packager: Silvan Calarco <silvan.calarco@mambasoft.it>
URL: http://qextserialport.github.io/
## GITSOURCE https://github.com/qextserialport/qextserialport.git 1.2rc
Source: https://github.com/qextserialport/qextserialport.git/%{version}/qextserialport-%{version}.tar.bz2
License: MIT
## AUTOBUILDREQ-BEGIN
BuildRequires: glibc-devel
BuildRequires: libgcc
BuildRequires: libqt4-devel
BuildRequires: libqt5-devel
BuildRequires: libstdc++6-devel
## AUTOBUILDREQ-END
Requires: lib%{name} = %{?epoch:%epoch:}%{version}-%{release}
BuildRoot: %{_tmppath}/%{name}-%{version}-root
%description
QextSerialPort provides an interface to old fashioned serial ports for Qt-based applications.
%package -n lib%{name}
Group: System/Libraries
Summary: Qt4 interface to old fashioned serial ports for Qt-based applications
%description -n lib%{name}
QextSerialPort provides an interface to old fashioned serial ports for Qt-based applications.
This package contains shared libraries.
%package -n lib%{name}-devel
Group: Development/Libraries
Summary: Development files for %{name}
Requires: lib%{name} = %{?epoch:%epoch:}%{version}-%{release}
%description -n lib%{name}-devel
This package contains libraries and header files for developing applications that use %{name}.
%package -n libQt5ExtSerialPort
Group: System/Libraries
Summary: Qt5 interface to old fashioned serial ports for Qt-based applications
%description -n libQt5ExtSerialPort
QextSerialPort provides an interface to old fashioned serial ports for Qt-based applications.
This package contains shared libraries.
%package -n libQt5ExtSerialPort-devel
Group: Development/Libraries
Summary: Development files for %{name}
Requires: libQt5ExtSerialPort = %{?epoch:%epoch:}%{version}-%{release}
%description -n libQt5ExtSerialPort-devel
This package contains libraries and header files for developing applications that use %{name}.
%debug_package
%prep
%setup -q
%build
mkdir build-qt4
cd build-qt4
qmake-qt4 ..
%make
cd ..
mkdir build-qt5
cd build-qt5
qmake-qt5 ..
%make
cd ..
%install
[ "%{buildroot}" != / ] && rm -rf "%{buildroot}"
%makeinstall -C build-qt4 INSTALL_ROOT=%{buildroot}
%makeinstall -C build-qt5 INSTALL_ROOT=%{buildroot}
%clean
[ "%{buildroot}" != / ] && rm -rf "%{buildroot}"
%post -n lib%{name} -p /sbin/ldconfig
%postun -n lib%{name} -p /sbin/ldconfig
%post -n libQt5ExtSerialPort -p /sbin/ldconfig
%postun -n libQt5ExtSerialPort -p /sbin/ldconfig
%files -n lib%{name}
%defattr(-,root,root)
%{_libdir}/libqextserialport.so.*
%doc LICENSE
%files -n libQt5ExtSerialPort
%defattr(-,root,root)
%{_libdir}/libQt5ExtSerialPort.so.*
%doc LICENSE
%files -n lib%{name}-devel
%defattr(-,root,root)
%dir %{_includedir}/qt4/QtExtSerialPort
%{_includedir}/qt4/QtExtSerialPort/*.h
%{_libdir}/libqextserialport.prl
%{_libdir}/libqextserialport.so
%{_datadir}/qt4/mkspecs/features/extserialport.prf
%doc ChangeLog README
%files -n libQt5ExtSerialPort-devel
%defattr(-,root,root)
%dir %{_includedir}/qt5/QtExtSerialPort
%{_includedir}/qt5/QtExtSerialPort/*.h
%{_libdir}/libQt5ExtSerialPort.prl
%{_libdir}/libQt5ExtSerialPort.so
%{_libdir}/qt5/mkspecs/features/extserialport.prf
%changelog
* Sun Nov 22 2015 Silvan Calarco <silvan.calarco@mambasoft.it> 1.2rc-1mamba
- package created using the webbuild interface