rpms/dvipng/devel dvipng.spec, NONE, 1.1 .cvsignore, 1.1, 1.2 sources, 1.1, 1.2

Jonathan G. Underwood (jgu) fedora-extras-commits at redhat.com
Tue Feb 5 01:22:05 UTC 2008


Author: jgu

Update of /cvs/extras/rpms/dvipng/devel
In directory cvs-int.fedora.redhat.com:/tmp/cvs-serv14636/devel

Modified Files:
	.cvsignore sources 
Added Files:
	dvipng.spec 
Log Message:
Initial package import.



--- NEW FILE dvipng.spec ---
Name:           dvipng
Version:        1.9
Release:        50%{?dist}
Summary:        Converts DVI files to PNG/GIF format

Group:          Applications/Publishing 
License:        GPLv2+ and OFSFDL
URL:            http://savannah.nongnu.org/projects/dvipng/
Source0:        http://download.savannah.gnu.org/releases/dvipng/%{name}-%{version}.tar.gz

BuildRoot:      %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n)
BuildRequires:  kpathsea-devel gd-devel zlib-devel libpng-devel texinfo-tex
BuildRequires:  t1lib-devel freetype-devel

Requires(pre):  /sbin/install-info 
Requires(post): /sbin/install-info

%description
This program makes PNG and/or GIF graphics from DVI files as obtained
from TeX and its relatives.

It is intended to produce anti-aliased screen-resolution images as
fast as is possible. The target audience is people who need to generate
and regenerate many images again and again. 

%prep
%setup -q

%build
%configure
make %{?_smp_mflags}

%install
rm -rf $RPM_BUILD_ROOT
make install DESTDIR=$RPM_BUILD_ROOT INSTALL='install -p'

rm -rf $RPM_BUILD_ROOT/%{_infodir}/dir

for i in ChangeLog ChangeLog.0 ; do
    iconv -f ISO-8859-1 -t UTF8 $i > $i.utf8 && touch -r $i $i.utf8 && mv $i.utf8 $i
done

%clean
rm -rf $RPM_BUILD_ROOT

%post 
/sbin/install-info %{_infodir}/dvipng.info %{_infodir}/dir 2>/dev/null || :

%preun
if [ "$1" = "0" ] ; then 
   /sbin/install-info --delete %{_infodir}/dvipng.info %{_infodir}/dir 2>/dev/null || :
fi

%files
%defattr(-,root,root,-)
%doc COPYING ChangeLog ChangeLog.0 README RELEASE
%{_bindir}/dvigif
%{_bindir}/dvipng
%{_infodir}/dvipng.info*
%{_mandir}/man1/dvigif.1*
%{_mandir}/man1/dvipng.1*

%changelog
* Sun Feb  3 2007 Jonathan G. Underwood <jonathan.underwood at gmail.com> - 1.9-50
- Remove kpathsea Requires
- Add OFSFDL license tag
- Make INSTALL use install -p
- Preserve time stamp of ChangeLog and ChangeLog.0 files
- Use globbing in filelist
- Remove .gz from the end of filenames in install-info commands
- Bump release to 50 to fix up upgrade path from current dvipng package from texlive

* Sun Feb  3 2007 Jonathan G. Underwood <jonathan.underwood at gmail.com> - 1.9-2
- Install dvigif info file
- Add Provides for dvigif

* Sun Feb  3 2007 Jonathan G. Underwood <jonathan.underwood at gmail.com> - 1.9-1
- Initial package


Index: .cvsignore
===================================================================
RCS file: /cvs/extras/rpms/dvipng/devel/.cvsignore,v
retrieving revision 1.1
retrieving revision 1.2
diff -u -r1.1 -r1.2
--- .cvsignore	4 Feb 2008 19:42:12 -0000	1.1
+++ .cvsignore	5 Feb 2008 01:21:30 -0000	1.2
@@ -0,0 +1 @@
+dvipng-1.9.tar.gz


Index: sources
===================================================================
RCS file: /cvs/extras/rpms/dvipng/devel/sources,v
retrieving revision 1.1
retrieving revision 1.2
diff -u -r1.1 -r1.2
--- sources	4 Feb 2008 19:42:12 -0000	1.1
+++ sources	5 Feb 2008 01:21:30 -0000	1.2
@@ -0,0 +1 @@
+9107065e4da9a18dfff2c1a76fbbf919  dvipng-1.9.tar.gz




More information about the fedora-extras-commits mailing list