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