2024-01-06 06:15:07 +01:00
|
|
|
Name: libyui
|
2024-01-06 06:15:08 +01:00
|
|
|
Version: 4.5.0
|
2024-01-06 06:15:09 +01:00
|
|
|
Release: 2mamba
|
2024-01-06 06:15:07 +01:00
|
|
|
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
|
2024-01-06 06:15:07 +01:00
|
|
|
BuildRequires: libperl
|
2024-01-06 06:15:09 +01:00
|
|
|
BuildRequires: libpython310-devel
|
2024-01-06 06:15:07 +01:00
|
|
|
BuildRequires: libruby-devel
|
2024-01-06 06:15:07 +01:00
|
|
|
BuildRequires: libstdc++6-devel
|
2024-01-06 06:15:07 +01:00
|
|
|
BuildRequires: libyui-mga-devel
|
|
|
|
BuildRequires: perl-devel
|
2024-01-06 06:15:07 +01:00
|
|
|
BuildRequires: qt5-qtbase-devel
|
|
|
|
## AUTOBUILDREQ-END
|
2024-01-06 06:15:07 +01:00
|
|
|
%if "%{stage1}" != "1"
|
|
|
|
BuildRequires: libyui-mga-devel
|
|
|
|
%endif
|
2024-01-06 06:15:07 +01:00
|
|
|
|
|
|
|
%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}.
|
|
|
|
|
2024-01-06 06:15:07 +01:00
|
|
|
%package -n perl-yui
|
|
|
|
Group: System/Libraries/Perl
|
|
|
|
Summary: Perl bindings to %{name}
|
|
|
|
Requires: %{name} = %{?epoch:%epoch:}%{version}-%{release}
|
|
|
|
|
|
|
|
%description -n perl-yui
|
|
|
|
Libyui is a widget abstraction library providing Qt, GTK and ncurses frontends.
|
|
|
|
This package contains the Perl bindings to %{name}.
|
|
|
|
|
|
|
|
%package -n python-yui
|
|
|
|
Group: System/Libraries/Python
|
|
|
|
Summary: Python bindings to %{name}
|
|
|
|
Requires: %{name} = %{?epoch:%epoch:}%{version}-%{release}
|
|
|
|
|
|
|
|
%description -n python-yui
|
|
|
|
Libyui is a widget abstraction library providing Qt, GTK and ncurses frontends.
|
|
|
|
This package contains the Python bindings to %{name}.
|
|
|
|
|
|
|
|
%package -n ruby-yui
|
2024-01-06 06:15:08 +01:00
|
|
|
Group: System/Libraries
|
2024-01-06 06:15:07 +01:00
|
|
|
Summary: Ruby bindings to %{name}
|
|
|
|
Requires: %{name} = %{?epoch:%epoch:}%{version}-%{release}
|
|
|
|
|
|
|
|
%description -n ruby-yui
|
|
|
|
Libyui is a widget abstraction library providing Qt, GTK and ncurses frontends.
|
|
|
|
This package contains the Ruby bindings to %{name}.
|
|
|
|
|
2024-01-06 06:15:07 +01:00
|
|
|
%debug_package
|
|
|
|
|
|
|
|
%prep
|
|
|
|
%setup -q
|
2024-01-06 06:15:08 +01:00
|
|
|
#-D -T
|
|
|
|
#:<< _EOF
|
2024-01-06 06:15:07 +01:00
|
|
|
sed -i "s|ncursesw/||" libyui-ncurses/src/*
|
|
|
|
|
|
|
|
%build
|
2024-01-06 06:15:08 +01:00
|
|
|
#:<< _EOF
|
2024-01-06 06:15:07 +01:00
|
|
|
for pkgname in libyui libyui-qt libyui-qt-graph libyui-ncurses libyui-bindings;do
|
2024-01-06 06:15:07 +01:00
|
|
|
cd ${pkgname}
|
|
|
|
%cmake -d build \
|
|
|
|
-DWERROR=FALSE \
|
|
|
|
-DBUILD_EXAMPLES=OFF \
|
|
|
|
-DWITH_MGA=ON \
|
|
|
|
-DWITH_MONO=OFF \
|
2024-01-06 06:15:09 +01:00
|
|
|
-DPYTHON_EXECUTABLE=%{__python310} \
|
|
|
|
-DPYTHON_LIBRARY=%{_libdir}/libpython3.10.so \
|
|
|
|
-DPYTHON_INCLUDE_DIR=%{python310_inc} \
|
|
|
|
-DPYTHON_SITEDIR=%{python310_sitearch} \
|
|
|
|
-DPYTHON_LIB_DIR=%{python310_sitelib}
|
2024-01-06 06:15:07 +01:00
|
|
|
|
|
|
|
%make
|
|
|
|
cd ../..
|
|
|
|
done
|
|
|
|
|
|
|
|
%install
|
|
|
|
[ "%{buildroot}" != / ] && rm -rf "%{buildroot}"
|
2024-01-06 06:15:07 +01:00
|
|
|
for pkgname in libyui libyui-qt libyui-qt-graph libyui-ncurses libyui-bindings;do
|
2024-01-06 06:15:07 +01:00
|
|
|
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
|
|
|
|
|
2024-01-06 06:15:07 +01:00
|
|
|
%files -n perl-yui
|
|
|
|
%defattr(-,root,root)
|
|
|
|
%{perl_vendorarch}/yui.so
|
|
|
|
%{perl_vendorlib}/yui.pm
|
|
|
|
|
|
|
|
%files -n python-yui
|
|
|
|
%defattr(-,root,root)
|
2024-01-06 06:15:09 +01:00
|
|
|
%{python310_sitearch}/_yui.so
|
|
|
|
%{python310_sitearch}/yui.py
|
2024-01-06 06:15:07 +01:00
|
|
|
|
|
|
|
%files -n ruby-yui
|
|
|
|
%defattr(-,root,root)
|
|
|
|
%{_libdir}/ruby/vendor_ruby/*/*/_yui.so
|
|
|
|
|
2024-01-06 06:15:07 +01:00
|
|
|
%changelog
|
2024-01-06 06:15:09 +01:00
|
|
|
* Wed Mar 22 2023 Silvan Calarco <silvan.calarco@mambasoft.it> 4.5.0-2mamba
|
|
|
|
- rebuilt with python 3.10
|
|
|
|
|
2024-01-06 06:15:08 +01:00
|
|
|
* Sat Mar 11 2023 Automatic Build System <autodist@mambasoft.it> 4.5.0-1mamba
|
|
|
|
- automatic version update by autodist
|
|
|
|
|
2024-01-06 06:15:08 +01:00
|
|
|
* Sat Jan 14 2023 Silvan Calarco <silvan.calarco@mambasoft.it> 4.4.8-2mamba
|
|
|
|
- fix linking to python 3.11 instead of 3.7
|
|
|
|
|
|
|
|
* Fri Jan 13 2023 Automatic Build System <autodist@mambasoft.it> 4.4.8-1mamba
|
|
|
|
- automatic version update by autodist
|
|
|
|
|
2024-01-06 06:15:07 +01:00
|
|
|
* Thu Nov 10 2022 Silvan Calarco <silvan.calarco@mambasoft.it> 4.3.3-2mamba
|
|
|
|
- added bindings subpackages
|
|
|
|
|
2024-01-06 06:15:07 +01:00
|
|
|
* Thu Nov 10 2022 Silvan Calarco <silvan.calarco@mambasoft.it> 4.3.3-1mamba
|
|
|
|
- package created using the webbuild interface
|