]> git.pld-linux.org Git - packages/source-highlight.git/blob - source-highlight.spec
d9266112510d63da2a338ab6ffdb884ac5312587
[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:        3.1.7
5 Release:        7
6 License:        GPL v3+
7 Group:          Applications/Publishing
8 Source0:        http://ftp.gnu.org/gnu/src-highlite/%{name}-%{version}.tar.gz
9 # Source0-md5:  0ff81588d3536b4c4e571122ba940595
10 Patch0:         %{name}-info.patch
11 URL:            http://www.gnu.org/software/src-highlite/
12 BuildRequires:  automake
13 BuildRequires:  boost-devel >= 1.36.0
14 BuildRequires:  flex
15 BuildRequires:  libstdc++-devel
16 BuildRequires:  texinfo
17 Requires:       %{name}-libs = %{version}-%{release}
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 - Ada
27 - Asm (new)
28 - Applescript (new)
29 - Awk (new)
30 - Autoconf files
31 - Bat (new)
32 - Bib
33 - Bison
34 - C/C++
35 - C#
36 - Clipper (new)
37 - Cobol (new)
38 - Configuration files (generic)
39 - Caml
40 - Changelog
41 - Css
42 - D (new)
43 - Diff
44 - Erlang (new)
45 - errors (compiler output) (new)
46 - Flex
47 - Fortran
48 - GLSL
49 - Haskell
50 - Haxe
51 - Html
52 - ini files
53 - Java
54 - Javascript
55 - KDE desktop files
56 - Latex
57 - Ldap files
58 - Logtalk
59 - Log files
60 - lsm files (Linux Software Map)
61 - Lua
62 - Makefile
63 - Manifest (new)
64 - M4
65 - ML
66 - Oz
67 - Pascal
68 - Perl
69 - pkg-config files
70 - PHP
71 - Postscript
72 - Prolog
73 - Properties files
74 - Python
75 - RPM Spec files
76 - Ruby
77 - Scala
78 - Shell
79 - S-Lang
80 - Sql
81 - Tcl
82 - Texinfo
83 - VBscript (new)
84 - XML
85 - XOrg conf files
86
87 as source languages, and
88
89 - HTML
90 - XHTML
91 - ANSI color escape sequences
92 - LaTeX
93 - Texinfo
94 - DocBook
95
96
97 as output formats.
98
99 %description -l pl.UTF-8
100 Ten program z pliku źródłowego tworzy dokument z podświetloną
101 składnią.
102
103 Aktualnie obsługiwane języki źródłowe to:
104
105 - Ada
106 - Asm (nowość)
107 - Applescript (nowość)
108 - Awk (nowość)
109 - Autoconf files
110 - Bat (nowość)
111 - Bib
112 - Bison
113 - C/C++
114 - C#
115 - Clipper (nowość)
116 - Cobol (nowość)
117 - Configuration files (generic)
118 - Caml
119 - Changelog
120 - Css
121 - D (nowość)
122 - Diff
123 - Erlang (nowość)
124 - errors (compiler output) (nowość)
125 - Flex
126 - Fortran
127 - GLSL
128 - Haskell
129 - Haxe
130 - Html
131 - ini files
132 - Java
133 - Javascript
134 - KDE desktop files
135 - Latex
136 - Ldap files
137 - Logtalk
138 - Log files
139 - lsm files (Linux Software Map)
140 - Lua
141 - Makefile
142 - Manifest (nowość)
143 - M4
144 - ML
145 - Oz
146 - Pascal
147 - Perl
148 - pkg-config files
149 - PHP
150 - Postscript
151 - Prolog
152 - Properties files
153 - Python
154 - RPM Spec files
155 - Ruby
156 - Scala
157 - Shell
158 - S-Lang
159 - Sql
160 - Tcl
161 - Texinfo
162 - VBscript (nowość)
163 - XML
164 - XOrg conf files
165
166 a wynikiem może być:
167
168 - HTML
169 - XHTML
170 - ANSI color escape sequences
171 - LaTeX
172 - Texinfo
173 - DocBook
174
175 %package libs
176 Summary:        Source highlight library
177 Summary(pl.UTF-8):      Biblioteka podświetlania składni
178 Group:          Libraries
179
180 %description libs
181 Source highlight library.
182
183 %description libs -l pl.UTF-8
184 Biblioteka podświetlania składni.
185
186 %package devel
187 Summary:        Header file for srchlite library
188 Summary(pl.UTF-8):      Plik nagłówkowy biblioteki srchlite
189 Group:          Development/Libraries
190 Requires:       %{name}-libs = %{version}-%{release}
191 Requires:       boost-devel >= 1.36.0
192 Requires:       libstdc++-devel
193
194 %description devel
195 Header file for srchlite library.
196
197 %description devel -l pl.UTF-8
198 Plik nagłówkowy biblioteki srchlite.
199
200 %package static
201 Summary:        Static source-highlight library
202 Summary(pl.UTF-8):      Statyczna biblioteka source-highlight
203 Group:          Development/Libraries
204 Requires:       %{name}-devel = %{version}-%{release}
205
206 %description static
207 Statoic source highlight library.
208
209 %description static -l pl.UTF-8
210 Statyczna biblioteka podświetlania składni.
211
212 %package -n bash-completion-source-highlight
213 Summary:        bash-completion for source-higlight
214 Summary(pl.UTF-8):      bashowe uzupełnianie nazw dla pakietu source-highlight
215 Group:          Applications/Shells
216 Requires:       bash-completion
217
218 %description -n bash-completion-source-highlight
219 This package provides bash-completion for source-highlight.
220
221 %description -n bash-completion-source-highlight -l pl.UTF-8
222 Pakiet ten dostarcza bashowe uzupełnianie nazw dla pakiet
223 source-highlight.
224
225 %prep
226 %setup -q
227 %patch0 -p1
228
229 %build
230 cp -f /usr/share/automake/config.sub .
231 %configure \
232         --with-boost-libdir=%{_libdir}
233 %{__make}
234
235 %install
236 rm -rf $RPM_BUILD_ROOT
237 install -d $RPM_BUILD_ROOT%{_docdir}/%{name}-%{version}
238
239 %{__make} install \
240         DESTDIR=$RPM_BUILD_ROOT
241
242 %{__rm} -rf docdir-%{name}-%{version}
243 %{__mv} -f $RPM_BUILD_ROOT%{_docdir}/%{name} docdir-%{name}-%{version}
244
245 %{__rm} $RPM_BUILD_ROOT%{_libdir}/libsource-highlight.la
246
247 %clean
248 rm -rf $RPM_BUILD_ROOT
249
250 %post   -p /sbin/postshell
251 -/usr/sbin/fix-info-dir -c %{_infodir}
252
253 %postun -p /sbin/postshell
254 -/usr/sbin/fix-info-dir -c %{_infodir}
255
256 %post   libs -p /sbin/ldconfig
257 %postun libs -p /sbin/ldconfig
258
259 %files
260 %defattr(644,root,root,755)
261 %doc AUTHORS ChangeLog NEWS README THANKS TODO.txt doc/{*.css,*.html,*.java}
262 %doc docdir-%{name}-%{version}/*
263 %attr(755,root,root) %{_bindir}/check-regexp
264 %attr(755,root,root) %{_bindir}/cpp2html
265 %attr(755,root,root) %{_bindir}/java2html
266 %attr(755,root,root) %{_bindir}/source-highlight
267 %attr(755,root,root) %{_bindir}/source-highlight-esc.sh
268 %attr(755,root,root) %{_bindir}/source-highlight-settings
269 %attr(755,root,root) %{_bindir}/src-hilite-lesspipe.sh
270 %{_mandir}/man1/check-regexp.1*
271 %{_mandir}/man1/source-highlight.1*
272 %{_mandir}/man1/source-highlight-settings.1*
273 %dir %{_datadir}/%{name}
274 %{_datadir}/%{name}/*
275 %{_infodir}/source-highlight.info*
276 %{_infodir}/source-highlight-lib.info*
277
278 %files libs
279 %defattr(644,root,root,755)
280 %attr(755,root,root) %{_libdir}/libsource-highlight.so.*.*.*
281 %attr(755,root,root) %ghost %{_libdir}/libsource-highlight.so.4
282
283 %files devel
284 %defattr(644,root,root,755)
285 %attr(755,root,root) %{_libdir}/libsource-highlight.so
286 %{_includedir}/srchilite
287 %{_pkgconfigdir}/source-highlight.pc
288
289 %files static
290 %defattr(644,root,root,755)
291 %{_libdir}/libsource-highlight.a
292
293 %files -n bash-completion-source-highlight
294 %defattr(644,root,root,755)
295 %{_sysconfdir}/bash_completion.d/source-highlight
This page took 0.078575 seconds and 2 git commands to generate.