]> git.pld-linux.org Git - packages/source-highlight.git/blob - source-highlight.spec
- release 4 (rebuild with 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:        3.1.4
5 Release:        4
6 License:        GPL v3+
7 Group:          Applications/Publishing
8 Source0:        http://ftp.gnu.org/gnu/src-highlite/%{name}-%{version}.tar.gz
9 # Source0-md5:  becf8292b84ece6b532b0f0c92b530ee
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 devel
176 Summary:        Header file for srchlite library
177 Summary(pl.UTF-8):      Plik nagłówkowy biblioteki srchlite
178 Group:          Development/Libraries
179 Requires:       %{name}-libs = %{version}-%{release}
180
181 %description devel
182 Header file for srchlite library.
183
184 %description devel -l pl.UTF-8
185 Plik nagłówkowy biblioteki srchlite.
186
187 %package libs
188 Summary:        Source highlight library
189 Summary(pl.UTF-8):      Biblioteka podświetlania składni
190 Group:          Libraries
191
192 %description libs
193 Source highlight library.
194
195 %description libs -l pl.UTF-8
196 Biblioteka podświetlania składni.
197
198 %package static
199 Summary:        Static source-highlight library
200 Summary(pl.UTF-8):      Statyczna biblioteka source-highlight
201 Group:          Development/Libraries
202 Requires:       %{name}-devel = %{version}-%{release}
203
204 %description static
205 Statoic source highlight library.
206
207 %description static -l pl.UTF-8
208 Statyczna biblioteka podświetlania składni.
209
210 %package -n bash-completion-source-highlight
211 Summary:        bash-completion for source-higlight
212 Summary(pl.UTF-8):      bashowe uzupełnianie nazw dla pakietu source-highlight
213 Group:          Applications/Shells
214 Requires:       bash-completion
215
216 %description -n bash-completion-source-highlight
217 This package provides bash-completion for source-highlight.
218
219 %description -n bash-completion-source-highlight -l pl.UTF-8
220 Pakiet ten dostarcza bashowe uzupełnianie nazw dla pakiet
221 source-highlight.
222
223 %prep
224 %setup -q
225 %patch0 -p1
226
227 %build
228 cp -f /usr/share/automake/config.sub .
229 %configure \
230         --with-boost-libdir=%{_libdir}
231 %{__make}
232
233 %install
234 rm -rf $RPM_BUILD_ROOT
235 install -d $RPM_BUILD_ROOT%{_docdir}/%{name}-%{version}
236
237 %{__make} install \
238         DESTDIR=$RPM_BUILD_ROOT
239
240 mv -f $RPM_BUILD_ROOT%{_docdir}/%{name}/* $RPM_BUILD_ROOT%{_docdir}/%{name}-%{version}
241
242 %clean
243 rm -rf $RPM_BUILD_ROOT
244
245 %post   -p /sbin/postshell
246 -/usr/sbin/fix-info-dir -c %{_infodir}
247
248 %postun -p /sbin/postshell
249 -/usr/sbin/fix-info-dir -c %{_infodir}
250
251 %post   libs -p /sbin/ldconfig
252 %postun libs -p /sbin/ldconfig
253
254 %files
255 %defattr(644,root,root,755)
256 %doc AUTHORS ChangeLog NEWS README THANKS TODO.txt doc/{*.css,*.html,*.java}
257 %attr(755,root,root) %{_bindir}/check-regexp
258 %attr(755,root,root) %{_bindir}/cpp2html
259 %attr(755,root,root) %{_bindir}/java2html
260 %attr(755,root,root) %{_bindir}/source-highlight
261 %attr(755,root,root) %{_bindir}/source-highlight-settings
262 %attr(755,root,root) %{_bindir}/src-hilite-lesspipe.sh
263 %{_mandir}/man1/check-regexp.1*
264 %{_mandir}/man1/source-highlight.1*
265 %{_mandir}/man1/source-highlight-settings.1*
266 %dir %{_datadir}/%{name}
267 %{_datadir}/%{name}/*
268 %{_infodir}/source-highlight.info*
269 %{_infodir}/source-highlight-lib.info*
270
271 %files devel
272 %defattr(644,root,root,755)
273 %attr(755,root,root) %{_libdir}/libsource-highlight.so
274 %{_libdir}/libsource-highlight.la
275 %{_includedir}/srchilite
276 %{_pkgconfigdir}/source-highlight.pc
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.3
282
283 %files static
284 %defattr(644,root,root,755)
285 %{_libdir}/libsource-highlight.a
286
287 %files -n bash-completion-source-highlight
288 %defattr(644,root,root,755)
289 %{_sysconfdir}/bash_completion.d/*
This page took 0.061275 seconds and 4 git commands to generate.