1 Summary: GNU Source Highlight
2 Summary(pl.UTF-8): Podświetlanie składni z projektu GNU
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
15 BuildRequires: libstdc++-devel
16 BuildRequires: texinfo
17 Requires: %{name}-libs = %{version}-%{release}
18 BuildRoot: %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
21 This program, given a source file, produces a document with syntax
24 At the moment this package can handle:
38 - Configuration files (generic)
45 - errors (compiler output) (new)
60 - lsm files (Linux Software Map)
87 as source languages, and
91 - ANSI color escape sequences
99 %description -l pl.UTF-8
100 Ten program z pliku źródłowego tworzy dokument z podświetloną
103 Aktualnie obsługiwane języki źródłowe to:
107 - Applescript (nowość)
117 - Configuration files (generic)
124 - errors (compiler output) (nowość)
139 - lsm files (Linux Software Map)
170 - ANSI color escape sequences
176 Summary: Source highlight library
177 Summary(pl.UTF-8): Biblioteka podświetlania składni
181 Source highlight library.
183 %description libs -l pl.UTF-8
184 Biblioteka podświetlania składni.
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
195 Header file for srchlite library.
197 %description devel -l pl.UTF-8
198 Plik nagłówkowy biblioteki srchlite.
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}
207 Statoic source highlight library.
209 %description static -l pl.UTF-8
210 Statyczna biblioteka podświetlania składni.
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
218 %description -n bash-completion-source-highlight
219 This package provides bash-completion for source-highlight.
221 %description -n bash-completion-source-highlight -l pl.UTF-8
222 Pakiet ten dostarcza bashowe uzupełnianie nazw dla pakiet
230 cp -f /usr/share/automake/config.sub .
232 --with-boost-libdir=%{_libdir}
236 rm -rf $RPM_BUILD_ROOT
237 install -d $RPM_BUILD_ROOT%{_docdir}/%{name}-%{version}
240 DESTDIR=$RPM_BUILD_ROOT
242 mv -f $RPM_BUILD_ROOT%{_docdir}/%{name}/* $RPM_BUILD_ROOT%{_docdir}/%{name}-%{version}
243 %{__rm} $RPM_BUILD_ROOT%{_libdir}/libsource-highlight.la
246 rm -rf $RPM_BUILD_ROOT
248 %post -p /sbin/postshell
249 -/usr/sbin/fix-info-dir -c %{_infodir}
251 %postun -p /sbin/postshell
252 -/usr/sbin/fix-info-dir -c %{_infodir}
254 %post libs -p /sbin/ldconfig
255 %postun libs -p /sbin/ldconfig
258 %defattr(644,root,root,755)
259 %doc AUTHORS ChangeLog NEWS README THANKS TODO.txt doc/{*.css,*.html,*.java}
260 %attr(755,root,root) %{_bindir}/check-regexp
261 %attr(755,root,root) %{_bindir}/cpp2html
262 %attr(755,root,root) %{_bindir}/java2html
263 %attr(755,root,root) %{_bindir}/source-highlight
264 %attr(755,root,root) %{_bindir}/source-highlight-esc.sh
265 %attr(755,root,root) %{_bindir}/source-highlight-settings
266 %attr(755,root,root) %{_bindir}/src-hilite-lesspipe.sh
267 %{_mandir}/man1/check-regexp.1*
268 %{_mandir}/man1/source-highlight.1*
269 %{_mandir}/man1/source-highlight-settings.1*
270 %dir %{_datadir}/%{name}
271 %{_datadir}/%{name}/*
272 %{_infodir}/source-highlight.info*
273 %{_infodir}/source-highlight-lib.info*
276 %defattr(644,root,root,755)
277 %attr(755,root,root) %{_libdir}/libsource-highlight.so.*.*.*
278 %attr(755,root,root) %ghost %{_libdir}/libsource-highlight.so.4
281 %defattr(644,root,root,755)
282 %attr(755,root,root) %{_libdir}/libsource-highlight.so
283 %{_includedir}/srchilite
284 %{_pkgconfigdir}/source-highlight.pc
287 %defattr(644,root,root,755)
288 %{_libdir}/libsource-highlight.a
290 %files -n bash-completion-source-highlight
291 %defattr(644,root,root,755)
292 %{_sysconfdir}/bash_completion.d/source-highlight