Accepting request 635594 from KDE:Distro:Factory
OBS-URL: https://build.opensuse.org/request/show/635594 OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/qalculate?expand=0&rev=22
This commit is contained in:
@@ -16,10 +16,10 @@
|
||||
#
|
||||
|
||||
|
||||
%define major 18
|
||||
%define major 19
|
||||
%define libname libqalculate
|
||||
Name: qalculate
|
||||
Version: 2.6.1
|
||||
Version: 2.6.2
|
||||
Release: 0
|
||||
Summary: Multi-purpose desktop calulator application
|
||||
License: GPL-2.0-or-later
|
||||
@@ -36,6 +36,7 @@ BuildRequires: pkgconfig
|
||||
BuildRequires: readline-devel
|
||||
BuildRequires: pkgconfig(icu-uc)
|
||||
BuildRequires: pkgconfig(libcurl)
|
||||
Requires: %{name}-data >= %{version}
|
||||
|
||||
%description
|
||||
Qalculate is a multi-purpose desktop calculator. Features include
|
||||
@@ -45,9 +46,9 @@ entry (although it supports optional traditional buttons).
|
||||
This is the commandline interface, named qalc.
|
||||
|
||||
%package -n %{libname}%{major}
|
||||
Summary: Powerful Calulator Library
|
||||
Summary: Calulator Library
|
||||
Group: System/Libraries
|
||||
Suggests: %{name}
|
||||
Recommends: %{name}-data >= %{version}
|
||||
Provides: %{libname} = %{version}
|
||||
|
||||
%description -n %{libname}%{major}
|
||||
@@ -57,6 +58,21 @@ graphical interface that uses a one-line fault-tolerant expression
|
||||
entry.
|
||||
This is the shared library package.
|
||||
|
||||
%package data
|
||||
Summary: Additional data for the qalculator calulator library
|
||||
Group: Productivity/Scientific/Math
|
||||
Requires: %{libname} = %{version}
|
||||
Provides: %{name}:%{_datadir}/%{name}/units.xml
|
||||
BuildArch: noarch
|
||||
|
||||
%description data
|
||||
Qalculate is a multi-purpose desktop calculator. Features include
|
||||
customizable functions, units, arbitrary precision, plotting, and a
|
||||
graphical interface that uses a one-line fault-tolerant expression
|
||||
entry.
|
||||
This provides definitions of additional units, functions, etc. on top
|
||||
of the built-in ones.
|
||||
|
||||
%package -n %{libname}-devel
|
||||
Summary: Header files, libraries and development documentation for %{libname}
|
||||
Group: Development/Libraries/C and C++
|
||||
@@ -89,9 +105,11 @@ rm -f "%{buildroot}/%{_libdir}"/*.la
|
||||
%license COPYING
|
||||
%doc README ChangeLog INSTALL AUTHORS TODO
|
||||
%{_bindir}/qalc
|
||||
%{_datadir}/%{name}
|
||||
%{_datadir}/doc/%{libname}
|
||||
|
||||
%files -n %{name}-data
|
||||
%{_datadir}/%{name}
|
||||
|
||||
%files -n %{libname}%{major}
|
||||
%license COPYING
|
||||
%{_libdir}/%{libname}.so.%{major}
|
||||
|
Reference in New Issue
Block a user