Sophie

Sophie

distrib > Mageia > 3 > i586 > media > core-release-src > by-pkgid > 716b67882716e8abf24465d0a349f442 > files > 2

latex2rtf-2.1.0-3.mga3.src.rpm

%define name	latex2rtf
%define version 2.1.0
%define release %mkrel 3

Summary:	LaTeX to RTF converter
Name:		%{name}
Version:	%{version}
Release:	%{release}
Source0:	%{name}-%{version}.tar.gz
License:	GPLv2+
Group:		Publishing
Url:		http://latex2rtf.sourceforge.net/
Requires:	texlive imagemagick
Requires(post):  info-install
Requires(preun): info-install

%description
LaTeX2rtf is a translator program which is intended to translate a
LaTeX document (precisely: the text and a limited subset of LaTeX
tags) into the RTF format which can be imported by several
text processors (including Microsoft Word for Windows and Word for
Macintosh).

%prep
%setup -q

%build
%make PREFIX=%{_prefix} INFO_INSTALL=%{_infodir} MAN_INSTALL=%{_mandir}/man1 CFG_INSTALL=%{_sysconfdir}/%{name} SUPPORT_INSTALL=%{_datadir}/doc/%{name}

%install
%__rm -rf %{buildroot}
%__install -d -m 755 %{buildroot}%{_datadir}/doc/%{name}
%__make PREFIX=%{buildroot}/%{_prefix} \
	 MAN_INSTALL=%{buildroot}%{_mandir}/man1 \
	 CFG_INSTALL=%{buildroot}%{_sysconfdir}/%{name} \
	 SUPPORT_INSTALL=%{buildroot}%{_datadir}/doc/%{name} install

%__install -d -m 755 %{buildroot}%{_infodir}
%__install -m 644 doc/%{name}.info %{buildroot}%{_infodir}

%post
%_install_info %{name}.info

%postun
%_remove_install_info %{name}.info

%clean
%__rm -rf %{buildroot}

%files
%defattr(-,root,root)
%doc ChangeLog Copyright README
%{_bindir}/*
%{_sysconfdir}/%{name}
%{_infodir}/*
%{_mandir}/man1/*


%changelog

* Sat Jan 12 2013 umeabot <umeabot> 2.1.0-3.mga3
+ Revision: 356655
- Mass Rebuild - https://wiki.mageia.org/en/Feature:Mageia3MassRebuild

* Wed Jun 15 2011 ahmad <ahmad> 2.1.0-2.mga2
+ Revision: 107913
- Require texlive instead of textex-latex
- imported package latex2rtf