70 lines
1.7 KiB
RPMSpec
70 lines
1.7 KiB
RPMSpec
|
Name: libyui-mga-qt
|
||
|
Version: 1.2.0
|
||
|
Release: 1mamba
|
||
|
Summary: Libyui-Qt extensions for Mageia tools
|
||
|
Group: System/Libraries
|
||
|
Vendor: openmamba
|
||
|
Distribution: openmamba
|
||
|
Packager: Silvan Calarco <silvan.calarco@mambasoft.it>
|
||
|
URL: https://github.com/manatools/libyui-mga-qt
|
||
|
Source: https://github.com/manatools/libyui-mga-qt.git/%{version}/libyui-mga-qt-%{version}.tar.bz2
|
||
|
License: LGPL
|
||
|
## AUTOBUILDREQ-BEGIN
|
||
|
BuildRequires: glibc-devel
|
||
|
BuildRequires: libQt5Svg-devel
|
||
|
BuildRequires: libQt5X11Extras-devel
|
||
|
BuildRequires: libgcc
|
||
|
BuildRequires: libstdc++6-devel
|
||
|
BuildRequires: libyui-devel
|
||
|
BuildRequires: libyui-mga-devel
|
||
|
BuildRequires: qt5-qtbase-devel
|
||
|
## AUTOBUILDREQ-END
|
||
|
BuildRequires: cmake
|
||
|
Requires: libyui-qt
|
||
|
|
||
|
%description
|
||
|
Libyui-Qt extensions for Mageia tools.
|
||
|
|
||
|
%package devel
|
||
|
Group: Development/Libraries
|
||
|
Summary: Development files for %{name}
|
||
|
Requires: %{name} = %{?epoch:%epoch:}%{version}-%{release}
|
||
|
|
||
|
%description devel
|
||
|
This package contains libraries and header files for developing applications that use %{name}.
|
||
|
|
||
|
%debug_package
|
||
|
|
||
|
%prep
|
||
|
%setup -q
|
||
|
|
||
|
%build
|
||
|
%cmake -d build
|
||
|
%make
|
||
|
|
||
|
%install
|
||
|
[ "%{buildroot}" != / ] && rm -rf "%{buildroot}"
|
||
|
%makeinstall -C build
|
||
|
|
||
|
%clean
|
||
|
[ "%{buildroot}" != / ] && rm -rf "%{buildroot}"
|
||
|
|
||
|
%post -p /sbin/ldconfig
|
||
|
%postun -p /sbin/ldconfig
|
||
|
|
||
|
%files
|
||
|
%defattr(-,root,root)
|
||
|
%{_libdir}/yui/libyui-mga-qt.so.*
|
||
|
%doc COPYING.*
|
||
|
|
||
|
%files devel
|
||
|
%defattr(-,root,root)
|
||
|
%dir %{_includedir}/yui/mga/qt
|
||
|
%{_includedir}/yui/mga/qt/*
|
||
|
%{_libdir}/yui/libyui-mga-qt.so
|
||
|
%doc ChangeLog README.md
|
||
|
|
||
|
%changelog
|
||
|
* Sat Nov 12 2022 Silvan Calarco <silvan.calarco@mambasoft.it> 1.2.0-1mamba
|
||
|
- package created using the webbuild interface
|