package created using the webbuild interface [release 1.4.5-1mamba;Mon Jan 09 2023]
This commit is contained in:
parent
0fb9a368cb
commit
4903d667dc
@ -1,2 +1,4 @@
|
|||||||
# qxlsx
|
# qxlsx
|
||||||
|
|
||||||
|
Excel file(*.xlsx) reader/writer library using Qt 5 or 6. Descendant of QtXlsx.
|
||||||
|
|
||||||
|
80
qxlsx.spec
Normal file
80
qxlsx.spec
Normal file
@ -0,0 +1,80 @@
|
|||||||
|
Name: qxlsx
|
||||||
|
Version: 1.4.5
|
||||||
|
Release: 1mamba
|
||||||
|
Summary: Excel file(*.xlsx) reader/writer library using Qt 5 or 6
|
||||||
|
Group: System/Libraries
|
||||||
|
Vendor: openmamba
|
||||||
|
Distribution: openmamba
|
||||||
|
Packager: Silvan Calarco <silvan.calarco@mambasoft.it>
|
||||||
|
URL: https://qtexcel.github.io/QXlsx/
|
||||||
|
Source: https://github.com/QtExcel/QXlsx.git/v%{version}/QXlsx-%{version}.tar.bz2
|
||||||
|
License: MIT
|
||||||
|
## AUTOBUILDREQ-BEGIN
|
||||||
|
BuildRequires: glibc-devel
|
||||||
|
BuildRequires: libgcc
|
||||||
|
BuildRequires: libglvnd-devel
|
||||||
|
BuildRequires: libstdc++6-devel
|
||||||
|
BuildRequires: libxkbcommon-devel
|
||||||
|
BuildRequires: qt6-qtbase-devel
|
||||||
|
## AUTOBUILDREQ-END
|
||||||
|
Requires: lib%{name} = %{?epoch:%epoch:}%{version}-%{release}
|
||||||
|
|
||||||
|
%description
|
||||||
|
Excel file(*.xlsx) reader/writer library using Qt 5 or 6. Descendant of QtXlsx.
|
||||||
|
|
||||||
|
%package -n libQXlsxQt6
|
||||||
|
Group: System/Libraries
|
||||||
|
Summary: Excel file(*.xlsx) reader/writer library using Qt6
|
||||||
|
|
||||||
|
%description -n libQXlsxQt6
|
||||||
|
Excel file(*.xlsx) reader/writer library using Qt6. Descendant of QtXlsx.
|
||||||
|
This package contains shared libraries for %{name}.
|
||||||
|
|
||||||
|
%package -n libQXlsxQt6-devel
|
||||||
|
Group: Development/Libraries
|
||||||
|
Summary: Development files for %{name}
|
||||||
|
Requires: libQXlsxQt6 = %{?epoch:%epoch:}%{version}-%{release}
|
||||||
|
|
||||||
|
%description -n libQXlsxQt6-devel
|
||||||
|
This package contains libraries and header files for developing applications that use libQXlsxQt6.
|
||||||
|
|
||||||
|
%debug_package
|
||||||
|
|
||||||
|
%prep
|
||||||
|
%setup -q -n QXlsx-%{version}
|
||||||
|
|
||||||
|
%build
|
||||||
|
cd QXlsx
|
||||||
|
%cmake -d build \
|
||||||
|
-DQT_DIR=%{_libdir}/cmake/Qt6
|
||||||
|
|
||||||
|
%make
|
||||||
|
|
||||||
|
%install
|
||||||
|
[ "%{buildroot}" != / ] && rm -rf "%{buildroot}"
|
||||||
|
cd QXlsx
|
||||||
|
%makeinstall -C build
|
||||||
|
|
||||||
|
%clean
|
||||||
|
[ "%{buildroot}" != / ] && rm -rf "%{buildroot}"
|
||||||
|
|
||||||
|
%post -n libQXlsxQt6 -p /sbin/ldconfig
|
||||||
|
%postun -n libQXlsxQt6 -p /sbin/ldconfig
|
||||||
|
|
||||||
|
%files -n libQXlsxQt6
|
||||||
|
%defattr(-,root,root)
|
||||||
|
%{_libdir}/libQXlsxQt6.so.*
|
||||||
|
%doc LICENSE
|
||||||
|
|
||||||
|
%files -n libQXlsxQt6-devel
|
||||||
|
%defattr(-,root,root)
|
||||||
|
%dir %{_includedir}/QXlsx
|
||||||
|
%{_includedir}/QXlsx/*.h
|
||||||
|
%{_libdir}/libQXlsxQt6.so
|
||||||
|
%dir %{_libdir}/cmake/QXlsxQt6
|
||||||
|
%{_libdir}/cmake/QXlsxQt6/QXlsxQt6*.cmake
|
||||||
|
%doc README.RU.md README.ko.md README.md
|
||||||
|
|
||||||
|
%changelog
|
||||||
|
* Mon Jan 09 2023 Silvan Calarco <silvan.calarco@mambasoft.it> 1.4.5-1mamba
|
||||||
|
- package created using the webbuild interface
|
Loading…
Reference in New Issue
Block a user