Summary: remove TeX constructs Summary(ja): TeX 命令を取り除く Name: detex Version: 2.7 Release: 1 Source0: http://www.cs.purdue.edu/homes/trinkle/detex/%{name}-%{version}.tar Patch0: detex-2.7.Makefile.patch URL: http://www.cs.purdue.edu/homes/trinkle/detex/ Copyright: distributable Buildroot: %{_tmppath}/%{name}-%{version}-root Group: Applications/Publishing Packager: Nobuyuki Tsuchimura %description Detex is a program to remove TeX constructs from a text file. It recognizes the \input command. This program assumes it is dealing with LaTeX input if it sees the string "\begin{document}" in the text. It recognizes the \include and \includeonly commands. %description -l ja Detex はテキストファイルから TeX 命令を取り除くプログラムです。 \input コマンドを扱えます。 このプログラムは、テキスト中に "\begin{document}" という文字列があれば、 入力ファイルを LaTeX 形式として扱うようになります。\include と \includeonly コマンドを扱えます。 %changelog * Tue Jan 2 2001 Nobuyuki Tsuchimura - 1st release %prep rm -rf $RPM_BUILD_ROOT %setup -q -c %{name}-%{version} %patch -p 1 -b .orig %build make CFLAGS="$RPM_OPT_FLAGS" all man-page %install rm -rf $RPM_BUILD_ROOT mkdir -p $RPM_BUILD_ROOT/usr/bin mkdir -p $RPM_BUILD_ROOT/usr/man/man1 install -s detex $RPM_BUILD_ROOT/usr/bin install detex.1l $RPM_BUILD_ROOT/usr/man/man1 %clean rm -rf $RPM_BUILD_ROOT %files %defattr(-,root,root) /usr/bin/* /usr/man/man1/* %doc README