package created using the webbuild interface [release 4.3.3-1mamba;Thu Nov 10 2022]
This commit is contained in:
parent
8ef713eafe
commit
69f0ca6371
@ -1,2 +1,4 @@
|
|||||||
# libyui
|
# libyui
|
||||||
|
|
||||||
|
Libyui is a widget abstraction library providing Qt, GTK and ncurses frontends. Originally it was developed for YaST but it can be used in any independent project.
|
||||||
|
|
||||||
|
174
libyui.spec
Normal file
174
libyui.spec
Normal file
@ -0,0 +1,174 @@
|
|||||||
|
Name: libyui
|
||||||
|
Version: 4.3.3
|
||||||
|
Release: 1mamba
|
||||||
|
Summary: A widget abstraction library providing Qt, GTK and ncurses frontends
|
||||||
|
Group: System/Libraries
|
||||||
|
Vendor: openmamba
|
||||||
|
Distribution: openmamba
|
||||||
|
Packager: Silvan Calarco <silvan.calarco@mambasoft.it>
|
||||||
|
URL: https://github.com/libyui/libyui
|
||||||
|
Source: https://github.com/libyui/libyui.git/%{version}/libyui-%{version}.tar.bz2
|
||||||
|
License: GPL, LGPL
|
||||||
|
## AUTOBUILDREQ-BEGIN
|
||||||
|
BuildRequires: glibc-devel
|
||||||
|
BuildRequires: libQt5X11Extras-devel
|
||||||
|
BuildRequires: libgcc
|
||||||
|
BuildRequires: libgraphviz-devel
|
||||||
|
BuildRequires: libncurses-devel
|
||||||
|
BuildRequires: libstdc++6-devel
|
||||||
|
BuildRequires: qt5-qtbase-devel
|
||||||
|
## AUTOBUILDREQ-END
|
||||||
|
|
||||||
|
%description
|
||||||
|
Libyui is a widget abstraction library providing Qt, GTK and ncurses frontends. Originally it was developed for YaST but it can be used in any independent project.
|
||||||
|
|
||||||
|
%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}.
|
||||||
|
|
||||||
|
%package qt
|
||||||
|
Group: System/Libraries
|
||||||
|
Summary: Qt (graphical) user interface of %{name}
|
||||||
|
Requires: %{name} = %{?epoch:%epoch:}%{version}-%{release}
|
||||||
|
|
||||||
|
%description qt
|
||||||
|
Libyui is a widget abstraction library providing Qt, GTK and ncurses frontends.
|
||||||
|
This package contains the Qt user interface shared libraries of %{name}.
|
||||||
|
|
||||||
|
%package qtgraph
|
||||||
|
Group: System/Libraries
|
||||||
|
Summary: Qt (graphical) user interface of %{name}
|
||||||
|
Requires: %{name}-qt = %{?epoch:%epoch:}%{version}-%{release}
|
||||||
|
|
||||||
|
%description qtgraph
|
||||||
|
Libyui is a widget abstraction library providing Qt, GTK and ncurses frontends.
|
||||||
|
This package contains the Qt user interface shared libraries of %{name}.
|
||||||
|
|
||||||
|
%package qt-devel
|
||||||
|
Group: Development/Libraries
|
||||||
|
Summary: Development files for %{name}-qt
|
||||||
|
Requires: %{name}-devel = %{?epoch:%epoch:}%{version}-%{release}
|
||||||
|
Requires: %{name}-qt = %{?epoch:%epoch:}%{version}-%{release}
|
||||||
|
Requires: %{name}-qtgraph = %{?epoch:%epoch:}%{version}-%{release}
|
||||||
|
|
||||||
|
%description qt-devel
|
||||||
|
This package contains libraries and header files for developing applications that use %{name}-qt.
|
||||||
|
|
||||||
|
%package ncurses
|
||||||
|
Group: System/Libraries
|
||||||
|
Summary: ncurses user interface of %{name}
|
||||||
|
Requires: %{name} = %{?epoch:%epoch:}%{version}-%{release}
|
||||||
|
|
||||||
|
%description ncurses
|
||||||
|
Libyui is a widget abstraction library providing Qt, GTK and ncurses frontends.
|
||||||
|
This package contains the ncurses user interface shared libraries of %{name}.
|
||||||
|
|
||||||
|
%package ncurses-devel
|
||||||
|
Group: Development/Libraries
|
||||||
|
Summary: Development files for %{name}-ncurses
|
||||||
|
Requires: %{name}-devel = %{?epoch:%epoch:}%{version}-%{release}
|
||||||
|
Requires: %{name}-ncurses = %{?epoch:%epoch:}%{version}-%{release}
|
||||||
|
|
||||||
|
%description ncurses-devel
|
||||||
|
This package contains libraries and header files for developing applications that use %{name}-ncurses.
|
||||||
|
|
||||||
|
%package tools
|
||||||
|
Group: Applications/Development
|
||||||
|
Summary: Utility applications for %{name}
|
||||||
|
Requires: %{name} = %{?epoch:%epoch:}%{version}-%{release}
|
||||||
|
|
||||||
|
%description tools
|
||||||
|
This package contains utility applications for %{name}.
|
||||||
|
|
||||||
|
%debug_package
|
||||||
|
|
||||||
|
%prep
|
||||||
|
%setup -q
|
||||||
|
sed -i "s|ncursesw/||" libyui-ncurses/src/*
|
||||||
|
|
||||||
|
%build
|
||||||
|
for pkgname in libyui libyui-qt libyui-qt-graph libyui-ncurses;do
|
||||||
|
cd ${pkgname}
|
||||||
|
%cmake -d build \
|
||||||
|
-DWERROR=FALSE \
|
||||||
|
-DBUILD_EXAMPLES=OFF \
|
||||||
|
-DWITH_MGA=ON \
|
||||||
|
-DWITH_MONO=OFF \
|
||||||
|
-DPYTHON_EXECUTABLE=%{python3} \
|
||||||
|
-DPYTHON_INCLUDE_DIR=%{_includedir}/python%{python3_version} \
|
||||||
|
-DPYTHON_SITEDIR=%{python3_sitearch} \
|
||||||
|
-DPYTHON_LIB_DIR=%{python3_sitelib}
|
||||||
|
|
||||||
|
%make
|
||||||
|
cd ../..
|
||||||
|
done
|
||||||
|
|
||||||
|
%install
|
||||||
|
[ "%{buildroot}" != / ] && rm -rf "%{buildroot}"
|
||||||
|
for pkgname in libyui libyui-qt libyui-qt-graph libyui-ncurses;do
|
||||||
|
cd ${pkgname}
|
||||||
|
%makeinstall -C build
|
||||||
|
cd ..
|
||||||
|
done
|
||||||
|
|
||||||
|
%clean
|
||||||
|
[ "%{buildroot}" != / ] && rm -rf "%{buildroot}"
|
||||||
|
|
||||||
|
%post -p /sbin/ldconfig
|
||||||
|
%postun -p /sbin/ldconfig
|
||||||
|
|
||||||
|
%files
|
||||||
|
%defattr(-,root,root)
|
||||||
|
%{_libdir}/libyui.so.*
|
||||||
|
%doc COPYING.*
|
||||||
|
|
||||||
|
%files devel
|
||||||
|
%defattr(-,root,root)
|
||||||
|
%dir %{_includedir}/yui
|
||||||
|
%{_includedir}/yui/*
|
||||||
|
%{_libdir}/libyui.so
|
||||||
|
%dir %{_datadir}/libyui/buildtools
|
||||||
|
%{_datadir}/libyui/buildtools/*
|
||||||
|
%{_libdir}/pkgconfig/libyui.pc
|
||||||
|
%doc README.md
|
||||||
|
|
||||||
|
%files qt
|
||||||
|
%defattr(-,root,root)
|
||||||
|
%{_libdir}/yui/libyui-qt.so.*
|
||||||
|
|
||||||
|
%files qtgraph
|
||||||
|
%defattr(-,root,root)
|
||||||
|
%{_libdir}/yui/libyui-qt-graph.so.*
|
||||||
|
|
||||||
|
%files qt-devel
|
||||||
|
%defattr(-,root,root)
|
||||||
|
%dir %{_includedir}/yui/qt
|
||||||
|
%{_includedir}/yui/qt/*
|
||||||
|
%dir %{_includedir}/yui/qt-graph
|
||||||
|
%{_includedir}/yui/qt-graph/*
|
||||||
|
%{_libdir}/yui/libyui-qt.so
|
||||||
|
%{_libdir}/yui/libyui-qt-graph.so
|
||||||
|
%{_libdir}/pkgconfig/libyui-qt.pc
|
||||||
|
|
||||||
|
%files ncurses
|
||||||
|
%defattr(-,root,root)
|
||||||
|
%{_libdir}/yui/libyui-ncurses.so.*
|
||||||
|
|
||||||
|
%files ncurses-devel
|
||||||
|
%defattr(-,root,root)
|
||||||
|
%{_libdir}/yui/libyui-ncurses.so
|
||||||
|
%dir %{_includedir}/yui/ncurses
|
||||||
|
%{_includedir}/yui/ncurses/*
|
||||||
|
%{_libdir}/pkgconfig/libyui-ncurses.pc
|
||||||
|
|
||||||
|
%files tools
|
||||||
|
%defattr(-,root,root)
|
||||||
|
%{_bindir}/libyui-terminal
|
||||||
|
|
||||||
|
%changelog
|
||||||
|
* Thu Nov 10 2022 Silvan Calarco <silvan.calarco@mambasoft.it> 4.3.3-1mamba
|
||||||
|
- package created using the webbuild interface
|
Loading…
Reference in New Issue
Block a user