Accepting request 288283 from devel:libraries:c_c++
1 OBS-URL: https://build.opensuse.org/request/show/288283 OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/newt?expand=0&rev=39
This commit is contained in:
@@ -1,3 +0,0 @@
|
||||
version https://git-lfs.github.com/spec/v1
|
||||
oid sha256:6c67f1020f88c2e8dceb49c13767a232a678eb640ba822e1a37ed3e82cb9e91e
|
||||
size 150704
|
||||
3
newt-0.52.18.tar.gz
Normal file
3
newt-0.52.18.tar.gz
Normal file
@@ -0,0 +1,3 @@
|
||||
version https://git-lfs.github.com/spec/v1
|
||||
oid sha256:771b0e634ede56ae6a6acd910728bb5832ac13ddb0d1d27919d2498dab70c91e
|
||||
size 180425
|
||||
18
newt.changes
18
newt.changes
@@ -1,3 +1,21 @@
|
||||
-------------------------------------------------------------------
|
||||
Sun Mar 1 09:42:43 UTC 2015 - jengelh@inai.de
|
||||
|
||||
- Set RPM groups
|
||||
|
||||
-------------------------------------------------------------------
|
||||
Sun Mar 1 09:28:46 UTC 2015 - mpluskal@suse.com
|
||||
|
||||
- Cleanup spec file with spec-cleaner
|
||||
- Use url for source
|
||||
- Remove conditions dealing with unsupported releases of SLES
|
||||
- Update to 0.52.18
|
||||
* fix widget key collision in snack on 64-bit archs (#1151455)
|
||||
* handle NEWT_EXIT_ERROR in snack
|
||||
* fix preprocessor warnings in snack
|
||||
* optimize textbox reflowing
|
||||
* remove newtListitem declarations (#1074092)
|
||||
|
||||
-------------------------------------------------------------------
|
||||
Wed Nov 6 19:13:27 UTC 2013 - lars@linux-schulserver.de
|
||||
|
||||
|
||||
49
newt.spec
49
newt.spec
@@ -1,7 +1,7 @@
|
||||
#
|
||||
# spec file for package newt
|
||||
#
|
||||
# Copyright (c) 2013 SUSE LINUX Products GmbH, Nuernberg, Germany.
|
||||
# Copyright (c) 2015 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
|
||||
@@ -16,32 +16,28 @@
|
||||
#
|
||||
|
||||
|
||||
Name: newt
|
||||
%define libname lib%{name}
|
||||
%define libsoname %{libname}0_52
|
||||
|
||||
Name: newt
|
||||
Version: 0.52.18
|
||||
Release: 0
|
||||
Summary: A library for text mode user interfaces
|
||||
License: LGPL-2.1+
|
||||
Group: System/Libraries
|
||||
Version: 0.52.16
|
||||
Release: 0
|
||||
Group: Development/Libraries/C and C++
|
||||
Url: https://fedorahosted.org/newt/
|
||||
Source: %{name}-%{version}.tar.bz2
|
||||
Source: https://fedorahosted.org/releases/n/e/newt/%{name}-%{version}.tar.gz
|
||||
Source2: baselibs.conf
|
||||
Source10: %{name}-rpmlintrc
|
||||
BuildRoot: %{_tmppath}/%{name}-%{version}-build
|
||||
# needed for tutorial.pdf
|
||||
BuildRequires: docbook-toys
|
||||
BuildRequires: pkg-config
|
||||
BuildRequires: popt-devel
|
||||
BuildRequires: python-devel
|
||||
BuildRequires: slang-devel
|
||||
BuildRoot: %{_tmppath}/%{name}-%{version}-build
|
||||
%if 0%{?suse_version} < 1020
|
||||
BuildRequires: libpng-devel
|
||||
%endif
|
||||
# needed for tutorial.pdf
|
||||
BuildRequires: docbook-toys
|
||||
%if 0%{?sles_version} == 9
|
||||
BuildRequires: jadetex
|
||||
%endif
|
||||
%if 0%{?suse_version} > 1220
|
||||
BuildRequires: texlive-courier
|
||||
BuildRequires: texlive-dvips
|
||||
@@ -99,6 +95,9 @@ License: LGPL-2.1+
|
||||
Group: Documentation/Howto
|
||||
# the examples need the main package:
|
||||
Recommends: %{name} = %{version}
|
||||
%if 0%{?suse_version} > 1120
|
||||
BuildArch: noarch
|
||||
%endif
|
||||
|
||||
%description doc
|
||||
This package contains a tutorial about the Newt windowing toolkit.
|
||||
@@ -130,11 +129,11 @@ etc., to text mode user interfaces.
|
||||
%package -n python-%{name}
|
||||
Summary: Python bindings for newt
|
||||
License: GPL-2.0 and GPL-2.0+ and LGPL-2.1+
|
||||
Group: System/Libraries
|
||||
Group: Development/Libraries/Python
|
||||
Requires: %{name} = %{version}
|
||||
Provides: %{name}-python = %{version}
|
||||
Obsoletes: %{name}-python < %{version}
|
||||
%{py_requires}
|
||||
%py_requires
|
||||
|
||||
%description -n python-%{name}
|
||||
The newt-python package contains the Python bindings for the newt
|
||||
@@ -148,31 +147,31 @@ library providing a python API for creating text mode interfaces.
|
||||
# --with-gpm-support
|
||||
%configure --without-tcl
|
||||
## make depend
|
||||
%{__make} CPPFLAGS="%{optflags} -fPIC" %{?_smp_mflags} all
|
||||
make CPPFLAGS="%{optflags} -fPIC" %{?_smp_mflags} all
|
||||
#docbook2txt tutorial.sgml
|
||||
|
||||
%install
|
||||
%{__make} PYTHONVERS="python%{py_ver}" instroot="%{buildroot}" DESTDIR="%{buildroot}" install install-sh
|
||||
make PYTHONVERS="python%{py_ver}" instroot=%{buildroot} DESTDIR=%{buildroot} install install-sh
|
||||
# currently we don't support these languages
|
||||
for lang in ast bal sr@latin wo; do
|
||||
%{__rm} -rf %{buildroot}%{_datadir}/locale/$lang
|
||||
rm -rf %{buildroot}%{_datadir}/locale/$lang
|
||||
done
|
||||
|
||||
# prepare defaultdocdir with examples and scripts
|
||||
#
|
||||
%{__install} -d -m 755 %{buildroot}%{_defaultdocdir}/%{name}/examples
|
||||
install -d -m 755 %{buildroot}%{_defaultdocdir}/%{name}/examples
|
||||
# install COPYING file
|
||||
%{__install} -m 644 COPYING %{buildroot}%{_defaultdocdir}/%{name}/
|
||||
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/
|
||||
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}/
|
||||
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
|
||||
rm tutorial.{aux,log,out} CATALOG.* *.dsl
|
||||
popd 1>/dev/null
|
||||
%find_lang %{name}
|
||||
|
||||
@@ -213,7 +212,7 @@ popd 1>/dev/null
|
||||
%files -n python-%{name}
|
||||
%defattr(-,root,root)
|
||||
%dir %{_defaultdocdir}/%{name}/examples
|
||||
%doc %{_defaultdocdir}/%{name}/examples/*.py
|
||||
%doc %{_defaultdocdir}/%{name}/examples/*.py
|
||||
%{py_sitedir}/*
|
||||
|
||||
%changelog
|
||||
|
||||
Reference in New Issue
Block a user