Sisyphus repository
Last update: 1 october 2023 | SRPMs: 18631 | Visits: 37495298
en ru br
ALT Linux repos
S:0.1.4-alt2_24
5.0: 0.1.4-alt2
4.1: 0.1.4-alt2
4.0: 0.1.4-alt2
3.0: 0.1.4-alt1

Group :: System/Libraries
RPM: libsvg

 Main   Changelog   Spec   Patches   Sources   Download   Gear   Bugs and FR  Repocop 

# BEGIN SourceDeps(oneline):
BuildRequires: gcc-c++
# END SourceDeps(oneline)
# see https://bugzilla.altlinux.org/show_bug.cgi?id=10382
%define _localstatedir %{_var}
%define major   1
%define libname libsvg%{major}
%define develname libsvg-devel

Summary: A generic SVG library
Name: libsvg
Version: 0.1.4
Release: alt2_21
License: LGPL
Group: System/Libraries
URL: http://cairographics.org/snapshots/
Source: http://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)
Source44: import.info

%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
%patch0 -p0
%patch1 -p0

# fix build on aarch64

cp -af /usr/share/gnu-config/config.{guess,sub} .

%build
%configure --disable-static
%make_build

%install
%makeinstall_std

# remove .la file

rm -f %{buildroot}%{_libdir}/libsvg.la

%files -n %{libname}
%doc AUTHORS COPYING ChangeLog NEWS README TODO
%{_libdir}/*.so.%{major}
%{_libdir}/*.so.%{major}.*

%files -n %{develname}
%{_libdir}/*.so
%{_includedir}/*
%{_libdir}/pkgconfig/libsvg.pc


%changelog

Full changelog you can see here

 
design & coding: Vladimir Lettiev aka crux © 2004-2005, Andrew Avramenko aka liks © 2007-2008
current maintainer: Michael Shigorin