Pascal Bleser 2009-12-10 00:42:49 +00:00 committed by Git OBS Bridge
parent 3c2efd9a06
commit b7692b94a0
4 changed files with 25 additions and 18 deletions

View File

@ -1,19 +1,19 @@
# norootforbuild
Name: libstfl
Version: 0.19
Release: 0
Summary: Structured Terminal Forms Library
Name: libstfl
Version: 0.20
Release: 0
Summary: Structured Terminal Forms Library
Source: http://www.clifford.at/stfl/stfl-%{version}.tar.gz
Patch1: stfl-optflags.patch
Patch2: stfl-ncurses.patch
Patch3: stfl-lib64.patch
URL: http://www.clifford.at/stfl/
URL: http://www.clifford.at/stfl/
Group: System/Libraries
License: GNU Lesser General Public License version 3 (LGPL v3)
License: GNU Lesser General Public License version 3 (LGPL v3)
BuildRoot: %{_tmppath}/build-%{name}-%{version}
#BuildRequires: swig perl python python-devel ruby ruby-devel
BuildRequires: ncurses-devel
BuildRequires: ncurses-devel pkgconfig
BuildRequires: gcc make glibc-devel
%description
@ -35,7 +35,7 @@ Authors:
Clifford Wolf <clifford@clifford.at>
%package -n libstfl-devel
Summary: Structured Terminal Forms Library
Summary: Structured Terminal Forms Library
Group: Development/Libraries/C and C++
Requires: ncurses-devel
@ -93,8 +93,12 @@ Authors:
%doc COPYING README
%{_includedir}/stfl.h
%{_libdir}/libstfl.a
%{_libdir}/pkgconfig/stfl.pc
%changelog
* Thu Dec 10 2009 Pascal Bleser <pascal.bleser@opensuse.org> 0.20
- update to 0.20
* Thu Aug 21 2008 Pascal Bleser <guru@unixtech.be> 0.19
- new package

View File

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

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

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

View File

@ -1,14 +1,17 @@
--- Makefile.orig 2008-08-21 01:21:17.000000000 +0200
+++ Makefile 2008-08-21 08:03:17.000000000 +0200
@@ -50,9 +50,9 @@
--- Makefile.orig 2009-12-10 01:38:36.000000000 +0100
+++ Makefile 2009-12-10 01:40:00.000000000 +0100
@@ -53,11 +53,11 @@
mv -f Makefile.deps_new Makefile.deps
install: all
- mkdir -p $(DESTDIR)$(prefix)/lib
+ mkdir -p $(DESTDIR)$(prefix)/lib64
install: all stfl.pc
- mkdir -p $(DESTDIR)$(prefix)/lib/pkgconfig
+ mkdir -p $(DESTDIR)$(prefix)/lib64/pkgconfig
mkdir -p $(DESTDIR)$(prefix)/include
- install -m 644 libstfl.a $(DESTDIR)$(prefix)/lib/
+ install -m 644 libstfl.a $(DESTDIR)$(prefix)/lib64/
install -m 644 stfl.h $(DESTDIR)$(prefix)/include/
- install -m 644 stfl.pc $(DESTDIR)$(prefix)/lib/pkgconfig/
+ install -m 644 stfl.pc $(DESTDIR)$(prefix)/lib64/pkgconfig/
ifeq ($(FOUND_SPL),1)
stfl.pc: stfl.pc.in
sed 's,@VERSION@,$(VERSION),g' < $< | sed 's,@PREFIX@,$(prefix),g' > $@