Hello community, here is the log from the commit of package newt for openSUSE:Factory checked in at 2020-06-11 14:47:20 ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Comparing /work/SRC/openSUSE:Factory/newt (Old) and /work/SRC/openSUSE:Factory/.newt.new.3606 (New) ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Package is "newt" Thu Jun 11 14:47:20 2020 rev:48 rq:813300 version:0.52.21 Changes: -------- New Changes file: --- /dev/null 2020-05-28 02:28:09.919761697 +0200 +++ /work/SRC/openSUSE:Factory/.newt.new.3606/newt-doc.changes 2020-06-11 14:47:44.881914920 +0200 @@ -0,0 +1,4 @@ +------------------------------------------------------------------- +Wed Jun 10 07:39:31 UTC 2020 - Fabian Vogt <[email protected]> + +- Initial commit of split doc package --- /work/SRC/openSUSE:Factory/newt/newt.changes 2020-04-27 23:30:05.990553709 +0200 +++ /work/SRC/openSUSE:Factory/.newt.new.3606/newt.changes 2020-06-11 14:47:45.681917250 +0200 @@ -1,0 +2,6 @@ +Wed Jun 10 07:39:52 UTC 2020 - Fabian Vogt <[email protected]> + +- Split doc build into separate spec file +- As the example scripts are "pointless", just don't install them + +------------------------------------------------------------------- New: ---- newt-doc.changes newt-doc.spec ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Other differences: ------------------ ++++++ newt-doc.spec ++++++ # # spec file for package newt-doc # # Copyright (c) 2020 SUSE LLC # # 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 https://bugs.opensuse.org/ # Name: newt-doc Version: 0.52.21 Release: 0 Summary: Tutorial for Nifty Erik's Windowing Toolkit License: LGPL-2.1-or-later Group: Documentation/Howto URL: https://pagure.io/newt Source: https://fedorahosted.org/releases/n/e/newt/newt-%{version}.tar.gz # needed for tutorial.pdf BuildRequires: docbook-toys BuildRequires: texlive-courier BuildRequires: texlive-dvips BuildRequires: texlive-ec BuildRequires: texlive-helvetic BuildRequires: texlive-jadetex BuildRequires: texlive-times Recommends: newt = %{version} BuildArch: noarch %description This package contains a tutorial about the Newt windowing toolkit. Newt is a programming library for color text-mode, widget-based user interfaces. Newt can be used to add stacked windows, entry widgets, check boxes, radio buttons, labels, plain text fields, scrollbars, etc., to text mode user interfaces. Newt is based on the slang library. %prep %autosetup -p1 -n newt-%{version} %build # create tutorial.pdf documentation db2pdf tutorial.sgml %install %files %defattr(-,root,root) %doc tutorial.{sgml,pdf,tex} %changelog ++++++ newt.spec ++++++ --- /var/tmp/diff_new_pack.Zoivug/_old 2020-06-11 14:47:46.657920093 +0200 +++ /var/tmp/diff_new_pack.Zoivug/_new 2020-06-11 14:47:46.665920117 +0200 @@ -31,19 +31,11 @@ Source2: baselibs.conf Source10: %{name}-rpmlintrc Patch0: newt-0.52.20-implicit-pointer-decl.patch -# needed for tutorial.pdf -BuildRequires: docbook-toys BuildRequires: fdupes BuildRequires: pkgconfig BuildRequires: popt-devel BuildRequires: python3-devel BuildRequires: slang-devel -BuildRequires: texlive-courier -BuildRequires: texlive-dvips -BuildRequires: texlive-ec -BuildRequires: texlive-helvetic -BuildRequires: texlive-jadetex -BuildRequires: texlive-times %if %{with python2} BuildRequires: python-devel %endif @@ -90,22 +82,6 @@ Install newt-devel if you want to develop applications which depend on newt. -%package doc -Summary: Tutorial for Nifty Erik's Windowing Toolkit -# the examples need the main package: -License: LGPL-2.1-or-later -Group: Documentation/Howto -Recommends: %{name} = %{version} -BuildArch: noarch - -%description doc -This package contains a tutorial about the Newt windowing toolkit. - -Newt is a programming library for color text-mode, widget-based user -interfaces. Newt can be used to add stacked windows, entry widgets, -check boxes, radio buttons, labels, plain text fields, scrollbars, -etc., to text mode user interfaces. Newt is based on the slang library. - %package static # Please keep the static package as this is requested by another # vendor for his tool. It shouldn't be a problem to keep this @@ -150,8 +126,7 @@ providing a python API for creating text mode interfaces. %prep -%setup -q -%patch0 -p1 +%autosetup -p1 %build %global _lto_cflags %{_lto_cflags} -ffat-lto-objects @@ -160,7 +135,6 @@ %configure --without-tcl ## make depend make CPPFLAGS="%{optflags} -fPIC" %{?_smp_mflags} all -#docbook2txt tutorial.sgml chmod 0644 peanuts.py popcorn.py %install @@ -176,22 +150,6 @@ rm -rf %{buildroot}%{_datadir}/locale/$lang done -# prepare defaultdocdir with examples and scripts -# -install -d -m 755 %{buildroot}%{_defaultdocdir}/%{name}/examples -# install COPYING file -install -m 644 COPYING %{buildroot}%{_defaultdocdir}/%{name}/ -# install example scripts -install -m 755 peanuts.py %{buildroot}%{_defaultdocdir}/%{name}/examples/ -install -m 755 popcorn.py %{buildroot}%{_defaultdocdir}/%{name}/examples/ -# -# create tutorial.pdf documentation -# -install -m 644 tutorial.sgml %{buildroot}%{_defaultdocdir}/%{name}/ -pushd %{buildroot}%{_defaultdocdir}/%{name}/ 1>/dev/null -db2pdf tutorial.sgml -rm tutorial.{aux,log,out} CATALOG.* *.dsl -popd 1>/dev/null %find_lang %{name} %if %{with python2} @@ -201,20 +159,13 @@ %py3_compile %{buildroot}/%{python3_sitearch} %py3_compile -O %{buildroot}/%{python3_sitearch} %fdupes %{buildroot}/%{python3_sitearch} -# pointless examples -rm %{buildroot}%{_defaultdocdir}/%{name}/examples/*.py %post -n %{libsoname} -p /sbin/ldconfig %postun -n %{libsoname} -p /sbin/ldconfig %files -f %{name}.lang %defattr(-,root,root) -%dir %{_defaultdocdir}/%{name} -%if 0%{?suse_version} >= 01500 -%license %{_defaultdocdir}/%{name}/COPYING -%else -%license %{_defaultdocdir}/%{name}/COPYING -%endif +%license COPYING %{_bindir}/whiptail %{_mandir}/man1/whiptail.1%{?ext_man} @@ -228,10 +179,6 @@ %{_libdir}/%{libname}.so %{_libdir}/pkgconfig/*.pc -%files doc -%defattr(-,root,root) -%doc %{_defaultdocdir}/%{name}/tutorial.* - %files static %defattr(-,root,root) %{_libdir}/%{libname}.a
