|
|
@ -1,21 +1,23 @@
|
|
|
|
|
|
|
|
%global srcnm Qalculate
|
|
|
|
|
|
|
|
|
|
|
|
Summary: Multi-purpose calculator library
|
|
|
|
Summary: Multi-purpose calculator library
|
|
|
|
Name: libqalculate
|
|
|
|
Name: libqalculate
|
|
|
|
Version: 0.9.7
|
|
|
|
Version: 0.9.10
|
|
|
|
Release: 18%{?dist}
|
|
|
|
Release: 1%{?dist}
|
|
|
|
License: GPLv2+
|
|
|
|
License: GPLv2+
|
|
|
|
Group: System Environment/Libraries
|
|
|
|
Group: System Environment/Libraries
|
|
|
|
URL: http://qalculate.sourceforge.net/
|
|
|
|
|
|
|
|
Source0: http://downloads.sourceforge.net/%{name}/%{name}-%{version}.tar.gz
|
|
|
|
URL: https://qalculate.github.io/
|
|
|
|
Patch1: libqalculate-0.9.7-pkgconfig_private.patch
|
|
|
|
Source0: https://github.com/%{srcnm}/%{name}/releases/download/v%{version}/%{name}-%{version}.tar.gz
|
|
|
|
Patch2: libqalculate-htmldir.patch
|
|
|
|
|
|
|
|
# don't spam errors if euroref-daily.xml doesn't (yet) exist
|
|
|
|
Patch1: libqalculate-%{version}-pkgconfig_private.patch
|
|
|
|
Patch3: libqalculate-0.9.7-euroref-daily.patch
|
|
|
|
|
|
|
|
Patch4: gcc-6-compile.patch
|
|
|
|
BuildRequires: glib2-devel
|
|
|
|
Patch5: libqalculate-buffer.patch
|
|
|
|
BuildRequires: cln-devel
|
|
|
|
|
|
|
|
BuildRequires: intltool
|
|
|
|
BuildRequires: glib2-devel, cln-devel
|
|
|
|
|
|
|
|
BuildRequires: libxml2-devel
|
|
|
|
BuildRequires: libxml2-devel
|
|
|
|
BuildRequires: readline-devel, ncurses-devel
|
|
|
|
BuildRequires: readline-devel
|
|
|
|
|
|
|
|
BuildRequires: ncurses-devel
|
|
|
|
BuildRequires: perl(XML::Parser), gettext
|
|
|
|
BuildRequires: perl(XML::Parser), gettext
|
|
|
|
BuildRequires: perl(Getopt::Long)
|
|
|
|
BuildRequires: perl(Getopt::Long)
|
|
|
|
|
|
|
|
|
|
|
@ -49,10 +51,6 @@ frontends are provided by qalculate-gtk and qalculate-kde packages resp.
|
|
|
|
%prep
|
|
|
|
%prep
|
|
|
|
%setup -q
|
|
|
|
%setup -q
|
|
|
|
%patch1 -p1 -b .pkgconfig_private
|
|
|
|
%patch1 -p1 -b .pkgconfig_private
|
|
|
|
%patch2 -p0 -b .htmldir-unversioned
|
|
|
|
|
|
|
|
%patch3 -p1 -b .euroref-daily
|
|
|
|
|
|
|
|
%patch4
|
|
|
|
|
|
|
|
%patch5 -p1 -b .buffer
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
%build
|
|
|
|
%build
|
|
|
|
%configure --disable-static
|
|
|
|
%configure --disable-static
|
|
|
@ -63,6 +61,7 @@ make %{?_smp_mflags}
|
|
|
|
%install
|
|
|
|
%install
|
|
|
|
rm -rf %{buildroot}
|
|
|
|
rm -rf %{buildroot}
|
|
|
|
make DESTDIR=%{buildroot} install
|
|
|
|
make DESTDIR=%{buildroot} install
|
|
|
|
|
|
|
|
|
|
|
|
%find_lang %{name}
|
|
|
|
%find_lang %{name}
|
|
|
|
rm -f %{buildroot}/%{_libdir}/*.la
|
|
|
|
rm -f %{buildroot}/%{_libdir}/*.la
|
|
|
|
|
|
|
|
|
|
|
@ -88,6 +87,9 @@ rm -f %{buildroot}/%{_libdir}/*.la
|
|
|
|
%{_bindir}/qalc
|
|
|
|
%{_bindir}/qalc
|
|
|
|
|
|
|
|
|
|
|
|
%changelog
|
|
|
|
%changelog
|
|
|
|
|
|
|
|
* Mon Nov 28 2016 Mukundan Ragavan <nonamedotc@fedoraproject.org> - 0.9.10-1
|
|
|
|
|
|
|
|
- Update to 0.9.10
|
|
|
|
|
|
|
|
|
|
|
|
* Mon Apr 25 2016 Than Ngo <than@redhat.com> - 0.9.7-18
|
|
|
|
* Mon Apr 25 2016 Than Ngo <than@redhat.com> - 0.9.7-18
|
|
|
|
- bz#953615, fix global variable buffer
|
|
|
|
- bz#953615, fix global variable buffer
|
|
|
|
|
|
|
|
|
|
|
|