forked from pool/libstfl
Remove redundant tags/sections; %_smp_mflags
OBS-URL: https://build.opensuse.org/package/show/devel:libraries:c_c++/libstfl?expand=0&rev=10
This commit is contained in:
@@ -1,3 +1,9 @@
|
||||
-------------------------------------------------------------------
|
||||
Tue Jan 31 10:33:30 UTC 2012 - jengelh@medozas.de
|
||||
|
||||
- Remove redundant tags/sections per specfile guideline suggestions
|
||||
- Parallel building using %_smp_mflags
|
||||
|
||||
-------------------------------------------------------------------
|
||||
Thu Jun 24 22:47:49 UTC 2010 - pascal.bleser@opensuse.org
|
||||
|
||||
|
19
libstfl.spec
19
libstfl.spec
@@ -1,7 +1,7 @@
|
||||
#
|
||||
# spec file for package libstfl
|
||||
#
|
||||
# Copyright (c) 2011 SUSE LINUX Products GmbH, Nuernberg, Germany.
|
||||
# Copyright (c) 2012 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
|
||||
@@ -22,17 +22,20 @@ Name: libstfl
|
||||
Version: 0.21
|
||||
Release: 0
|
||||
Summary: Structured Terminal Forms Library
|
||||
License: LGPL-3.0
|
||||
Group: System/Libraries
|
||||
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/
|
||||
Group: System/Libraries
|
||||
License: GNU Lesser General Public License version 3 (LGPL v3)
|
||||
BuildRoot: %{_tmppath}/%{name}-%{version}-build
|
||||
#BuildRequires: swig perl python python-devel ruby ruby-devel
|
||||
BuildRequires: ncurses-devel pkgconfig
|
||||
BuildRequires: gcc glibc-devel make
|
||||
BuildRequires: gcc
|
||||
BuildRequires: glibc-devel
|
||||
BuildRequires: make
|
||||
BuildRequires: ncurses-devel
|
||||
BuildRequires: pkgconfig
|
||||
|
||||
%description
|
||||
.............................................................................
|
||||
@@ -77,8 +80,7 @@ GUI and can concentrate on the more interesting programming tasks.
|
||||
%patch2
|
||||
|
||||
%build
|
||||
# -j breaks build
|
||||
%__make %{?jobs:-j%{jobs}} \
|
||||
make %{?_smp_mflags} \
|
||||
prefix="%{_prefix}" \
|
||||
libdir="%{_lib}" \
|
||||
CC="%__cc" \
|
||||
@@ -109,9 +111,6 @@ GUI and can concentrate on the more interesting programming tasks.
|
||||
|
||||
%postun -n libstfl%{soname} -p /sbin/ldconfig
|
||||
|
||||
%clean
|
||||
%{?buildroot:%__rm -rf "%{buildroot}"}
|
||||
|
||||
%files -n libstfl%{soname}
|
||||
%defattr(-,root,root)
|
||||
%doc COPYING README
|
||||
|
Reference in New Issue
Block a user