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