1 Summary: LaTeX to RTF converter program
2 Summary(pl.UTF-8): Konwerter z formatu LaTeXa do RTF
7 Group: Applications/Text
8 Source0: http://downloads.sourceforge.net/latex2rtf/%{name}-%{version}.tar.gz
9 # Source0-md5: a660ae266969196a96f31b1f1f5d12e5
10 URL: http://latex2rtf.sourceforge.net/
11 BuildRoot: %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
14 LaTeX to RTF converter.
16 %description -l pl.UTF-8
17 Program do przetwarzania dokumentów z formatu TeX (LaTeX) na format
18 Rich Text Format, czytany przez programy firmy Microsoft.
21 %setup -q -n %{name}-2.2.1
26 CFLAGS="%{rpmcflags} -DUNIX" \
31 rm -rf $RPM_BUILD_ROOT
32 install -d $RPM_BUILD_ROOT%{_infodir}
35 DESTDIR=$RPM_BUILD_ROOT%{_prefix} \
36 MAN_INSTALL=$RPM_BUILD_ROOT%{_mandir}/man1 \
37 INST_DIR="install -d" \
41 install doc/latex2rtf.info $RPM_BUILD_ROOT%{_infodir}
44 rm -rf $RPM_BUILD_ROOT
46 %post -p /sbin/postshell
47 -/usr/sbin/fix-info-dir -c %{_infodir}
49 %postun -p /sbin/postshell
50 -/usr/sbin/fix-info-dir -c %{_infodir}
53 %defattr(644,root,root,755)
54 %doc doc/credits README ChangeLog Copyright
55 %attr(755,root,root) %{_bindir}/latex2png
56 %attr(755,root,root) %{_bindir}/latex2rtf
58 %{_mandir}/man1/latex2png.1*
59 %{_mandir}/man1/latex2rtf.1*
60 %{_infodir}/latex2rtf.info*