File svg2pdf.spec of Package svg2pdf

#
# spec file for package svg2pdf (checkout on 2011-01-11)
#
# Copyright (c) 2011 SUSE LINUX Products GmbH, Nuernberg, Germany.
#
# All modifications and additions to the file contributed by third parties
# remain the property of their copyright owners, unless otherwise agreed
# upon. The license for this file, and modifications and additions to the
# file, is the same license as for the pristine package itself (unless the
# license for the pristine package is not an Open Source License, in which
# case the license is the MIT License). An "Open Source License" is a
# license that conforms to the Open Source Definition (Version 1.9)
# published by the Open Source Initiative.

# Please submit bugfixes or comments via http://bugs.opensuse.org/
# 

# norootforbuild


Name:           svg2pdf
BuildRequires:  cairo-devel
%if 0%{?fedora_version}
BuildRequires:  librsvg2-devel
%else
BuildRequires:  librsvg-devel
%endif
License:        MIT License
Group:          Productivity/Graphics/Convertors
AutoReqProv:    on
Summary:        Commandline SVG to PDF converter
Version:        20110111
%define tarversion %{version}
Release:        1
Url:            http://wiki.inkscape.org/wiki/index.php/Tools#svg2pdf
BuildRoot:      %{_tmppath}/%{name}-%{version}-build
Source:         svg2pdf-20110111.tar.bz2

%description
Convert SVG vector graphics to PDF on the commandline without using inkscape.

Authors:
--------
  Kristian Høgsberg <krh@redhat.com>
  Carl Worth <cworth@redhat.com>
  Behdad Esfahbod <besfahbo@redhat.com>

%prep
%setup -q -n %{name}-%{tarversion}

%build
%if 0%{?suse_version} >= 1120
  export SUSE_ASNEEDED=0
%endif
make

%install
install -D -m 0755 %{name} $RPM_BUILD_ROOT%{_bindir}/%{name}

%files
%defattr(-, root, root)
%{_bindir}/%{name}

%changelog
openSUSE Build Service is sponsored by