wxsvg/wxsvg.spec

Name: wxsvg
Summary: C++ library to create, manipulate and render SVG files
Version: 1.0
Release: 0.2.b7
License: wxWidgets Library Licence
Group: System Environment/Libraries
URL: http://wxsvg.sourceforge.net/
Description: wxSVG is C++ library to create, manipulate and render SVG files.

CentOS 7 x86_64

The build could not start because of the following missing build requirements:

Build Status

CentOS 6 x86_64

The build could not start because the following file is missing: wxsvg-1.0b7_1.tar.gz

Build Status

Contents

The spec file used by the build system currently has the following contents:

# $Id$
# Authority: matthias


Summary: C++ library to create, manipulate and render SVG files
Name: wxsvg
Version: 1.0
%define real_version 1.0b7
Release: 0.2.b7%{?dist}
License: wxWidgets Library Licence
Group: System Environment/Libraries
URL: http://wxsvg.sourceforge.net/

Source: http://dl.sf.net/wxsvg/wxsvg-%{real_version}_1.tar.gz
Patch0: wxsvg-1.0b7-freetype.patch
BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root

BuildRequires: libart_lgpl-devel
BuildRequires: pkgconfig
BuildRequires: pango-devel
BuildRequires: freetype-devel
BuildRequires: wxGTK-devel

%description
wxSVG is C++ library to create, manipulate and render SVG files.

%package devel
Summary: Development files for the wxSVG library
Group: Development/Libraries
Requires: %{name} = %{version}-%{release}

%description devel
wxSVG is C++ library to create, manipulate and render SVG files.

%prep
%setup -n %{name}-%{real_version}
%patch0 -p1 -b .freetype

%build
%configure --disable-static
%{__make} %{?_smp_mflags}

%install
%{__rm} -rf %{buildroot}
%{__make} install DESTDIR="%{buildroot}"

%clean
%{__rm} -rf %{buildroot}

%post -p /sbin/ldconfig
%postun -p /sbin/ldconfig

%files
%defattr(-, root, root, 0755)
%doc AUTHORS ChangeLog COPYING TODO
%{_bindir}/svgview
%{_libdir}/*.so.*

%files devel
%defattr(-, root, root, 0755)
%{_includedir}/wxSVG/
%{_includedir}/wxXML/
%{_libdir}/*.so
%exclude %{_libdir}/*.la

%changelog
* Wed Sep 17 2008 Dag Wieers <dag@wieers.com> - 1.0-0.2.b7
- Rebuild against wxGTK 1.8.8.

* Fri Jan 19 2007 Matthias Saou <http://freshrpms.net/> 1.0-0.1.b7
- Initial RPM release.