diff --git a/libstfl.changes b/libstfl.changes index fcf71fb..5012f3f 100644 --- a/libstfl.changes +++ b/libstfl.changes @@ -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 diff --git a/libstfl.spec b/libstfl.spec index df62636..04b05fa 100644 --- a/libstfl.spec +++ b/libstfl.spec @@ -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 } diff --git a/stfl-0.21.tar.gz b/stfl-0.21.tar.gz deleted file mode 100644 index 2c6480a..0000000 --- a/stfl-0.21.tar.gz +++ /dev/null @@ -1,3 +0,0 @@ -version https://git-lfs.github.com/spec/v1 -oid sha256:bf0ead0a66b635602222bc9089414b99f99081b956c92baf77699d283bcc88eb -size 41093 diff --git a/stfl-0.23.tar.gz b/stfl-0.23.tar.gz new file mode 100644 index 0000000..08f10bc --- /dev/null +++ b/stfl-0.23.tar.gz @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:e75ed8427905ad50faf43ed5fefd0cf7b16ee0c1ca87e15d33e360bb92aedfde +size 43941 diff --git a/stfl-optflags.patch b/stfl-optflags.patch index f7b9a1b..d24e3d8 100644 --- a/stfl-optflags.patch +++ b/stfl-optflags.patch @@ -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