Accepting request 64397 from home:computersalat:devel:tel
OBS-URL: https://build.opensuse.org/request/show/64397 OBS-URL: https://build.opensuse.org/package/show/devel:libraries:c_c++/newt?expand=0&rev=10
This commit is contained in:
committed by
Git OBS Bridge
parent
57e9719f6d
commit
e4d701dcaf
@@ -1 +1 @@
|
|||||||
newt
|
libnewt0_52
|
||||||
|
|||||||
18
newt.changes
18
newt.changes
@@ -1,3 +1,21 @@
|
|||||||
|
-------------------------------------------------------------------
|
||||||
|
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
|
||||||
|
|
||||||
-------------------------------------------------------------------
|
-------------------------------------------------------------------
|
||||||
Fri Feb 4 19:08:58 UTC 2011 - lars@linux-schulserver.de
|
Fri Feb 4 19:08:58 UTC 2011 - lars@linux-schulserver.de
|
||||||
|
|
||||||
|
|||||||
97
newt.spec
97
newt.spec
@@ -1,7 +1,7 @@
|
|||||||
#
|
#
|
||||||
# spec file for package newt (Version 0.52.11)
|
# spec file for package newt
|
||||||
#
|
#
|
||||||
# Copyright (c) 2010 SUSE LINUX Products GmbH, Nuernberg, Germany.
|
# Copyright (c) 2011 SUSE LINUX Products GmbH, Nuernberg, Germany.
|
||||||
#
|
#
|
||||||
# All modifications and additions to the file contributed by third parties
|
# All modifications and additions to the file contributed by third parties
|
||||||
# remain the property of their copyright owners, unless otherwise agreed
|
# remain the property of their copyright owners, unless otherwise agreed
|
||||||
@@ -15,14 +15,13 @@
|
|||||||
# Please submit bugfixes or comments via http://bugs.opensuse.org/
|
# Please submit bugfixes or comments via http://bugs.opensuse.org/
|
||||||
#
|
#
|
||||||
|
|
||||||
# norootforbuild
|
|
||||||
|
|
||||||
%define soname 0_52
|
|
||||||
|
|
||||||
Name: newt
|
Name: newt
|
||||||
|
%define libname lib%{name}
|
||||||
|
%define libsoname %{libname}0_52
|
||||||
|
|
||||||
Summary: Nifty Erik's Windowing Toolkit
|
Summary: Nifty Erik's Windowing Toolkit
|
||||||
Version: 0.52.12
|
Version: 0.52.12
|
||||||
Release: 2
|
Release: 1
|
||||||
License: LGPLv2.1+
|
License: LGPLv2.1+
|
||||||
Group: System/Libraries
|
Group: System/Libraries
|
||||||
Url: https://fedorahosted.org/newt/
|
Url: https://fedorahosted.org/newt/
|
||||||
@@ -30,6 +29,7 @@ Source: %{name}-%{version}.tar.bz2
|
|||||||
Source2: baselibs.conf
|
Source2: baselibs.conf
|
||||||
Source10: %{name}-rpmlintrc
|
Source10: %{name}-rpmlintrc
|
||||||
BuildRoot: %{_tmppath}/%{name}-%{version}-build
|
BuildRoot: %{_tmppath}/%{name}-%{version}-build
|
||||||
|
BuildRequires: pkg-config
|
||||||
BuildRequires: popt-devel python-devel slang-devel
|
BuildRequires: popt-devel python-devel slang-devel
|
||||||
%if 0%{?suse_version} < 1020
|
%if 0%{?suse_version} < 1020
|
||||||
BuildRequires: libpng-devel
|
BuildRequires: libpng-devel
|
||||||
@@ -39,9 +39,6 @@ BuildRequires: docbook-toys
|
|||||||
%if 0%{?sles_version} == 9
|
%if 0%{?sles_version} == 9
|
||||||
BuildRequires: jadetex
|
BuildRequires: jadetex
|
||||||
%endif
|
%endif
|
||||||
%{py_requires}
|
|
||||||
#
|
|
||||||
Requires: libnewt%soname = %{version}
|
|
||||||
|
|
||||||
%description
|
%description
|
||||||
Newt is a programming library for color text-mode, widget-based user
|
Newt is a programming library for color text-mode, widget-based user
|
||||||
@@ -52,18 +49,12 @@ to text mode user interfaces.
|
|||||||
This package also contains a Dialog replacement called whiptail. Newt
|
This package also contains a Dialog replacement called whiptail. Newt
|
||||||
is based on the slang library.
|
is based on the slang library.
|
||||||
|
|
||||||
|
%package -n %{libsoname}
|
||||||
|
|
||||||
Authors:
|
|
||||||
--------
|
|
||||||
Erik Troan <ewt@redhat.com>
|
|
||||||
|
|
||||||
%package -n libnewt0_52
|
|
||||||
License: LGPLv2.1+
|
License: LGPLv2.1+
|
||||||
Summary: Shared libraries for Nifty Erik's Windowing Toolkit
|
Summary: Shared libraries for Nifty Erik's Windowing Toolkit
|
||||||
Group: System/Libraries
|
Group: System/Libraries
|
||||||
|
|
||||||
%description -n libnewt0_52
|
%description -n %{libsoname}
|
||||||
This package contains the shared libraries needed by programs built
|
This package contains the shared libraries needed by programs built
|
||||||
with newt.
|
with newt.
|
||||||
|
|
||||||
@@ -72,21 +63,15 @@ interfaces. Newt can be used to add stacked windows, entry widgets,
|
|||||||
check boxes, radio buttons, labels, plain text fields, scrollbars,
|
check boxes, radio buttons, labels, plain text fields, scrollbars,
|
||||||
etc., to text mode user interfaces.
|
etc., to text mode user interfaces.
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
Authors:
|
|
||||||
--------
|
|
||||||
Erik Troan <ewt@redhat.com>
|
|
||||||
|
|
||||||
%package devel
|
%package devel
|
||||||
License: LGPLv2.1+
|
License: LGPLv2.1+
|
||||||
Summary: Development files for the Newt windowing toolkit
|
Summary: Development files for the Newt windowing toolkit
|
||||||
Group: Development/Libraries/C and C++
|
Group: Development/Libraries/C and C++
|
||||||
Requires: libnewt%soname = %{version}
|
Requires: %{libsoname} = %{version}
|
||||||
Requires: python-devel
|
Requires: python-devel
|
||||||
Requires: slang-devel
|
Requires: slang-devel
|
||||||
Requires: popt-devel
|
Requires: popt-devel
|
||||||
Recommends: newt = %{version}
|
Recommends: %{name} = %{version}
|
||||||
|
|
||||||
%description devel
|
%description devel
|
||||||
This package contains the header files and libraries necessary for
|
This package contains the header files and libraries necessary for
|
||||||
@@ -97,12 +82,6 @@ Newt is a development library for text mode user interfaces.
|
|||||||
Install newt-devel if you want to develop applications which depend on
|
Install newt-devel if you want to develop applications which depend on
|
||||||
newt.
|
newt.
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
Authors:
|
|
||||||
--------
|
|
||||||
Erik Troan <ewt@redhat.com>
|
|
||||||
|
|
||||||
%package doc
|
%package doc
|
||||||
License: LGPLv2.1+
|
License: LGPLv2.1+
|
||||||
Summary: Tutorial for Nifty Erik's Windowing Toolkit
|
Summary: Tutorial for Nifty Erik's Windowing Toolkit
|
||||||
@@ -116,52 +95,38 @@ interfaces. Newt can be used to add stacked windows, entry widgets,
|
|||||||
check boxes, radio buttons, labels, plain text fields, scrollbars,
|
check boxes, radio buttons, labels, plain text fields, scrollbars,
|
||||||
etc., to text mode user interfaces. Newt is based on the slang library.
|
etc., to text mode user interfaces. Newt is based on the slang library.
|
||||||
|
|
||||||
|
# Please keep the static package as this is requested by another
|
||||||
|
# vendor for his tool. It shouldn't be a problem to keep this
|
||||||
Authors:
|
# special package. (lrupp)
|
||||||
--------
|
|
||||||
Erik Troan <ewt@redhat.com>
|
|
||||||
|
|
||||||
%package static
|
%package static
|
||||||
License: LGPLv2.1+
|
License: LGPLv2.1+
|
||||||
Summary: Static libraries of Nifty Erik's Windowing Toolkit
|
Summary: Static libraries of Nifty Erik's Windowing Toolkit
|
||||||
Requires: newt-devel = %{version}
|
|
||||||
Group: Development/Libraries/C and C++
|
Group: Development/Libraries/C and C++
|
||||||
|
Requires: %{name}-devel = %{version}
|
||||||
|
|
||||||
%description static
|
%description static
|
||||||
This package contains the static libraries needed to compile programs
|
This package contains the static libraries needed to compile programs
|
||||||
based on newt which don't need the shared libraries. Install it if you
|
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
|
Newt is a programming library for color text-mode widget-based user
|
||||||
interfaces. Newt can be used to add stacked windows, entry widgets,
|
interfaces. Newt can be used to add stacked windows, entry widgets,
|
||||||
check boxes, radio buttons, labels, plain text fields, scrollbars,
|
check boxes, radio buttons, labels, plain text fields, scrollbars,
|
||||||
etc., to text mode user interfaces.
|
etc., to text mode user interfaces.
|
||||||
|
|
||||||
|
%package -n python-%{name}
|
||||||
|
|
||||||
Authors:
|
|
||||||
--------
|
|
||||||
Erik Troan <ewt@redhat.com>
|
|
||||||
|
|
||||||
%package -n python-newt
|
|
||||||
License: GPLv2 ; GPLv2+ ; LGPLv2.1+
|
License: GPLv2 ; GPLv2+ ; LGPLv2.1+
|
||||||
Summary: Python bindings for newt
|
Summary: Python bindings for newt
|
||||||
Group: System/Libraries
|
Group: System/Libraries
|
||||||
Requires: %{name} = %{version}
|
Requires: %{name} = %{version}
|
||||||
Provides: %{name}-python = %{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
|
The newt-python package contains the Python bindings for the newt
|
||||||
library providing a python API for creating text mode interfaces.
|
library providing a python API for creating text mode interfaces.
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
Authors:
|
|
||||||
--------
|
|
||||||
Erik Troan <ewt@redhat.com>
|
|
||||||
|
|
||||||
%prep
|
%prep
|
||||||
%setup -q
|
%setup -q
|
||||||
|
|
||||||
@@ -170,7 +135,7 @@ Authors:
|
|||||||
# --with-gpm-support
|
# --with-gpm-support
|
||||||
%configure --without-tcl
|
%configure --without-tcl
|
||||||
## make depend
|
## make depend
|
||||||
%{__make} %{?jobs:-j%jobs} all
|
%{__make} %{?_smp_mflags}
|
||||||
|
|
||||||
%install
|
%install
|
||||||
%{__make} PYTHONVERS="python%{py_ver}" instroot="%{buildroot}" install install-sh
|
%{__make} PYTHONVERS="python%{py_ver}" instroot="%{buildroot}" install install-sh
|
||||||
@@ -181,7 +146,7 @@ Authors:
|
|||||||
for lang in ast bal sr@latin wo; do
|
for lang in ast bal sr@latin wo; do
|
||||||
%{__rm} -rf %{buildroot}%{_datadir}/locale/$lang
|
%{__rm} -rf %{buildroot}%{_datadir}/locale/$lang
|
||||||
done
|
done
|
||||||
#
|
|
||||||
# prepare defaultdocdir with examples and scripts
|
# prepare defaultdocdir with examples and scripts
|
||||||
#
|
#
|
||||||
%{__install} -d -m 755 %{buildroot}%{_defaultdocdir}/%{name}/examples
|
%{__install} -d -m 755 %{buildroot}%{_defaultdocdir}/%{name}/examples
|
||||||
@@ -200,9 +165,8 @@ db2pdf tutorial.sgml
|
|||||||
popd 1>/dev/null
|
popd 1>/dev/null
|
||||||
%find_lang %{name}
|
%find_lang %{name}
|
||||||
|
|
||||||
%post -n libnewt%soname -p /sbin/ldconfig
|
%post -n %{libsoname} -p /sbin/ldconfig
|
||||||
|
%postun -n %{libsoname} -p /sbin/ldconfig
|
||||||
%postun -n libnewt%soname -p /sbin/ldconfig
|
|
||||||
|
|
||||||
%clean
|
%clean
|
||||||
%{__rm} -rf %{buildroot}
|
%{__rm} -rf %{buildroot}
|
||||||
@@ -219,15 +183,14 @@ popd 1>/dev/null
|
|||||||
%{_datadir}/locale/as/LC_MESSAGES/*
|
%{_datadir}/locale/as/LC_MESSAGES/*
|
||||||
%endif
|
%endif
|
||||||
|
|
||||||
|
%files -n %{libsoname}
|
||||||
%files -n libnewt0_52
|
|
||||||
%defattr (-,root,root)
|
%defattr (-,root,root)
|
||||||
%{_libdir}/libnewt.so.*
|
%{_libdir}/%{libname}.so.*
|
||||||
|
|
||||||
%files devel
|
%files devel
|
||||||
%defattr (-,root,root)
|
%defattr (-,root,root)
|
||||||
%{_includedir}/newt.h
|
%{_includedir}/%{name}.h
|
||||||
%{_libdir}/libnewt.so
|
%{_libdir}/%{libname}.so
|
||||||
%{_libdir}/pkgconfig/*.pc
|
%{_libdir}/pkgconfig/*.pc
|
||||||
|
|
||||||
%files doc
|
%files doc
|
||||||
@@ -236,9 +199,9 @@ popd 1>/dev/null
|
|||||||
|
|
||||||
%files static
|
%files static
|
||||||
%defattr (-,root,root)
|
%defattr (-,root,root)
|
||||||
%{_libdir}/libnewt.a
|
%{_libdir}/%{libname}.a
|
||||||
|
|
||||||
%files -n python-newt
|
%files -n python-%{name}
|
||||||
%defattr(-,root,root)
|
%defattr(-,root,root)
|
||||||
%dir %{_defaultdocdir}/%{name}/examples
|
%dir %{_defaultdocdir}/%{name}/examples
|
||||||
%doc %{_defaultdocdir}/%{name}/examples/*.py
|
%doc %{_defaultdocdir}/%{name}/examples/*.py
|
||||||
|
|||||||
Reference in New Issue
Block a user