summaryrefslogtreecommitdiff
path: root/Master/texmf-dist/doc/latex/latexdiff/contrib/latexdiff.spec
diff options
context:
space:
mode:
authorKarl Berry <karl@freefriends.org>2009-12-13 01:30:42 +0000
committerKarl Berry <karl@freefriends.org>2009-12-13 01:30:42 +0000
commita489176691d69116ddff58a4021dc22998629d8e (patch)
tree4904fd261043d5d948d62669ebb54f8f75cb1c73 /Master/texmf-dist/doc/latex/latexdiff/contrib/latexdiff.spec
parent55680297935c477d4a7ac7725002fd0c15f49f7e (diff)
install new script latexdiff
git-svn-id: svn://tug.org/texlive/trunk@16379 c570f23f-e606-0410-a88d-b1316a301751
Diffstat (limited to 'Master/texmf-dist/doc/latex/latexdiff/contrib/latexdiff.spec')
-rw-r--r--Master/texmf-dist/doc/latex/latexdiff/contrib/latexdiff.spec58
1 files changed, 58 insertions, 0 deletions
diff --git a/Master/texmf-dist/doc/latex/latexdiff/contrib/latexdiff.spec b/Master/texmf-dist/doc/latex/latexdiff/contrib/latexdiff.spec
new file mode 100644
index 00000000000..9255a69fea9
--- /dev/null
+++ b/Master/texmf-dist/doc/latex/latexdiff/contrib/latexdiff.spec
@@ -0,0 +1,58 @@
+Summary: Diff for LaTeX files
+Name: latexdiff
+Version: 0.5
+Release: 1
+License: GPL
+Group: Productivity/Publishing/TeX/Utilities
+URL: http://www.tug.org/tex-archive/help/Catalogue/entries/latexdiff.html
+Source0: %{name}.zip
+BuildArch: noarch
+BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root
+# only required for 'make install-ext'
+# Requires: perl-Algorithm-Diff
+
+
+%description
+latexdiff is a Perl script, which compares two latex files and marks
+up significant differences between them (i.e. a diff for latex files).
+ Various options are available for visual markup using standard latex
+packages such as "color.sty". Changes not directly affecting visible
+text, for example in formatting commands, are still marked in
+the latex source.
+
+(C) 2004 Frederik Tilmann <tilmann@esc.cam.ac.uk>
+
+
+%prep
+%setup -n %{name}
+
+
+%build
+# quick had to adapt the Makefile
+%{__mv} Makefile Makefile.old
+%{__sed} \
+ -e "s;INSTALLPATH = /usr/local;INSTALLPATH = \${DESTDIR}%{_prefix};" \
+ -e "s;INSTALLMANPATH = \$(INSTALLPATH)/man;INSTALLMANPATH = \${DESTDIR}%{_mandir};" \
+ Makefile.old > Makefile
+
+
+%install
+%{__mkdir_p} $RPM_BUILD_ROOT%{_bindir}
+%{__mkdir_p} $RPM_BUILD_ROOT%{_mandir}/man1
+
+%makeinstall
+
+
+%clean
+[ "${RPM_BUILD_ROOT}" != "/" ] && [ -d "${RPM_BUILD_ROOT}" ] && %{__rm} -rf "${RPM_BUILD_ROOT}"
+
+
+%files
+%defattr(-,root,root)
+%doc example CHANGES LICENSE README
+%{_bindir}/*
+%{_mandir}/man*/*
+
+%changelog
+* Thu Jan 4 2007 Till Dörges <till@doerges.net> - 0.5-1
+- Initial build.