%define major 1 %define libname %mklibname svg %{major} %define develname %mklibname svg -d Summary: A generic SVG library Name: libsvg Version: 0.1.4 Release: %mkrel 24 License: LGPL Group: System/Libraries URL: https://www.cairographics.org/snapshots/ Source: https://www.cairographics.org/snapshots/%{name}-%{version}.tar.bz2 Patch0: libsvg-0.1.4-link.patch Patch1: libsvg-0.1.4-libpng14.patch BuildRequires: pkgconfig(libxml-2.0) BuildRequires: pkgconfig(libpng) BuildRequires: pkgconfig(libjpeg) %description A generic SVG library. %package -n %{libname} Summary: A generic SVG library Group: System/Libraries %description -n %{libname} A generic SVG library. %package -n %{develname} Summary: Libraries and include files for developing with libsvg Group: Development/C Requires: %{libname} = %{version} Provides: %{name}-devel = %{version} Provides: lib%{name}-devel = %{version} %description -n %{develname} This package provides the necessary development libraries and include files to allow you to develop with libsvg. %prep %setup -q %autopatch -p0 %build %configure --disable-static %make_build %install %make_install # remove .la file rm -f %{buildroot}%{_libdir}/libsvg.la %files -n %{libname} %doc AUTHORS COPYING ChangeLog NEWS README TODO %{_libdir}/*.so.%{major}{,.*} %files -n %{develname} %{_libdir}/*.so %{_includedir}/* %{_libdir}/pkgconfig/libsvg.pc %changelog * Tue Aug 04 2020 joequant <joequant> 0.1.4-24.mga8 + Revision: 1610979 - redo deps - revert arm patch + danf <danf> - Switch URLs from http: to https: * Thu Feb 13 2020 umeabot <umeabot> 0.1.4-23.mga8 + Revision: 1514463 - Mageia 8 Mass Rebuild + wally <wally> - replace deprecated %%configure2_5x * Sun Sep 23 2018 umeabot <umeabot> 0.1.4-22.mga7 + Revision: 1299174 - Mageia 7 Mass Rebuild * Sun Jun 10 2018 wally <wally> 0.1.4-21.mga7 + Revision: 1235969 - fix build on aarch64 - use new make macros * Mon Feb 08 2016 umeabot <umeabot> 0.1.4-20.mga6 + Revision: 942728 - Mageia 6 Mass Rebuild * Wed Oct 15 2014 umeabot <umeabot> 0.1.4-19.mga5 + Revision: 745739 - Second Mageia 5 Mass Rebuild * Tue Sep 16 2014 umeabot <umeabot> 0.1.4-18.mga5 + Revision: 681803 - Mageia 5 Mass Rebuild * Sat Oct 19 2013 umeabot <umeabot> 0.1.4-17.mga4 + Revision: 525804 - Mageia 4 Mass Rebuild * Sun Jun 02 2013 fwang <fwang> 0.1.4-16.mga4 + Revision: 434607 - rebuild for new libpng * Sat Jan 12 2013 umeabot <umeabot> 0.1.4-15.mga3 + Revision: 358225 - Mass Rebuild - https://wiki.mageia.org/en/Feature:Mageia3MassRebuild * Sat Jul 28 2012 fwang <fwang> 0.1.4-14.mga3 + Revision: 275229 - disable static * Sat Nov 26 2011 guillomovitch <guillomovitch> 0.1.4-13.mga2 + Revision: 172348 - drop .la files - spec cleanup * Sat Sep 10 2011 fwang <fwang> 0.1.4-12.mga2 + Revision: 142151 - remove deprecated symbol - fix linkage * Mon Feb 28 2011 eandry <eandry> 0.1.4-11.mga1 + Revision: 61764 - add provides * Mon Feb 28 2011 eandry <eandry> 0.1.4-10.mga1 + Revision: 61758 - clean spec - apply library policy - imported package libsvg