]> git.pld-linux.org Git - packages/dvipng.git/commitdiff
- added info patch, register info page; BR: texinfo
authorJakub Bogusz <qboosh@pld-linux.org>
Mon, 20 Oct 2003 19:53:00 +0000 (19:53 +0000)
committercvs2git <feedback@pld-linux.org>
Sun, 24 Jun 2012 12:13:13 +0000 (12:13 +0000)
Changed files:
    dvipng-info.patch -> 1.1
    dvipng.spec -> 1.4

dvipng-info.patch [new file with mode: 0644]
dvipng.spec

diff --git a/dvipng-info.patch b/dvipng-info.patch
new file mode 100644 (file)
index 0000000..f5d3f05
--- /dev/null
@@ -0,0 +1,16 @@
+--- dvipng-0.7/dvipng.texi.orig        2003-10-17 11:48:25.000000000 +0200
++++ dvipng-0.7/dvipng.texi     2003-10-20 21:40:16.425426232 +0200
+@@ -16,10 +16,10 @@
+ @tolerance 10000 @emergencystretch 3em
+ @end iftex
+-@dircategory TeX
++@dircategory TeX:
+ @direntry
+-* DVI-to-PNG: (dvipng).              Translating TeX DVI files to Portable Network Graphics (PNG).
+-* dvipng: (dvipng)Invoking dvipng.   DVI-to-PNG translator.
++* DVI-to-PNG: (dvipng).                       Translating TeX DVI files to PNG
++* dvipng: (dvipng)dvipng.             DVI-to-PNG translator
+ @end direntry
+ @finalout
index cd18fe29e46174418fef2e9e1b8b25cef57da827..b6a40b8639759c5ad17f99aacea98deebcb862e1 100644 (file)
@@ -8,11 +8,13 @@ Group:                Applcations/Console
 Source0:       http://dl.sourceforge.net/preview-latex/%{name}-%{version}.tar.gz
 # Source0-md5: 00a8c39343d277f4d25878d6faf5689b
 Patch0:                %{name}-DESTDIR.patch
+Patch1:                %{name}-info.patch
 URL:           http://www.sourceforge.net/projects/preview-latex/
 BuildRequires: freetype-devel
 BuildRequires: gd-devel
 BuildRequires: kpathsea-devel
 BuildRequires: tetex-format-plain
+BuildRequires: texinfo
 BuildRoot:     %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
 
 %description
@@ -34,6 +36,7 @@ potrzebuj
 %prep
 %setup -q
 %patch0 -p1
+%patch1 -p1
 
 %build
 %configure
@@ -48,6 +51,12 @@ rm -rf $RPM_BUILD_ROOT
 %clean
 rm -rf $RPM_BUILD_ROOT
 
+%post
+[ ! -x /usr/sbin/fix-info-dir ] || /usr/sbin/fix-info-dir %{_infodir} >/dev/null 2>&1
+
+%postun
+[ ! -x /usr/sbin/fix-info-dir ] || /usr/sbin/fix-info-dir %{_infodir} >/dev/null 2>&1
+
 %files
 %defattr(644,root,root,755)
 %doc README RELEASE
This page took 0.048178 seconds and 4 git commands to generate.