From 5fbb98aed31a6aa2528f6d77b4be9c5233dd1a45 Mon Sep 17 00:00:00 2001 From: Silvan Calarco Date: Sat, 6 Jan 2024 06:15:24 +0100 Subject: [PATCH] package created using the webbuild interface [release 1.2.0-1mamba;Sat Nov 12 2022] --- README.md | 2 ++ libyui-mga-ncurses.spec | 67 +++++++++++++++++++++++++++++++++++++++++ 2 files changed, 69 insertions(+) create mode 100644 libyui-mga-ncurses.spec diff --git a/README.md b/README.md index 218b5e1..d0c5c95 100644 --- a/README.md +++ b/README.md @@ -1,2 +1,4 @@ # libyui-mga-ncurses +Libyui-ncurses extensions for Mageia tools. + diff --git a/libyui-mga-ncurses.spec b/libyui-mga-ncurses.spec new file mode 100644 index 0000000..a28374b --- /dev/null +++ b/libyui-mga-ncurses.spec @@ -0,0 +1,67 @@ +Name: libyui-mga-ncurses +Version: 1.2.0 +Release: 1mamba +Summary: Libyui-ncurses extensions for Mageia tools +Group: System/Libraries +Vendor: openmamba +Distribution: openmamba +Packager: Silvan Calarco +URL: https://github.com/manatools/libyui-mga-ncurses +Source: https://github.com/manatools/libyui-mga-ncurses.git/%{version}/libyui-mga-ncurses-%{version}.tar.bz2 +License: LGPL +## AUTOBUILDREQ-BEGIN +BuildRequires: glibc-devel +BuildRequires: libgcc +BuildRequires: libncurses-devel +BuildRequires: libstdc++6-devel +BuildRequires: libyui-devel +BuildRequires: libyui-mga-devel +BuildRequires: libyui-ncurses-devel +## AUTOBUILDREQ-END +BuildRequires: cmake + +%description +Libyui-ncurses 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-ncurses.so.* +%doc COPYING.* + +%files devel +%defattr(-,root,root) +%dir %{_includedir}/yui/mga/ncurses +%{_includedir}/yui/mga/ncurses/* +%{_libdir}/yui/libyui-mga-ncurses.so +%doc ChangeLog README.md + +%changelog +* Sat Nov 12 2022 Silvan Calarco 1.2.0-1mamba +- package created using the webbuild interface