66 lines
1.7 KiB
RPMSpec
66 lines
1.7 KiB
RPMSpec
|
Name: libqt6pas
|
||
|
Version: 6.2.10
|
||
|
Release: 1mamba
|
||
|
Summary: Qt6 bindings for Pascal
|
||
|
Group: System/Libraries
|
||
|
Vendor: openmamba
|
||
|
Distribution: openmamba
|
||
|
Packager: Silvan Calarco <silvan.calarco@mambasoft.it>
|
||
|
URL: https://github.com/davidbannon/libqt6pas
|
||
|
Source: https://github.com/davidbannon/libqt6pas.git/v%{version}/libqt6pas-%{version}.tar.bz2
|
||
|
License: LGPL
|
||
|
## AUTOBUILDREQ-BEGIN
|
||
|
BuildRequires: glibc-devel
|
||
|
BuildRequires: libQt6Core
|
||
|
BuildRequires: libQt6Gui
|
||
|
BuildRequires: libQt6PrintSupport
|
||
|
BuildRequires: libQt6Widgets
|
||
|
BuildRequires: libgcc
|
||
|
BuildRequires: libglvnd-devel
|
||
|
BuildRequires: libstdc++6-devel
|
||
|
## AUTOBUILDREQ-END
|
||
|
|
||
|
%description
|
||
|
Qt6 bindings for Pascal from Lazarus.
|
||
|
|
||
|
%package devel
|
||
|
Group: Development/Libraries
|
||
|
Summary: Development files for %{name}
|
||
|
Requires: %{name} = %{?epoch:%epoch:}%{version}-%{release}
|
||
|
## note: you can add this requirement if .pc files are provided by this package
|
||
|
#Requires: pkg-config
|
||
|
|
||
|
%description devel
|
||
|
This package contains libraries and header files for developing applications that use %{name}.
|
||
|
|
||
|
%debug_package
|
||
|
|
||
|
%prep
|
||
|
%setup -q
|
||
|
|
||
|
%build
|
||
|
cd cbindings
|
||
|
%{_qt6_qmake}
|
||
|
%make_build
|
||
|
|
||
|
%install
|
||
|
[ "%{buildroot}" != / ] && rm -rf "%{buildroot}"
|
||
|
%make_install -C cbindings INSTALL_ROOT=%{buildroot} STRIP=/bin/true
|
||
|
|
||
|
%clean
|
||
|
[ "%{buildroot}" != / ] && rm -rf "%{buildroot}"
|
||
|
|
||
|
%files
|
||
|
%defattr(-,root,root)
|
||
|
%{_libdir}/libQt6Pas.so.*
|
||
|
%doc cbindings/COPYING.TXT
|
||
|
|
||
|
%files devel
|
||
|
%defattr(-,root,root)
|
||
|
%{_libdir}/libQt6Pas.so
|
||
|
%doc README.md README.note
|
||
|
|
||
|
%changelog
|
||
|
* Fri Nov 29 2024 Silvan Calarco <silvan.calarco@mambasoft.it> 6.2.10-1mamba
|
||
|
- package created using the webbuild interface
|