diff --git a/README.md b/README.md index 8f3adde..8e637ec 100644 --- a/README.md +++ b/README.md @@ -1,2 +1,4 @@ # libyui-mga +Libyui extensions for Mageia tools. + diff --git a/libyui-mga.spec b/libyui-mga.spec new file mode 100644 index 0000000..27616c7 --- /dev/null +++ b/libyui-mga.spec @@ -0,0 +1,69 @@ +Name: libyui-mga +Version: 1.2.1 +Release: 1mamba +Summary: Libyui extensions for Mageia tools +Group: System/Libraries +Vendor: openmamba +Distribution: openmamba +Packager: Silvan Calarco +URL: https://github.com/manatools/libyui-mga +## GITSOURCE https://github.com/manatools/libyui-mga.git 1.2.1 +Source: https://github.com/manatools/libyui-mga.git/%{version}/libyui-mga-%{version}.tar.bz2 +License: LGPL +## AUTOBUILDREQ-BEGIN +BuildRequires: glibc-devel +BuildRequires: libgcc +BuildRequires: libstdc++6-devel +BuildRequires: libyui-devel +## AUTOBUILDREQ-END +BuildRequires: cmake + +%description +Libyui extensions for Mageia tools. + +%package devel +Group: Development/Libraries +Summary: Development files for %{name} +Requires: %{name} = %{?epoch:%epoch:}%{version}-%{release} +Requires: pkg-config + +%description devel +This package contains libraries and header files for developing applications that use %{name}. + +%debug_package + +%prep +%setup -q + +%build +%cmake -d build \ + -DBUILD_EXAMPLES=NO + +%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}/libyui-mga.so.* +%doc COPYING.* + +%files devel +%defattr(-,root,root) +%dir %{_includedir}/yui/mga +%{_includedir}/yui/mga/* +%{_libdir}/libyui-mga.so +%{_libdir}/pkgconfig/libyui-mga.pc +%doc ChangeLog README.md + +%changelog +* Thu Nov 10 2022 Silvan Calarco 1.2.1-1mamba +- package created using the webbuild interface