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

Revision 5463, 2.1 KB checked in by munepi, 12 years ago (diff)

updated detex-vl.spec

Line 
1Summary:      a program to remove TeX constructs
2Summary(ja):  TeXコマンドを取り除くプログラム
3Name:         detex
4Version:      2.8
5Release:      3%{?_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# To convert the man page from 1L to 1
35%__sed -i "s/1L/1/" detex.1l
36
37%build
38%__make
39
40%install
41[ -n "$RPM_BUILD_ROOT" -a "$RPM_BUILD_ROOT" != / ] && rm -rf $RPM_BUILD_ROOT
42%__install -Dpm 755 detex $RPM_BUILD_ROOT%{_bindir}/detex
43%__install -Dpm 644 detex.1l $RPM_BUILD_ROOT%{_mandir}/man1/detex.1
44
45%clean
46[ -n "$RPM_BUILD_ROOT" -a "$RPM_BUILD_ROOT" != / ] && rm -rf $RPM_BUILD_ROOT
47
48%files
49%defattr(-,root,root)
50%doc README COPYRIGHT
51%{_bindir}/detex
52%{_mandir}/man1/%{name}.1*
53
54%changelog
55* Tue Jan 24 2012 Munehiro Yamamoto <munepi@vinelinux.org> 2.8-3
56- rebuild
57 
58* Sat Dec  3 2011 Munehiro Yamamoto <munepi@vinelinux.org> 2.8-2
59- added man file
60 
61* Mon Sep 29 2008 Ryoichi INAGAKI <ryo1@bc.wakwak.com> 2.8-1vl5
62- new upstream release
63- added Patch0 for compiling new toolchains
64- added BuildRequires: sed flex
65- applied new versioning policy
66- spec in UTF-8
67
68* Sun Jul 15 2003 Ryoichi INAGAKI <ryo1@bc.wakwak.com> 2.7-0vl3
69- build with new toolchains
70- to use License instead of Copyright
71
72* Thu Jan  4 2001 Jun Nishii <jun@vinelinux.org>
73- 2.7-0vl2
74- build with gcc
75
76* Wed Jan  3 2001 Jun Nishii <jun@vinelinux.org>
77- 2.7-0vl1
78- first build
79
Note: See TracBrowser for help on using the repository browser.