diff --git a/README.md b/README.md index 668d5d5..9bde351 100644 --- a/README.md +++ b/README.md @@ -1,2 +1,4 @@ # libqt6pas +Qt6 bindings for Pascal from Lazarus. + diff --git a/libqt6pas.spec b/libqt6pas.spec new file mode 100644 index 0000000..56afb8f --- /dev/null +++ b/libqt6pas.spec @@ -0,0 +1,65 @@ +Name: libqt6pas +Version: 6.2.10 +Release: 1mamba +Summary: Qt6 bindings for Pascal +Group: System/Libraries +Vendor: openmamba +Distribution: openmamba +Packager: Silvan Calarco +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 6.2.10-1mamba +- package created using the webbuild interface