source: projects/specs/trunk/d/detex/detex-vl.spec @ 521

Revision 521, 1.7 KB checked in by daisuke, 14 years ago (diff)

import VineSeed package specs

Line 
1Summary:      a program to remove TeX constructs
2Summary(ja):  TeXコマンドを取り除くプログラム
3Name:         detex
4Version:      2.8
5Release:      1%{?_dist_release}
6URL:          http://www.cs.purdue.edu/homes/trinkle/detex/
7License:      distributable
8Group:        Applications/Text
9Source:       http://www.cs.purdue.edu/homes/trinkle/detex/detex-2.8.tar
10Patch0:       detex-2.8-malloc.patch
11Buildroot:    %{_tmppath}/%{name}-%{version}-root
12BuildRequires: sed flex
13
14Vendor:       Project Vine
15Distribution: Vine Linux
16
17
18%description
19Detex is a program to remove TeX constructs from a text file. 
20It recognizes the \input command.
21
22This 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
24commands.
25
26
27%description -l ja
28LaTeX 文書から LaTeX コマンドを取り除くプログラムです。
29
30%prep
31%setup -q
32%patch0 -p0 -b .malloc
33
34%build
35make
36
37%install
38[ -n "$RPM_BUILD_ROOT" -a "$RPM_BUILD_ROOT" != / ] && rm -rf $RPM_BUILD_ROOT
39mkdir -p $RPM_BUILD_ROOT%{_bindir}
40install -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
Note: See TracBrowser for help on using the repository browser.