Name: mimetex Version: 1.71 Release: 1%{?dist} Summary: Easily embed LaTeX math in web pages Group: Applications/Publishing License: GPLv2+ URL: http://www.forkosh.com/mimetex.html Source0: http://www.forkosh.com/%{name}.zip BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n) #BuildRequires: Requires: webserver %description MimeTeX lets you easily embed LaTeX math in your html pages. It parses a LaTeX math expression and immediately emits the corresponding gif image, rather than the usual TeX dvi. And mimeTeX is an entirely separate little program that doesn't use TeX or its fonts in any way. %prep %setup -q -c %build gcc $RPM_OPT_FLAGS -DAA mimetex.c gifsave.c -lm -o mimetex.cgi %install rm -rf $RPM_BUILD_ROOT install -D -m 0755 mimetex.cgi $RPM_BUILD_ROOT/%{_var}/www/cgi-bin/%{name}.cgi install -D -m 0644 mimetex.html $RPM_BUILD_ROOT/%{_var}/www/html/%{name}.html %clean rm -rf $RPM_BUILD_ROOT %files %defattr(-,root,root,-) %doc COPYING README /%{_var}/www/cgi-bin/%{name}.cgi %doc /%{_var}/www/html/%{name}.html %changelog * Thu Oct 1 2009 Jorge Torres <jtorresh@gmail.com> - 1.71-1 - Update to 1.71 * Sat Jul 25 2009 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 1.60-7 - Rebuilt for https://fedoraproject.org/wiki/Fedora_12_Mass_Rebuild * Wed Feb 25 2009 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 1.60-6 - Rebuilt for https://fedoraproject.org/wiki/Fedora_11_Mass_Rebuild * Fri Aug 8 2008 Tom "spot" Callaway <tcallawa@redhat.com> - 1.60-5 - fix license tag * Tue Feb 19 2008 Fedora Release Engineering <rel-eng@fedoraproject.org> - 1.60-4 - Autorebuild for GCC 4.3 * Sun Sep 17 2006 Jorge Torres <jtorresh@gmail.com> 1.60-3 - Rebuild for Fedora Extras 6 * Mon Feb 13 2006 Ignacio Vazquez-Abrams <ivazquez@ivazquez.net> 1.60-2 - Rebuild for Fedora Extras 5 * Sun Oct 9 2005 Ignacio Vazquez-Abrams <ivazquez@ivazquez.net> 1.60-1 - Initial RPM release