]> git.pld-linux.org Git - packages/source-highlight.git/blob - source-highlight.spec
- up to 2.11
[packages/source-highlight.git] / source-highlight.spec
1 Summary:        GNU Source Highlight
2 Summary(pl.UTF-8):      Podświetlanie składni z projektu GNU
3 Name:           source-highlight
4 Version:        2.11
5 Release:        1
6 License:        GPL v3+
7 Group:          Applications/Publishing
8 Source0:        http://ftp.gnu.org/gnu/src-highlite/%{name}-%{version}.tar.gz
9 # Source0-md5:  084559d7473802b0e5838585cebf42e3
10 Patch0:         %{name}-info.patch
11 Patch1:         %{name}-am.patch
12 URL:            http://www.gnu.org/software/src-highlite/
13 BuildRequires:  automake
14 BuildRequires:  bison
15 BuildRequires:  boost-devel >= 1.36.0
16 BuildRequires:  flex
17 BuildRequires:  libstdc++-devel
18 BuildRequires:  texinfo
19 BuildRoot:      %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
20
21 %description
22 This program, given a source file, produces a document with syntax
23 highlighting.
24
25 At the moment this package can handle:
26
27 - Java
28 - Javascript
29 - C/C++
30 - Prolog
31 - Perl
32 - Php3
33 - Python
34 - Flex
35 - ChangeLog
36 - Ruby
37 - Lua
38 - Caml
39 - Sml
40 - Log
41
42 as source languages, and
43
44 - HTML
45 - XHTML
46 - ANSI color escape sequences (you can use this feature with less)
47
48 as output formats.
49
50 %description -l pl.UTF-8
51 Ten program z pliku źródłowego tworzy dokument z podświetloną
52 składnią.
53
54 Aktualnie obsługiwane języki źródłowe to:
55
56 - Java
57 - Javascript
58 - C/C++
59 - Prolog
60 - Perl
61 - Php3
62 - Python
63 - Flex
64 - ChangeLog
65 - Ruby
66 - Lua
67 - Caml
68 - Sml
69 - Log
70
71 a wynikiem może być:
72
73 - HTML
74 - XHTML
75 - kolorowa sekwencja ANSI
76
77 %prep
78 %setup -q
79 %patch0 -p1
80 %patch1 -p1
81
82 %build
83 cp -f /usr/share/automake/config.sub .
84 %configure
85 %{__make}
86
87 %install
88 rm -rf $RPM_BUILD_ROOT
89 install -d $RPM_BUILD_ROOT%{_docdir}/%{name}-%{version}
90
91 %{__make} install \
92         DESTDIR=$RPM_BUILD_ROOT
93
94 mv -f $RPM_BUILD_ROOT%{_docdir}/%{name}/* $RPM_BUILD_ROOT%{_docdir}/%{name}-%{version}
95
96 %clean
97 rm -rf $RPM_BUILD_ROOT
98
99 %post   -p /sbin/postshell
100 -/usr/sbin/fix-info-dir -c %{_infodir}
101
102 %postun -p /sbin/postshell
103 -/usr/sbin/fix-info-dir -c %{_infodir}
104
105 %files
106 %defattr(644,root,root,755)
107 %doc AUTHORS ChangeLog NEWS README THANKS TODO.txt doc/{*.css,*.html,*.java}
108 %attr(755,root,root) %{_bindir}/check-regexp
109 %attr(755,root,root) %{_bindir}/cpp2html
110 %attr(755,root,root) %{_bindir}/java2html
111 %attr(755,root,root) %{_bindir}/source-highlight
112 %attr(755,root,root) %{_bindir}/src-hilite-lesspipe.sh
113 %{_mandir}/man1/check-regexp.1*
114 %{_mandir}/man1/source-highlight.1*
115 %dir %{_datadir}/%{name}
116 %{_datadir}/%{name}/*
117 %{_infodir}/source-highlight.info*
This page took 0.052393 seconds and 4 git commands to generate.