Accepting request 578355 from home:jengelh:branches:devel:libraries:c_c++
- Rename %soname to %sover to better reflect its use. - Fix RPM groups. Ensure neutrality of description. OBS-URL: https://build.opensuse.org/request/show/578355 OBS-URL: https://build.opensuse.org/package/show/devel:libraries:c_c++/libstfl?expand=0&rev=17
This commit is contained in:
parent
37cdb642ba
commit
d436a1db48
@ -1,3 +1,9 @@
|
|||||||
|
-------------------------------------------------------------------
|
||||||
|
Tue Feb 20 13:31:43 UTC 2018 - jengelh@inai.de
|
||||||
|
|
||||||
|
- Rename %soname to %sover to better reflect its use.
|
||||||
|
- Fix RPM groups. Ensure neutrality of description.
|
||||||
|
|
||||||
-------------------------------------------------------------------
|
-------------------------------------------------------------------
|
||||||
Sun Feb 18 06:53:38 UTC 2018 - avindra@opensuse.org
|
Sun Feb 18 06:53:38 UTC 2018 - avindra@opensuse.org
|
||||||
|
|
||||||
|
45
libstfl.spec
45
libstfl.spec
@ -16,13 +16,13 @@
|
|||||||
#
|
#
|
||||||
|
|
||||||
|
|
||||||
%define soname 0
|
%define sover 0
|
||||||
Name: libstfl
|
Name: libstfl
|
||||||
Version: 0.24
|
Version: 0.24
|
||||||
Release: 0
|
Release: 0
|
||||||
Summary: Structured Terminal Forms Library
|
Summary: Structured Terminal Forms Library
|
||||||
License: LGPL-3.0+
|
License: LGPL-3.0+
|
||||||
Group: System/Libraries
|
Group: Development/Libraries/C and C++
|
||||||
Url: http://www.clifford.at/stfl/
|
Url: http://www.clifford.at/stfl/
|
||||||
Source: http://www.clifford.at/stfl/stfl-%{version}.tar.gz
|
Source: http://www.clifford.at/stfl/stfl-%{version}.tar.gz
|
||||||
Source99: libstfl-rpmlintrc
|
Source99: libstfl-rpmlintrc
|
||||||
@ -32,39 +32,34 @@ BuildRequires: ncurses-devel
|
|||||||
BuildRequires: pkgconfig
|
BuildRequires: pkgconfig
|
||||||
|
|
||||||
%description
|
%description
|
||||||
.............................................................................
|
STFL is a library which implements a curses-based widget set for text
|
||||||
|
terminals. The STFL API can be used from C, SPL, Python, Perl and Ruby.
|
||||||
|
|
||||||
%package -n libstfl%{soname}
|
%package -n libstfl%{sover}
|
||||||
Summary: Structured Terminal Forms Library
|
Summary: Structured Terminal Forms Library
|
||||||
Group: System/Libraries
|
Group: System/Libraries
|
||||||
|
|
||||||
%description -n libstfl%{soname}
|
%description -n libstfl%{sover}
|
||||||
STFL is a library which implements a curses-based widget set for text
|
STFL is a library which implements a curses-based widget set for text
|
||||||
terminals. The STFL API can be used from C, SPL, Python, Perl and Ruby. Since
|
terminals. The STFL API can be used from C, SPL, Python, Perl and Ruby.
|
||||||
the API is only 14 simple function calls big and there are already generic
|
|
||||||
SWIG bindings it is very easy to port STFL to additional scripting languages.
|
|
||||||
|
|
||||||
A special language (the Structured Terminal Forms Language) is used to
|
A special language (the Structured Terminal Forms Language) is used to
|
||||||
describe STFL GUIs. The language is designed to be easy and fast to write so
|
describe STFL GUIs.
|
||||||
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
|
%package -n libstfl-devel
|
||||||
Summary: Structured Terminal Forms Library
|
Summary: Structured Terminal Forms Library
|
||||||
Group: Development/Libraries/C and C++
|
Group: Development/Libraries/C and C++
|
||||||
Requires: libstfl%{soname} = %{version}
|
Requires: libstfl%{sover} = %{version}
|
||||||
Requires: ncurses-devel
|
Requires: ncurses-devel
|
||||||
|
|
||||||
%description -n libstfl-devel
|
%description -n libstfl-devel
|
||||||
STFL is a library which implements a curses-based widget set for text
|
STFL is a library which implements a curses-based widget set for text
|
||||||
terminals. The STFL API can be used from C, SPL, Python, Perl and Ruby. Since
|
terminals. The STFL API can be used from C, SPL, Python, Perl and Ruby.
|
||||||
the API is only 14 simple function calls big and there are already generic
|
The API has only 14 function calls and generic SWIG bindings exist
|
||||||
SWIG bindings it is very easy to port STFL to additional scripting languages.
|
already for porting STFL to other scripting languages.
|
||||||
|
|
||||||
A special language (the Structured Terminal Forms Language) is used to
|
A special language (the Structured Terminal Forms Language) is used to
|
||||||
describe STFL GUIs. The language is designed to be easy and fast to write so
|
describe STFL GUIs.
|
||||||
an application programmer does not need to spend ages fiddling around with the
|
|
||||||
GUI and can concentrate on the more interesting programming tasks.
|
|
||||||
|
|
||||||
%prep
|
%prep
|
||||||
%setup -q -n "stfl-%{version}"
|
%setup -q -n "stfl-%{version}"
|
||||||
@ -86,19 +81,19 @@ make %{?_smp_mflags} \
|
|||||||
libdir="%{_lib}" \
|
libdir="%{_lib}" \
|
||||||
prefix="%{_prefix}"
|
prefix="%{_prefix}"
|
||||||
|
|
||||||
[ -e "%{buildroot}%{_libdir}/libstfl.so.%{soname}" ] || {
|
[ -e "%{buildroot}%{_libdir}/libstfl.so.%{sover}" ] || {
|
||||||
pushd "%{buildroot}%{_libdir}/"
|
pushd "%{buildroot}%{_libdir}/"
|
||||||
ln -s libstfl.so.*.* libstfl.so.%{soname}
|
ln -s libstfl.so.*.* libstfl.so.%{sover}
|
||||||
popd
|
popd
|
||||||
}
|
}
|
||||||
|
|
||||||
%post -n libstfl%{soname} -p /sbin/ldconfig
|
%post -n libstfl%{sover} -p /sbin/ldconfig
|
||||||
%postun -n libstfl%{soname} -p /sbin/ldconfig
|
%postun -n libstfl%{sover} -p /sbin/ldconfig
|
||||||
|
|
||||||
%files -n libstfl%{soname}
|
%files -n libstfl%{sover}
|
||||||
%doc COPYING README
|
%doc COPYING README
|
||||||
%{_libdir}/libstfl.so.%{soname}
|
%{_libdir}/libstfl.so.%{sover}
|
||||||
%{_libdir}/libstfl.so.%{soname}.*
|
%{_libdir}/libstfl.so.%{sover}.*
|
||||||
|
|
||||||
%files -n libstfl-devel
|
%files -n libstfl-devel
|
||||||
%{_includedir}/stfl.h
|
%{_includedir}/stfl.h
|
||||||
|
Loading…
x
Reference in New Issue
Block a user