Update to 2.0.0

Drop older patches
Update buildrequires (curl-devel, libicu-devel and mpfr-devel)
epel9
Mukundan Ragavan 7 years ago
parent b3a890fb64
commit 90adb18a76

1
.gitignore vendored

@ -1,2 +1,3 @@
libqalculate-0.9.7.tar.gz
/libqalculate-0.9.10.tar.gz
/libqalculate-2.0.0.tar.gz

@ -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 <nonamedotc@fedoraproject.org> - 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 <releng@fedoraproject.org> - 0.9.10-7
- Rebuilt for https://fedoraproject.org/wiki/Fedora_27_Binutils_Mass_Rebuild

@ -1 +1 @@
d7b372ade5980ff902c6af8b6c73bf02 libqalculate-0.9.10.tar.gz
SHA512 (libqalculate-2.0.0.tar.gz) = 2be364231dac8c458906576ae76211887a6f8ca79332f1624f678d672796e4b7946d3de66f981b2543a2050c70b3a74c367f9e3832976e9f372396ebaff19f77

Loading…
Cancel
Save