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
|
||||
|
||||
|
||||
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
|
||||
# remain the property of their copyright owners, unless otherwise agreed
|
||||
@@ -15,14 +15,13 @@
|
||||
# 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: 2
|
||||
Release: 1
|
||||
License: LGPLv2.1+
|
||||
Group: System/Libraries
|
||||
Url: https://fedorahosted.org/newt/
|
||||
@@ -30,6 +29,7 @@ Source: %{name}-%{version}.tar.bz2
|
||||
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 +39,6 @@ BuildRequires: docbook-toys
|
||||
%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 +49,12 @@ to text mode user interfaces.
|
||||
This package also contains a Dialog replacement called whiptail. Newt
|
||||
is based on the slang library.
|
||||
|
||||
|
||||
|
||||
Authors:
|
||||
--------
|
||||
Erik Troan <ewt@redhat.com>
|
||||
|
||||
%package -n libnewt0_52
|
||||
%package -n %{libsoname}
|
||||
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 +63,15 @@ 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.
|
||||
|
||||
|
||||
|
||||
Authors:
|
||||
--------
|
||||
Erik Troan <ewt@redhat.com>
|
||||
|
||||
%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 +82,6 @@ Newt is a development library for text mode user interfaces.
|
||||
Install newt-devel if you want to develop applications which depend on
|
||||
newt.
|
||||
|
||||
|
||||
|
||||
Authors:
|
||||
--------
|
||||
Erik Troan <ewt@redhat.com>
|
||||
|
||||
%package doc
|
||||
License: LGPLv2.1+
|
||||
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,
|
||||
etc., to text mode user interfaces. Newt is based on the slang library.
|
||||
|
||||
|
||||
|
||||
Authors:
|
||||
--------
|
||||
Erik Troan <ewt@redhat.com>
|
||||
|
||||
# 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.
|
||||
|
||||
|
||||
|
||||
Authors:
|
||||
--------
|
||||
Erik Troan <ewt@redhat.com>
|
||||
|
||||
%package -n python-newt
|
||||
%package -n python-%{name}
|
||||
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 <ewt@redhat.com>
|
||||
|
||||
%prep
|
||||
%setup -q
|
||||
|
||||
@@ -170,7 +135,7 @@ Authors:
|
||||
# --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 +146,7 @@ Authors:
|
||||
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 +165,8 @@ db2pdf tutorial.sgml
|
||||
popd 1>/dev/null
|
||||
%find_lang %{name}
|
||||
|
||||
%post -n libnewt%soname -p /sbin/ldconfig
|
||||
|
||||
%postun -n libnewt%soname -p /sbin/ldconfig
|
||||
%post -n %{libsoname} -p /sbin/ldconfig
|
||||
%postun -n %{libsoname} -p /sbin/ldconfig
|
||||
|
||||
%clean
|
||||
%{__rm} -rf %{buildroot}
|
||||
@@ -219,15 +183,14 @@ popd 1>/dev/null
|
||||
%{_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
|
||||
@@ -236,9 +199,9 @@ popd 1>/dev/null
|
||||
|
||||
%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
|
||||
|
||||
Reference in New Issue
Block a user