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: ac85fefb72020b5d49a0def91feeba96
10 Patch0: %{name}-info.patch
11 URL: http://www.gnu.org/software/src-highlite/
12 BuildRequires: automake
14 BuildRequires: boost-devel >= 1.36.0
16 BuildRequires: libstdc++-devel
17 BuildRequires: texinfo
18 Requires: %{name}-libs = %{version}-%{release}
19 BuildRoot: %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
22 This program, given a source file, produces a document with syntax
25 At the moment this package can handle:
39 - Configuration files (generic)
46 - errors (compiler output) (new)
61 - lsm files (Linux Software Map)
88 as source languages, and
92 - ANSI color escape sequences
100 %description -l pl.UTF-8
101 Ten program z pliku źródłowego tworzy dokument z podświetloną
104 Aktualnie obsługiwane języki źródłowe to:
108 - Applescript (nowość)
118 - Configuration files (generic)
125 - errors (compiler output) (nowość)
140 - lsm files (Linux Software Map)
171 - ANSI color escape sequences
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}
183 Header file for srchlite library.
185 %description devel -l pl.UTF-8
186 Plik nagłówkowy biblioteki srchlite.
189 Summary: Source highlight library
190 Summary(pl.UTF-8): Biblioteka podświetlania składni
194 Source highlight library.
196 %description libs -l pl.UTF-8
197 Biblioteka podświetlania składni.
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}
206 Statoic source highlight library.
208 %description static -l pl.UTF-8
209 Statyczna biblioteka podświetlania składni.
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
217 %description -n bash-completion-source-highlight
218 This package provides bash-completion for source-highlight.
220 %description -n bash-completion-source-highlight -l pl.UTF-8
221 Pakiet ten dostarcza bashowe uzupełnianie nazw dla pakiet
229 cp -f /usr/share/automake/config.sub .
231 --with-boost-libdir=%{_libdir}
235 rm -rf $RPM_BUILD_ROOT
236 install -d $RPM_BUILD_ROOT%{_docdir}/%{name}-%{version}
239 DESTDIR=$RPM_BUILD_ROOT
241 mv -f $RPM_BUILD_ROOT%{_docdir}/%{name}/* $RPM_BUILD_ROOT%{_docdir}/%{name}-%{version}
244 rm -rf $RPM_BUILD_ROOT
246 %post -p /sbin/postshell
247 -/usr/sbin/fix-info-dir -c %{_infodir}
249 %postun -p /sbin/postshell
250 -/usr/sbin/fix-info-dir -c %{_infodir}
252 %post libs -p /sbin/ldconfig
253 %postun libs -p /sbin/ldconfig
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*
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
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
285 %defattr(644,root,root,755)
286 %{_libdir}/libsource-highlight.a
288 %files -n bash-completion-source-highlight
289 %defattr(644,root,root,755)
290 %{_sysconfdir}/bash_completion.d/*