Group :: Graphics
RPM: wxsvg
Main Changelog Spec Patches Sources Download Gear Bugs and FR Repocop
%{?optflags_lto:%global optflags_lto %optflags_lto -ffat-lto-objects}
%define _unpackaged_files_terminate_build 1
%define soname 3
Name: wxsvg
Version: 1.5.24
Release: alt1
Epoch: 1
Summary: wxSVG is viewer SVG files
License: wxWindows-Library-3.0
Group: Graphics
Url: http://wxsvg.sourceforge.net
# Source-url: https://sourceforge.net/projects/wxsvg/files/wxsvg/%version/wxsvg-%version.tar.bz2/download
Source: %name-%version.tar
Patch: %name-1.5.14-alt.patch
Patch1: %name-%version-gcc13.patch
BuildRequires: gcc-c++ libart_lgpl-devel libpango-devel
BuildRequires: libwxGTK3.2-devel libavformat-devel libswscale-devel
BuildRequires: libexpat-devel libexif-devel
%description
wxSVG is viewer SVG files
%package -n lib%name
License: GPLv2+
Group: System/Libraries
Summary: lib%name is C++ library to create, manipulate and render SVG files
%description -n lib%name
lib%name is C++ library to create, manipulate and render SVG files
%package -n lib%name-devel-static
License: GPLv2+
Group: System/Libraries
Summary: lib%name is static C++ library to create, manipulate and render SVG files
Obsoletes: lib%name-static
%description -n lib%name-devel-static
lib%name is static C++ library to create, manipulate and render SVG files
%package -n lib%name-devel
License: GPLv2+
Group: Development/C++
Summary: Development shared library for wxSVG
Requires: lib%name = %EVR
%description -n lib%name-devel
Development shared library for wxSVG
%prep
%setup
%autopatch -p2
%build
%add_optflags -std=c++11
%autoreconf
%configure
%make_build
%install
%makeinstall_std
%files
%doc ChangeLog AUTHORS TODO COPYING
%_bindir/*
%files -n lib%name
%_libdir/*.so.%soname
%_libdir/*.so.%soname.*
%exclude %_libdir/*.a
%files -n lib%name-devel-static
%_libdir/*.a
%files -n lib%name-devel
%_includedir/wx*
%_libdir/*.so
%_pkgconfigdir/*
%changelog
…
Full changelog you can see here
%define _unpackaged_files_terminate_build 1
%define soname 3
Name: wxsvg
Version: 1.5.24
Release: alt1
Epoch: 1
Summary: wxSVG is viewer SVG files
License: wxWindows-Library-3.0
Group: Graphics
Url: http://wxsvg.sourceforge.net
# Source-url: https://sourceforge.net/projects/wxsvg/files/wxsvg/%version/wxsvg-%version.tar.bz2/download
Source: %name-%version.tar
Patch: %name-1.5.14-alt.patch
Patch1: %name-%version-gcc13.patch
BuildRequires: gcc-c++ libart_lgpl-devel libpango-devel
BuildRequires: libwxGTK3.2-devel libavformat-devel libswscale-devel
BuildRequires: libexpat-devel libexif-devel
%description
wxSVG is viewer SVG files
%package -n lib%name
License: GPLv2+
Group: System/Libraries
Summary: lib%name is C++ library to create, manipulate and render SVG files
%description -n lib%name
lib%name is C++ library to create, manipulate and render SVG files
%package -n lib%name-devel-static
License: GPLv2+
Group: System/Libraries
Summary: lib%name is static C++ library to create, manipulate and render SVG files
Obsoletes: lib%name-static
%description -n lib%name-devel-static
lib%name is static C++ library to create, manipulate and render SVG files
%package -n lib%name-devel
License: GPLv2+
Group: Development/C++
Summary: Development shared library for wxSVG
Requires: lib%name = %EVR
%description -n lib%name-devel
Development shared library for wxSVG
%prep
%setup
%autopatch -p2
%build
%add_optflags -std=c++11
%autoreconf
%configure
%make_build
%install
%makeinstall_std
%files
%doc ChangeLog AUTHORS TODO COPYING
%_bindir/*
%files -n lib%name
%_libdir/*.so.%soname
%_libdir/*.so.%soname.*
%exclude %_libdir/*.a
%files -n lib%name-devel-static
%_libdir/*.a
%files -n lib%name-devel
%_includedir/wx*
%_libdir/*.so
%_pkgconfigdir/*
%changelog
…
Full changelog you can see here