SHA256
6
0
forked from pool/libstfl

Accepting request 307011 from home:pluskalm:branches:devel:libraries:c_c++

- Update to 0.23
  * no upstream changelog provided
- Cleanup spec file with spec-cleaner

OBS-URL: https://build.opensuse.org/request/show/307011
OBS-URL: https://build.opensuse.org/package/show/devel:libraries:c_c++/libstfl?expand=0&rev=13
This commit is contained in:
Ismail Dönmez 2015-05-13 16:37:29 +00:00 committed by Git OBS Bridge
parent 67058cf50c
commit 71d6daaea6
5 changed files with 24 additions and 21 deletions

View File

@ -1,3 +1,10 @@
-------------------------------------------------------------------
Wed May 13 15:01:26 UTC 2015 - mpluskal@suse.com
- Update to 0.23
* no upstream changelog provided
- Cleanup spec file with spec-cleaner
-------------------------------------------------------------------
Fri Mar 2 13:27:51 UTC 2012 - cfarrell@suse.com

View File

@ -1,7 +1,7 @@
#
# spec file for package libstfl
#
# Copyright (c) 2012 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
@ -17,31 +17,26 @@
%define soname 0
Name: libstfl
Version: 0.21
Version: 0.23
Release: 0
Summary: Structured Terminal Forms Library
License: LGPL-3.0+
Group: System/Libraries
Url: http://www.clifford.at/stfl/
Source: http://www.clifford.at/stfl/stfl-%{version}.tar.gz
Source99: libstfl-rpmlintrc
Patch1: stfl-optflags.patch
Patch2: stfl-ncurses.patch
Url: http://www.clifford.at/stfl/
BuildRoot: %{_tmppath}/%{name}-%{version}-build
#BuildRequires: swig perl python python-devel ruby ruby-devel
BuildRequires: gcc
BuildRequires: glibc-devel
BuildRequires: make
BuildRequires: ncurses-devel
BuildRequires: pkgconfig
BuildRequires: pkg-config
BuildRoot: %{_tmppath}/%{name}-%{version}-build
%description
.............................................................................
%package -n libstfl%{soname}
Summary: Structured Terminal Forms Library
Group: System/Libraries
@ -57,11 +52,10 @@ an application programmer does not need to spend ages fiddling around with the
GUI and can concentrate on the more interesting programming tasks.
%package -n libstfl-devel
Summary: Structured Terminal Forms Library
Group: Development/Libraries/C and C++
Requires: ncurses-devel
Requires: libstfl%{soname} = %{version}
Requires: ncurses-devel
%description -n libstfl-devel
STFL is a library which implements a curses-based widget set for text
@ -83,7 +77,7 @@ GUI and can concentrate on the more interesting programming tasks.
make %{?_smp_mflags} \
prefix="%{_prefix}" \
libdir="%{_lib}" \
CC="%__cc" \
CC="gcc" \
OPTFLAGS="%{optflags}" \
FOUND_SPL=0 \
FOUND_SWIG=0 \
@ -92,7 +86,7 @@ make %{?_smp_mflags} \
FOUND_PYTHON=0
%install
%makeinstall \
make DESTDIR=%{buildroot} install %{?_smp_mflags} \
prefix="%{_prefix}" \
libdir="%{_lib}" \
FOUND_SPL=0 \
@ -103,7 +97,7 @@ make %{?_smp_mflags} \
[ -e "%{buildroot}%{_libdir}/libstfl.so.%{soname}" ] || {
pushd "%{buildroot}%{_libdir}/"
%__ln_s libstfl.so.*.* libstfl.so.%{soname}
ln -s libstfl.so.*.* libstfl.so.%{soname}
popd
}

View File

@ -1,3 +0,0 @@
version https://git-lfs.github.com/spec/v1
oid sha256:bf0ead0a66b635602222bc9089414b99f99081b956c92baf77699d283bcc88eb
size 41093

3
stfl-0.23.tar.gz Normal file
View File

@ -0,0 +1,3 @@
version https://git-lfs.github.com/spec/v1
oid sha256:e75ed8427905ad50faf43ed5fefd0cf7b16ee0c1ca87e15d33e360bb92aedfde
size 43941

View File

@ -1,5 +1,7 @@
--- Makefile.orig 2010-06-25 00:59:31.000000000 +0200
+++ Makefile 2010-06-25 01:01:34.000000000 +0200
Index: Makefile
===================================================================
--- Makefile.orig
+++ Makefile
@@ -20,9 +20,10 @@
include Makefile.cfg
@ -13,4 +15,4 @@
+export LDLIBS += -pthread -lncursesw
SONAME := libstfl.so.0
VERSION := 0.21
VERSION := 0.23