[521] | 1 | Summary: a program to remove TeX constructs |
---|
| 2 | Summary(ja): TeXコマンドを取り除くプログラム |
---|
| 3 | Name: detex |
---|
| 4 | Version: 2.8 |
---|
| 5 | Release: 1%{?_dist_release} |
---|
| 6 | URL: http://www.cs.purdue.edu/homes/trinkle/detex/ |
---|
| 7 | License: distributable |
---|
| 8 | Group: Applications/Text |
---|
| 9 | Source: http://www.cs.purdue.edu/homes/trinkle/detex/detex-2.8.tar |
---|
| 10 | Patch0: detex-2.8-malloc.patch |
---|
| 11 | Buildroot: %{_tmppath}/%{name}-%{version}-root |
---|
| 12 | BuildRequires: sed flex |
---|
| 13 | |
---|
| 14 | Vendor: Project Vine |
---|
| 15 | Distribution: Vine Linux |
---|
| 16 | |
---|
| 17 | |
---|
| 18 | %description |
---|
| 19 | Detex is a program to remove TeX constructs from a text file. |
---|
| 20 | It recognizes the \input command. |
---|
| 21 | |
---|
| 22 | This program assumes it is dealing with LaTeX input if it sees the string |
---|
| 23 | "\begin{document}" in the text. It recognizes the \include and \includeonly |
---|
| 24 | commands. |
---|
| 25 | |
---|
| 26 | |
---|
| 27 | %description -l ja |
---|
| 28 | LaTeX 文書から LaTeX コマンドを取り除くプログラムです。 |
---|
| 29 | |
---|
| 30 | %prep |
---|
| 31 | %setup -q |
---|
| 32 | %patch0 -p0 -b .malloc |
---|
| 33 | |
---|
| 34 | %build |
---|
| 35 | make |
---|
| 36 | |
---|
| 37 | %install |
---|
| 38 | [ -n "$RPM_BUILD_ROOT" -a "$RPM_BUILD_ROOT" != / ] && rm -rf $RPM_BUILD_ROOT |
---|
| 39 | mkdir -p $RPM_BUILD_ROOT%{_bindir} |
---|
| 40 | install -m 775 detex $RPM_BUILD_ROOT%{_bindir} |
---|
| 41 | |
---|
| 42 | %clean |
---|
| 43 | [ -n "$RPM_BUILD_ROOT" -a "$RPM_BUILD_ROOT" != / ] && rm -rf $RPM_BUILD_ROOT |
---|
| 44 | |
---|
| 45 | %files |
---|
| 46 | %defattr(-,root,root) |
---|
| 47 | %doc README |
---|
| 48 | %{_bindir}/detex |
---|
| 49 | |
---|
| 50 | %changelog |
---|
| 51 | * Mon Sep 29 2008 Ryoichi INAGAKI <ryo1@bc.wakwak.com> 2.8-1vl5 |
---|
| 52 | - new upstream release |
---|
| 53 | - added Patch0 for compiling new toolchains |
---|
| 54 | - added BuildRequires: sed flex |
---|
| 55 | - applied new versioning policy |
---|
| 56 | - spec in UTF-8 |
---|
| 57 | |
---|
| 58 | * Sun Jul 15 2003 Ryoichi INAGAKI <ryo1@bc.wakwak.com> 2.7-0vl3 |
---|
| 59 | - build with new toolchains |
---|
| 60 | - to use License instead of Copyright |
---|
| 61 | |
---|
| 62 | * Thu Jan 4 2001 Jun Nishii <jun@vinelinux.org> |
---|
| 63 | - 2.7-0vl2 |
---|
| 64 | - build with gcc |
---|
| 65 | |
---|
| 66 | * Wed Jan 3 2001 Jun Nishii <jun@vinelinux.org> |
---|
| 67 | - 2.7-0vl1 |
---|
| 68 | - first build |
---|
| 69 | |
---|