Sophie

Sophie

distrib > Fedora > 13 > i386 > media > updates-src > by-pkgid > b08f291db8a19a13b25e5d079a552b8e > files > 2

dvisvgm-1.0.8-1.fc13.src.rpm

Name:           dvisvgm
Version:        1.0.8
Release:        1%{?dist}
Summary:        DVI to SVG converter

Group:          Applications/Publishing
License:        GPLv3+
URL:            http://dvisvgm.sourceforge.net
Source0:        http://downloads.sourceforge.net/%{name}/%{name}-%{version}.tar.gz

BuildRoot:      %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n)

BuildRequires:  autoconf
BuildRequires:  automake 
BuildRequires:  freetype-devel 
BuildRequires:  ghostscript-devel 
BuildRequires:  potrace-devel
BuildRequires:  zlib-devel 
Requires:       tex(dvips)

%if 0%{?rhel} == 4 || 0%{?rhel} == 5
BuildRequires:  tetex-fonts
Requires:       tetex-fonts
%else
BuildRequires:  kpathsea-devel
Requires:       tex(tex)
%endif


%description
dvisvgm is a command line utility that converts DVI files, as created by 
TeX/LaTeX, to the XML-based scalable vector graphics format SVG. Besides 
the basic DVI command set, dvisvgm also supports various special sets, like 
color, PostScript and TPIC.

Fonts that are only available as Metafont source are automatically vectorized 
so that the generated SVG is freely scalable without loss of quality.


%prep
%setup -q
# Remove bundled potracelib
rm -rf potracelib
# Remove bundled Ghostscript API headers
%if !(0%{?rhel} == 4 || 0%{?rhel} == 5)
rm -f src/iapi.h src/ierrors.h
%endif


%build
# remove references to bundled potrace library
sed -i "s/ potracelib\/Makefile / /" configure.ac
sed -i "s/potracelib //" Makefile.am
autoreconf
%configure
make %{?_smp_mflags}


%install
rm -rf $RPM_BUILD_ROOT
make install DESTDIR=$RPM_BUILD_ROOT


%clean
rm -rf $RPM_BUILD_ROOT


%files
%defattr(-,root,root,-)
%doc AUTHORS COPYING LGPL-2.1.txt NEWS README
%{_bindir}/dvisvgm
%{_mandir}/man1/dvisvgm.1*


%changelog
* Tue May 31 2011 Martin Gieseking <martin.gieseking@uos.de> 1.0.8-1
- updated to upstream release 1.0.8

* Wed Mar 02 2011 Martin Gieseking <martin.gieseking@uos.de> 1.0.5-1
- updated to upstream release 1.0.5

* Fri Jan 28 2011 Martin Gieseking <martin.gieseking@uos.de> 1.0.4-2
- rebuilt to link against shared potrace library

* Sun Dec 19 2010 Martin Gieseking <martin.gieseking@uos.de> 1.0.4-1
- updated to upstream release 1.0.4

* Fri Aug 06 2010 Martin Gieseking <martin.gieseking@uos.de> - 1.0.3-1
- updated to upstream release 1.0.3

* Fri Jun 11 2010 Martin Gieseking <martin.gieseking@uos.de> - 1.0.1-1
- updated to upstream release 1.0.1

* Fri Apr 23 2010 Martin Gieseking <martin.gieseking@uos.de> - 0.9.1-1
- updated to latest upstream release 0.9.1

* Tue Feb  2 2010 Martin Gieseking <martin.gieseking@uos.de> - 0.8.8-1
- updated to latest upstream release 0.8.8

* Tue Dec  8 2009 Michael Schwendt <mschwendt@fedoraproject.org> - 0.8.7-2
- Explicitly BR potrace-static in accordance with the Packaging
  Guidelines (potrace-devel is still static-only).

* Tue Nov 10 2009  Martin Gieseking <martin.gieseking@uos.de> - 0.8.7-1
- updated to latest upstream release 0.8.7

* Tue Oct 13 2009  Martin Gieseking <martin.gieseking@uos.de> - 0.8.6-1
- updated to latest upstream release 0.8.6

* Thu Sep 17 2009 Martin Gieseking <martin.gieseking@uos.de> - 0.8.4-1
- updated to latest upstream release 0.8.4

* Mon Aug 24 2009 Martin Gieseking <martin.gieseking@uos.de> - 0.8.3-1
- updated to latest upstream release 0.8.3
- conditional Requires and BuildRequires to satisfy F-xx and EL5

* Wed Aug 12 2009 Martin Gieseking <martin.gieseking@uos.de> - 0.8.1-5
- adapted Build and BuildRequires to requirements of EL5

* Tue Aug 03 2009 Martin Gieseking <martin.gieseking@uos.de> - 0.8.1-4
- removed bundled potrace library in prep section

* Mon Aug 02 2009 Martin Gieseking <martin.gieseking@uos.de> - 0.8.1-3
- don't use bundled potrace library

* Mon Aug 02 2009 Martin Gieseking <martin.gieseking@uos.de> - 0.8.1-2
- rebased to upstream with added tarball
- added LICENSE to doc

* Sun Aug 01 2009 Martin Gieseking <martin.gieseking@uos.de> - 0.8.1-1
- initial release