]> git.pld-linux.org Git - packages/source-highlight.git/blob - source-highlight.spec
- updated to 2.11.1
[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.1
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:  f6e332317413f247ce248c52df0ddade
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 - Ada (new)
28 - Autoconf files
29 - C/C++
30 - C#
31 - Bib
32 - Bison
33 - Caml
34 - Changelog
35 - Css
36 - Diff
37 - Flex
38 - Fortran
39 - GLSL
40 - Haxe
41 - Html
42 - ini files
43 - Java
44 - Javascript
45 - KDE desktop files
46 - Latex
47 - Ldap files
48 - Logtalk
49 - Log files
50 - lsm files (Linux Software Map)
51 - Lua
52 - Makefile
53 - M4
54 - ML
55 - Pascal
56 - Perl
57 - PHP
58 - Postscript
59 - Prolog
60 - Properties files
61 - Python
62 - RPM Spec files
63 - Ruby
64 - Scala     (new)
65 - Shell
66 - S-Lang
67 - Sql
68 - Tcl
69 - XML
70 - XOrg conf files     (new)
71
72 as source languages, and
73 - HTML
74 - XHTML
75 - ANSI color escape sequences
76 - LaTeX
77 - Texinfo
78 - DocBook
79
80 as output formats.
81
82 %description -l pl.UTF-8
83 Ten program z pliku źródłowego tworzy dokument z podświetloną
84 składnią.
85
86 Aktualnie obsługiwane języki źródłowe to:
87
88 - Ada (nowość)
89 - Autoconf files
90 - C/C++
91 - C#
92 - Bib
93 - Bison
94 - Caml
95 - Changelog
96 - Css
97 - Diff
98 - Flex
99 - Fortran
100 - GLSL
101 - Haxe
102 - Html
103 - ini files
104 - Java
105 - Javascript
106 - KDE desktop files
107 - Latex
108 - Ldap files
109 - Logtalk
110 - Log files
111 - lsm files (Linux Software Map)
112 - Lua
113 - Makefile
114 - M4
115 - ML
116 - Pascal
117 - Perl
118 - PHP
119 - Postscript
120 - Prolog
121 - Properties files
122 - Python
123 - RPM Spec files
124 - Ruby
125 - Scala     (nowość)
126 - Shell
127 - S-Lang
128 - Sql
129 - Tcl
130 - XML
131 - XOrg conf files     (nowość)
132
133 a wynikiem może być:
134
135 - HTML
136 - XHTML
137 - ANSI color escape sequences
138 - LaTeX
139 - Texinfo
140 - DocBook
141
142 %package -n bash-completion-source-highlight
143 Summary:        bash-completion for source-higlight
144 Summary(pl.UTF-8):      bashowe uzupełnianie nazw dla pakietu source-highlight
145 Group:          Applications/Shells
146 Requires:       bash-completion
147
148 %description -n bash-completion-source-highlight
149 This package provides bash-completion for source-highlight.
150
151 %description -n bash-completion-source-highlight -l pl.UTF-8
152 Pakiet ten dostarcza bashowe uzupełnianie nazw dla pakiet source-highlight.
153
154 %prep
155 %setup -q
156 %patch0 -p1
157 %patch1 -p1
158
159 %build
160 cp -f /usr/share/automake/config.sub .
161 %configure
162 %{__make}
163
164 %install
165 rm -rf $RPM_BUILD_ROOT
166 install -d $RPM_BUILD_ROOT%{_docdir}/%{name}-%{version}
167
168 %{__make} install \
169         DESTDIR=$RPM_BUILD_ROOT
170
171 mv -f $RPM_BUILD_ROOT%{_docdir}/%{name}/* $RPM_BUILD_ROOT%{_docdir}/%{name}-%{version}
172
173 %clean
174 rm -rf $RPM_BUILD_ROOT
175
176 %post   -p /sbin/postshell
177 -/usr/sbin/fix-info-dir -c %{_infodir}
178
179 %postun -p /sbin/postshell
180 -/usr/sbin/fix-info-dir -c %{_infodir}
181
182 %files
183 %defattr(644,root,root,755)
184 %doc AUTHORS ChangeLog NEWS README THANKS TODO.txt doc/{*.css,*.html,*.java}
185 %attr(755,root,root) %{_bindir}/check-regexp
186 %attr(755,root,root) %{_bindir}/cpp2html
187 %attr(755,root,root) %{_bindir}/java2html
188 %attr(755,root,root) %{_bindir}/source-highlight
189 %attr(755,root,root) %{_bindir}/src-hilite-lesspipe.sh
190 %{_mandir}/man1/check-regexp.1*
191 %{_mandir}/man1/source-highlight.1*
192 %dir %{_datadir}/%{name}
193 %{_datadir}/%{name}/*
194 %{_infodir}/source-highlight.info*
195
196 %files -n bash-completion-source-highlight
197 %defattr(644,root,root,755)
198 %{_sysconfdir}/bash_completion.d/*
This page took 0.066056 seconds and 4 git commands to generate.