add files
This commit is contained in:
parent
da8e389ea0
commit
2c52ceb0a8
BIN
libyui-ncurses-2.54.5.tar.bz2
Normal file
BIN
libyui-ncurses-2.54.5.tar.bz2
Normal file
Binary file not shown.
4
libyui-ncurses-doc.changes
Normal file
4
libyui-ncurses-doc.changes
Normal file
@ -0,0 +1,4 @@
|
||||
-------------------------------------------------------------------
|
||||
Thu Jun 12 14:45:00 CEST 2012 - bjoern.esser@gmail.com
|
||||
|
||||
- initial package
|
||||
83
libyui-ncurses-doc.spec
Normal file
83
libyui-ncurses-doc.spec
Normal file
@ -0,0 +1,83 @@
|
||||
#
|
||||
# spec file for package libyui-ncurses-doc
|
||||
#
|
||||
# Copyright (c) 2020 SUSE LINUX GmbH, Nuernberg, Germany.
|
||||
#
|
||||
# All modifications and additions to the file contributed by third parties
|
||||
# remain the property of their copyright owners, unless otherwise agreed
|
||||
# upon. The license for this file, and modifications and additions to the
|
||||
# file, is the same license as for the pristine package itself (unless the
|
||||
# license for the pristine package is not an Open Source License, in which
|
||||
# case the license is the MIT License). An "Open Source License" is a
|
||||
# license that conforms to the Open Source Definition (Version 1.9)
|
||||
# published by the Open Source Initiative.
|
||||
|
||||
# Please submit bugfixes or comments via http://bugs.opensuse.org/
|
||||
#
|
||||
|
||||
|
||||
%define parent libyui-ncurses
|
||||
%define so_version 11
|
||||
|
||||
Name: %{parent}-doc
|
||||
Version: 2.54.5
|
||||
Release: 0
|
||||
Source: %{parent}-%{version}.tar.bz2
|
||||
|
||||
BuildArch: noarch
|
||||
|
||||
BuildRequires: cmake >= 2.8
|
||||
BuildRequires: doxygen
|
||||
BuildRequires: fdupes
|
||||
BuildRequires: gcc-c++
|
||||
BuildRequires: graphviz-gnome
|
||||
BuildRequires: texlive-latex
|
||||
# YCustomStatusItemSelector
|
||||
BuildRequires: libyui-devel >= 3.8.4
|
||||
|
||||
Url: http://github.com/libyui/
|
||||
Summary: Libyui-ncurses documentation
|
||||
License: LGPL-2.1-only OR LGPL-3.0-only
|
||||
Group: Documentation/HTML
|
||||
|
||||
%description
|
||||
This package contains the character based (ncurses) user interface
|
||||
component for libYUI.
|
||||
|
||||
|
||||
This package provides the documentation. (HTML & PDF)
|
||||
|
||||
|
||||
%prep
|
||||
|
||||
%setup -n %{parent}-%{version}
|
||||
|
||||
%build
|
||||
|
||||
export CFLAGS="$RPM_OPT_FLAGS -DNDEBUG"
|
||||
export CXXFLAGS="$RPM_OPT_FLAGS -DNDEBUG"
|
||||
|
||||
./bootstrap.sh %{_prefix}
|
||||
|
||||
mkdir build
|
||||
cd build
|
||||
cmake .. \
|
||||
-DDOC_DIR=%{_docdir} \
|
||||
-DDOCS_ONLY=ON
|
||||
|
||||
make %{?jobs:-j%jobs} docs
|
||||
|
||||
%install
|
||||
cd build
|
||||
make install DESTDIR="$RPM_BUILD_ROOT"
|
||||
|
||||
%fdupes -s $RPM_BUILD_ROOT/%_docdir/%{parent}%{so_version}
|
||||
|
||||
%clean
|
||||
rm -rf "$RPM_BUILD_ROOT"
|
||||
|
||||
%files
|
||||
%defattr(-,root,root)
|
||||
%doc %{_docdir}/%{parent}%{so_version}
|
||||
|
||||
%changelog
|
||||
3200
libyui-ncurses.changes
Normal file
3200
libyui-ncurses.changes
Normal file
File diff suppressed because it is too large
Load Diff
173
libyui-ncurses.spec
Normal file
173
libyui-ncurses.spec
Normal file
@ -0,0 +1,173 @@
|
||||
#
|
||||
# spec file for package libyui-ncurses
|
||||
#
|
||||
# Copyright (c) 2020 SUSE LINUX GmbH, Nuernberg, Germany.
|
||||
#
|
||||
# All modifications and additions to the file contributed by third parties
|
||||
# remain the property of their copyright owners, unless otherwise agreed
|
||||
# upon. The license for this file, and modifications and additions to the
|
||||
# file, is the same license as for the pristine package itself (unless the
|
||||
# license for the pristine package is not an Open Source License, in which
|
||||
# case the license is the MIT License). An "Open Source License" is a
|
||||
# license that conforms to the Open Source Definition (Version 1.9)
|
||||
# published by the Open Source Initiative.
|
||||
|
||||
# Please submit bugfixes or comments via http://bugs.opensuse.org/
|
||||
#
|
||||
|
||||
|
||||
Name: libyui-ncurses
|
||||
Version: 2.54.5
|
||||
Release: 0
|
||||
Source: %{name}-%{version}.tar.bz2
|
||||
|
||||
%define so_version 11
|
||||
%define bin_name %{name}%{so_version}
|
||||
|
||||
%if 0%{?suse_version} > 1325
|
||||
BuildRequires: libboost_headers-devel
|
||||
%else
|
||||
BuildRequires: boost-devel
|
||||
%endif
|
||||
BuildRequires: cmake >= 2.8
|
||||
BuildRequires: gcc-c++
|
||||
BuildRequires: pkg-config
|
||||
|
||||
# YTableCell::sortKey
|
||||
%define libyui_devel_version libyui-devel >= 3.9.1
|
||||
BuildRequires: %{libyui_devel_version}
|
||||
BuildRequires: ncurses-devel
|
||||
|
||||
Url: http://github.com/libyui/
|
||||
Summary: Libyui - Character Based User Interface
|
||||
License: LGPL-2.1-only OR LGPL-3.0-only
|
||||
Group: System/Libraries
|
||||
|
||||
%description
|
||||
This package contains the character based (ncurses) user interface
|
||||
component for libYUI.
|
||||
|
||||
|
||||
%package -n %{bin_name}
|
||||
|
||||
Requires: glibc-locale
|
||||
Requires: libyui%{so_version}
|
||||
Provides: %{name} = %{version}
|
||||
Provides: yast2-ncurses = 2.42.0
|
||||
Obsoletes: yast2-ncurses < 2.42.0
|
||||
Provides: yui_backend = %{so_version}
|
||||
|
||||
Url: http://github.com/libyui/
|
||||
Summary: Libyui - Character Based User Interface
|
||||
Group: System/Libraries
|
||||
|
||||
%description -n %{bin_name}
|
||||
This package contains the character based (ncurses) user interface
|
||||
component for libYUI.
|
||||
|
||||
|
||||
|
||||
%package devel
|
||||
|
||||
Requires: %{libyui_devel_version}
|
||||
%if 0%{?suse_version} > 1325
|
||||
Requires: libboost_headers-devel
|
||||
%else
|
||||
Requires: boost-devel
|
||||
%endif
|
||||
Requires: %{bin_name} = %{version}
|
||||
Requires: glibc-devel
|
||||
Requires: libstdc++-devel
|
||||
Requires: ncurses-devel
|
||||
|
||||
Url: http://github.com/libyui/
|
||||
Summary: Libyui-ncurses header files
|
||||
Group: Development/Languages/C and C++
|
||||
|
||||
%description devel
|
||||
This package contains the character based (ncurses) user interface
|
||||
component for libYUI.
|
||||
|
||||
|
||||
This can be used independently of YaST for generic (C++) applications.
|
||||
This package has very few dependencies.
|
||||
|
||||
%package tools
|
||||
|
||||
Url: http://github.com/libyui/
|
||||
Summary: Libyui-ncurses tools
|
||||
# conflict with libyui-ncurses8, /usr/bin/libyui-terminal was originally there
|
||||
Group: System/Libraries
|
||||
Conflicts: %{name}8
|
||||
|
||||
Requires: screen
|
||||
|
||||
%description tools
|
||||
Character based (ncurses) user interface component for libYUI.
|
||||
|
||||
libyui-terminal - useful for testing on headless machines
|
||||
|
||||
%prep
|
||||
%setup -q -n %{name}-%{version}
|
||||
|
||||
%build
|
||||
|
||||
export CFLAGS="$RPM_OPT_FLAGS -DNDEBUG"
|
||||
export CXXFLAGS="$RPM_OPT_FLAGS -DNDEBUG"
|
||||
|
||||
./bootstrap.sh %{_prefix}
|
||||
|
||||
mkdir build
|
||||
cd build
|
||||
|
||||
%if %{?_with_debug:1}%{!?_with_debug:0}
|
||||
cmake .. \
|
||||
-DYPREFIX=%{_prefix} \
|
||||
-DDOC_DIR=%{_docdir} \
|
||||
-DLIB_DIR=%{_lib} \
|
||||
-DCMAKE_BUILD_TYPE=RELWITHDEBINFO
|
||||
%else
|
||||
cmake .. \
|
||||
-DYPREFIX=%{_prefix} \
|
||||
-DDOC_DIR=%{_docdir} \
|
||||
-DLIB_DIR=%{_lib} \
|
||||
-DCMAKE_BUILD_TYPE=RELEASE
|
||||
%endif
|
||||
|
||||
make %{?jobs:-j%jobs}
|
||||
|
||||
%install
|
||||
cd build
|
||||
make install DESTDIR="$RPM_BUILD_ROOT"
|
||||
install -m0755 -d $RPM_BUILD_ROOT/%{_docdir}/%{bin_name}/
|
||||
install -m0755 -d $RPM_BUILD_ROOT/%{_libdir}/yui
|
||||
install -m0644 ../COPYING* $RPM_BUILD_ROOT/%{_docdir}/%{bin_name}/
|
||||
|
||||
%clean
|
||||
rm -rf "$RPM_BUILD_ROOT"
|
||||
|
||||
%post -n %{bin_name} -p /sbin/ldconfig
|
||||
|
||||
%postun -n %{bin_name} -p /sbin/ldconfig
|
||||
|
||||
%files -n %{bin_name}
|
||||
%defattr(-,root,root)
|
||||
%dir %{_libdir}/yui
|
||||
%{_libdir}/yui/lib*.so.*
|
||||
%doc %dir %{_docdir}/packages/%{bin_name}
|
||||
%license %{_docdir}/%{bin_name}/COPYING*
|
||||
|
||||
%files devel
|
||||
%defattr(-,root,root)
|
||||
%dir %{_docdir}/packages/%{bin_name}
|
||||
%{_libdir}/yui/lib*.so
|
||||
%{_prefix}/include/yui
|
||||
%{_libdir}/pkgconfig/%{name}.pc
|
||||
%{_libdir}/cmake/%{name}
|
||||
%{_datadir}/libyui
|
||||
|
||||
%files tools
|
||||
%defattr(-,root,root)
|
||||
%{_bindir}/libyui-terminal
|
||||
|
||||
%changelog
|
||||
Loading…
Reference in New Issue
Block a user