]> git.pld-linux.org Git - packages/latex2rtf.git/blob - latex2rtf.spec
- 2.2.1c
[packages/latex2rtf.git] / latex2rtf.spec
1 Summary:        LaTeX to RTF converter program
2 Summary(pl.UTF-8):      Konwerter z formatu LaTeXa do RTF
3 Name:           latex2rtf
4 Version:        2.2.1c
5 Release:        1
6 License:        GPL v2+
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)
12
13 %description
14 LaTeX to RTF converter.
15
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.
19
20 %prep
21 %setup -q -n %{name}-2.2.1
22
23 %build
24 %{__make} \
25         CC="%{__cc}" \
26         CFLAGS="%{rpmcflags} -DUNIX" \
27         DESTDIR=%{_prefix} \
28         PREFIX=%{_prefix}
29
30 %install
31 rm -rf $RPM_BUILD_ROOT
32 install -d $RPM_BUILD_ROOT%{_infodir}
33
34 %{__make} install \
35         DESTDIR=$RPM_BUILD_ROOT%{_prefix} \
36         MAN_INSTALL=$RPM_BUILD_ROOT%{_mandir}/man1 \
37         INST_DIR="install -d" \
38         INST_BIN=install \
39         INST_DAT=install
40
41 install doc/latex2rtf.info $RPM_BUILD_ROOT%{_infodir}
42
43 %clean
44 rm -rf $RPM_BUILD_ROOT
45
46 %post   -p /sbin/postshell
47 -/usr/sbin/fix-info-dir -c %{_infodir}
48
49 %postun -p /sbin/postshell
50 -/usr/sbin/fix-info-dir -c %{_infodir}
51
52 %files
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
57 %{_datadir}/%{name}
58 %{_mandir}/man1/latex2png.1*
59 %{_mandir}/man1/latex2rtf.1*
60 %{_infodir}/latex2rtf.info*
This page took 0.088894 seconds and 4 git commands to generate.