Hello community,
here is the log from the commit of package newt for openSUSE:Factory
checked in at Fri Mar 18 10:08:06 CET 2011.
--------
--- newt/newt.changes 2011-02-04 20:26:31.000000000 +0100
+++ /mounts/work_src_done/STABLE/newt/newt.changes 2011-03-17 12:44:55.000000000 +0100
@@ -1,0 +2,18 @@
+Thu Mar 17 11:44:10 UTC 2011 - chris@computersalat.de
+
+- add comment to keep static lib
+
+-------------------------------------------------------------------
+Tue Mar 8 15:01:38 UTC 2011 - chris@computersalat.de
+
+- fix baselibs.conf
+ o newt > libnewt0_52
+- fix naming
+ o define libname libnewt
+ o define libsoname {libname}0_52
+- fix deps
+ o add pkg-config
+ o move {py_requires} to subpkg python-newt
+- remove Author from description
+
+-------------------------------------------------------------------
calling whatdependson for head-i586
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Other differences:
------------------
++++++ newt.spec ++++++
--- /var/tmp/diff_new_pack.afnTHl/_old 2011-03-18 10:06:00.000000000 +0100
+++ /var/tmp/diff_new_pack.afnTHl/_new 2011-03-18 10:06:00.000000000 +0100
@@ -15,14 +15,15 @@
# Please submit bugfixes or comments via http://bugs.opensuse.org/
#
-# norootforbuild
-%define soname 0_52
Name: newt
+%define libname lib%{name}
+%define libsoname %{libname}0_52
+
Summary: Nifty Erik's Windowing Toolkit
Version: 0.52.12
-Release: 1
+Release: 7
License: LGPLv2.1+
Group: System/Libraries
Url: https://fedorahosted.org/newt/
@@ -30,6 +31,7 @@
Source2: baselibs.conf
Source10: %{name}-rpmlintrc
BuildRoot: %{_tmppath}/%{name}-%{version}-build
+BuildRequires: pkg-config
BuildRequires: popt-devel python-devel slang-devel
%if 0%{?suse_version} < 1020
BuildRequires: libpng-devel
@@ -39,9 +41,6 @@
%if 0%{?sles_version} == 9
BuildRequires: jadetex
%endif
-%{py_requires}
-#
-Requires: libnewt%soname = %{version}
%description
Newt is a programming library for color text-mode, widget-based user
@@ -52,18 +51,13 @@
This package also contains a Dialog replacement called whiptail. Newt
is based on the slang library.
+%package -n %{libsoname}
-
-Authors:
---------
- Erik Troan
-
-%package -n libnewt0_52
License: LGPLv2.1+
Summary: Shared libraries for Nifty Erik's Windowing Toolkit
Group: System/Libraries
-%description -n libnewt0_52
+%description -n %{libsoname}
This package contains the shared libraries needed by programs built
with newt.
@@ -72,21 +66,15 @@
check boxes, radio buttons, labels, plain text fields, scrollbars,
etc., to text mode user interfaces.
-
-
-Authors:
---------
- Erik Troan
-
%package devel
License: LGPLv2.1+
Summary: Development files for the Newt windowing toolkit
Group: Development/Libraries/C and C++
-Requires: libnewt%soname = %{version}
+Requires: %{libsoname} = %{version}
Requires: python-devel
Requires: slang-devel
Requires: popt-devel
-Recommends: newt = %{version}
+Recommends: %{name} = %{version}
%description devel
This package contains the header files and libraries necessary for
@@ -97,12 +85,6 @@
Install newt-devel if you want to develop applications which depend on
newt.
-
-
-Authors:
---------
- Erik Troan
-
%package doc
License: LGPLv2.1+
Summary: Tutorial for Nifty Erik's Windowing Toolkit
@@ -116,52 +98,39 @@
check boxes, radio buttons, labels, plain text fields, scrollbars,
etc., to text mode user interfaces. Newt is based on the slang library.
-
-
-Authors:
---------
- Erik Troan
-
+# Please keep the static package as this is requested by another
+# vendor for his tool. It shouldn't be a problem to keep this
+# special package. (lrupp)
%package static
License: LGPLv2.1+
Summary: Static libraries of Nifty Erik's Windowing Toolkit
-Requires: newt-devel = %{version}
Group: Development/Libraries/C and C++
+Requires: %{name}-devel = %{version}
%description static
This package contains the static libraries needed to compile programs
based on newt which don't need the shared libraries. Install it if you
-need to link statically with libnewt.
+need to link statically with %{libname}.
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.
+%package -n python-%{name}
-
-Authors:
---------
- Erik Troan
-
-%package -n python-newt
License: GPLv2 ; GPLv2+ ; LGPLv2.1+
Summary: Python bindings for newt
Group: System/Libraries
Requires: %{name} = %{version}
Provides: %{name}-python = %{version}
-Obsoletes: %{name}-python < 0.52.10
+Obsoletes: %{name}-python < %{version}
+%{py_requires}
-%description -n python-newt
+%description -n python-%{name}
The newt-python package contains the Python bindings for the newt
library providing a python API for creating text mode interfaces.
-
-
-Authors:
---------
- Erik Troan
-
%prep
%setup -q
@@ -170,7 +139,7 @@
# --with-gpm-support
%configure --without-tcl
## make depend
-%{__make} %{?jobs:-j%jobs} all
+%{__make} %{?_smp_mflags}
%install
%{__make} PYTHONVERS="python%{py_ver}" instroot="%{buildroot}" install install-sh
@@ -181,7 +150,7 @@
for lang in ast bal sr@latin wo; do
%{__rm} -rf %{buildroot}%{_datadir}/locale/$lang
done
-#
+
# prepare defaultdocdir with examples and scripts
#
%{__install} -d -m 755 %{buildroot}%{_defaultdocdir}/%{name}/examples
@@ -200,9 +169,9 @@
popd 1>/dev/null
%find_lang %{name}
-%post -n libnewt%soname -p /sbin/ldconfig
+%post -n %{libsoname} -p /sbin/ldconfig
-%postun -n libnewt%soname -p /sbin/ldconfig
+%postun -n %{libsoname} -p /sbin/ldconfig
%clean
%{__rm} -rf %{buildroot}
@@ -219,14 +188,14 @@
%{_datadir}/locale/as/LC_MESSAGES/*
%endif
-%files -n libnewt0_52
+%files -n %{libsoname}
%defattr (-,root,root)
-%{_libdir}/libnewt.so.*
+%{_libdir}/%{libname}.so.*
%files devel
%defattr (-,root,root)
-%{_includedir}/newt.h
-%{_libdir}/libnewt.so
+%{_includedir}/%{name}.h
+%{_libdir}/%{libname}.so
%{_libdir}/pkgconfig/*.pc
%files doc
@@ -235,9 +204,9 @@
%files static
%defattr (-,root,root)
-%{_libdir}/libnewt.a
+%{_libdir}/%{libname}.a
-%files -n python-newt
+%files -n python-%{name}
%defattr(-,root,root)
%dir %{_defaultdocdir}/%{name}/examples
%doc %{_defaultdocdir}/%{name}/examples/*.py
++++++ baselibs.conf ++++++
--- /var/tmp/diff_new_pack.afnTHl/_old 2011-03-18 10:06:00.000000000 +0100
+++ /var/tmp/diff_new_pack.afnTHl/_new 2011-03-18 10:06:00.000000000 +0100
@@ -1 +1 @@
-newt
+libnewt0_52
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Remember to have fun...
--
To unsubscribe, e-mail: opensuse-commit+unsubscribe@opensuse.org
For additional commands, e-mail: opensuse-commit+help@opensuse.org