From 90adb18a7633e5b1b4118335445d0c6af0e6c2e4 Mon Sep 17 00:00:00 2001 From: Mukundan Ragavan Date: Tue, 19 Sep 2017 18:25:58 -0400 Subject: [PATCH] Update to 2.0.0 Drop older patches Update buildrequires (curl-devel, libicu-devel and mpfr-devel) --- .gitignore | 1 + libqalculate.spec | 24 +++++++++++++----------- sources | 2 +- 3 files changed, 15 insertions(+), 12 deletions(-) diff --git a/.gitignore b/.gitignore index b079baa..e01d858 100644 --- a/.gitignore +++ b/.gitignore @@ -1,2 +1,3 @@ libqalculate-0.9.7.tar.gz /libqalculate-0.9.10.tar.gz +/libqalculate-2.0.0.tar.gz diff --git a/libqalculate.spec b/libqalculate.spec index 3d92f75..a0ebce0 100644 --- a/libqalculate.spec +++ b/libqalculate.spec @@ -2,22 +2,23 @@ Summary: Multi-purpose calculator library Name: libqalculate -Version: 0.9.10 -Release: 7%{?dist} +Version: 2.0.0 +Release: 1%{?dist} License: GPLv2+ Group: System Environment/Libraries URL: https://qalculate.github.io/ Source0: https://github.com/%{srcnm}/%{name}/releases/download/v%{version}/%{name}-%{version}.tar.gz -Patch1: libqalculate-%{version}-pkgconfig_private.patch - BuildRequires: glib2-devel BuildRequires: cln-devel BuildRequires: intltool BuildRequires: libxml2-devel BuildRequires: readline-devel BuildRequires: ncurses-devel +BuildRequires: curl-devel +BuildRequires: libicu-devel +BuildRequires: mpfr-devel BuildRequires: perl(XML::Parser), gettext BuildRequires: perl(Getopt::Long) @@ -50,17 +51,16 @@ frontends are provided by qalculate-gtk and qalculate-kde packages resp. %prep %setup -q -%patch1 -p1 -b .pkgconfig_private %build %configure --disable-static sed -i 's|^hardcode_libdir_flag_spec=.*|hardcode_libdir_flag_spec=""|g' libtool sed -i 's|^runpath_var=LD_RUN_PATH|runpath_var=DIE_RPATH_DIE|g' libtool -make %{?_smp_mflags} + +%make_build %install -rm -rf %{buildroot} -make DESTDIR=%{buildroot} install +%make_install %find_lang %{name} rm -f %{buildroot}/%{_libdir}/*.la @@ -70,23 +70,25 @@ rm -f %{buildroot}/%{_libdir}/*.la %postun -p /sbin/ldconfig %files -f %{name}.lang -%defattr(-,root,root,-) %doc AUTHORS ChangeLog COPYING TODO %{_libdir}/libqalculate.so.* %{_datadir}/qalculate/ %{_docdir}/%{name}/* %files devel -%defattr(-,root,root,-) %{_libdir}/libqalculate.so %{_libdir}/pkgconfig/libqalculate.pc %{_includedir}/libqalculate/ %files -n qalculate -%defattr(-,root,root,-) %{_bindir}/qalc %changelog +* Fri Sep 15 2017 Mukundan Ragavan - 2.0.0-1 +- Update to 2.0.0 +- Drop older patches +- Update buildrequires (curl-devel, libicu-devel and mpfr-devel) + * Thu Aug 03 2017 Fedora Release Engineering - 0.9.10-7 - Rebuilt for https://fedoraproject.org/wiki/Fedora_27_Binutils_Mass_Rebuild diff --git a/sources b/sources index 2b46362..68cc0cb 100644 --- a/sources +++ b/sources @@ -1 +1 @@ -d7b372ade5980ff902c6af8b6c73bf02 libqalculate-0.9.10.tar.gz +SHA512 (libqalculate-2.0.0.tar.gz) = 2be364231dac8c458906576ae76211887a6f8ca79332f1624f678d672796e4b7946d3de66f981b2543a2050c70b3a74c367f9e3832976e9f372396ebaff19f77