diff --git a/libstfl.changes b/libstfl.changes index 7dd8ce5..44594e0 100644 --- a/libstfl.changes +++ b/libstfl.changes @@ -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 diff --git a/libstfl.spec b/libstfl.spec index 11d7292..4b46615 100644 --- a/libstfl.spec +++ b/libstfl.spec @@ -16,13 +16,13 @@ # -%define soname 0 +%define sover 0 Name: libstfl Version: 0.24 Release: 0 Summary: Structured Terminal Forms Library License: LGPL-3.0+ -Group: System/Libraries +Group: Development/Libraries/C and C++ Url: http://www.clifford.at/stfl/ Source: http://www.clifford.at/stfl/stfl-%{version}.tar.gz Source99: libstfl-rpmlintrc @@ -32,39 +32,34 @@ BuildRequires: ncurses-devel BuildRequires: pkgconfig %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 Group: System/Libraries -%description -n libstfl%{soname} +%description -n libstfl%{sover} 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 -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. +terminals. The STFL API can be used from C, SPL, Python, Perl and Ruby. 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 -an application programmer does not need to spend ages fiddling around with the -GUI and can concentrate on the more interesting programming tasks. +describe STFL GUIs. %package -n libstfl-devel Summary: Structured Terminal Forms Library Group: Development/Libraries/C and C++ -Requires: libstfl%{soname} = %{version} +Requires: libstfl%{sover} = %{version} Requires: ncurses-devel %description -n libstfl-devel 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 -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. +terminals. The STFL API can be used from C, SPL, Python, Perl and Ruby. +The API has only 14 function calls and generic SWIG bindings exist +already for porting STFL to other scripting languages. 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 -an application programmer does not need to spend ages fiddling around with the -GUI and can concentrate on the more interesting programming tasks. +describe STFL GUIs. %prep %setup -q -n "stfl-%{version}" @@ -86,19 +81,19 @@ make %{?_smp_mflags} \ libdir="%{_lib}" \ prefix="%{_prefix}" -[ -e "%{buildroot}%{_libdir}/libstfl.so.%{soname}" ] || { +[ -e "%{buildroot}%{_libdir}/libstfl.so.%{sover}" ] || { pushd "%{buildroot}%{_libdir}/" - ln -s libstfl.so.*.* libstfl.so.%{soname} + ln -s libstfl.so.*.* libstfl.so.%{sover} popd } -%post -n libstfl%{soname} -p /sbin/ldconfig -%postun -n libstfl%{soname} -p /sbin/ldconfig +%post -n libstfl%{sover} -p /sbin/ldconfig +%postun -n libstfl%{sover} -p /sbin/ldconfig -%files -n libstfl%{soname} +%files -n libstfl%{sover} %doc COPYING README -%{_libdir}/libstfl.so.%{soname} -%{_libdir}/libstfl.so.%{soname}.* +%{_libdir}/libstfl.so.%{sover} +%{_libdir}/libstfl.so.%{sover}.* %files -n libstfl-devel %{_includedir}/stfl.h