From 761551163b09377a581e74ea49c84ef98d7922b9 Mon Sep 17 00:00:00 2001 From: Silvan Calarco Date: Sat, 6 Jan 2024 06:15:30 +0100 Subject: [PATCH] package created using the webbuild interface [release 1.2.0-1mamba;Sat Nov 12 2022] --- README.md | 2 ++ libyui-mga-qt.spec | 69 ++++++++++++++++++++++++++++++++++++++++++++++ 2 files changed, 71 insertions(+) create mode 100644 libyui-mga-qt.spec diff --git a/README.md b/README.md index 1f3574e..c6e693a 100644 --- a/README.md +++ b/README.md @@ -1,2 +1,4 @@ # libyui-mga-qt +Libyui-Qt extensions for Mageia tools. + diff --git a/libyui-mga-qt.spec b/libyui-mga-qt.spec new file mode 100644 index 0000000..b089671 --- /dev/null +++ b/libyui-mga-qt.spec @@ -0,0 +1,69 @@ +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 +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 1.2.0-1mamba +- package created using the webbuild interface