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