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: 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
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: 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}
182 Header file for srchlite library.
184 %description devel -l pl.UTF-8
185 Plik nagłówkowy biblioteki srchlite.
188 Summary: Source highlight library
189 Summary(pl.UTF-8): Biblioteka podświetlania składni
193 Source highlight library.
195 %description libs -l pl.UTF-8
196 Biblioteka podświetlania składni.
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}
205 Statoic source highlight library.
207 %description static -l pl.UTF-8
208 Statyczna biblioteka podświetlania składni.
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
216 %description -n bash-completion-source-highlight
217 This package provides bash-completion for source-highlight.
219 %description -n bash-completion-source-highlight -l pl.UTF-8
220 Pakiet ten dostarcza bashowe uzupełnianie nazw dla pakiet
228 cp -f /usr/share/automake/config.sub .
230 --with-boost-libdir=%{_libdir}
234 rm -rf $RPM_BUILD_ROOT
235 install -d $RPM_BUILD_ROOT%{_docdir}/%{name}-%{version}
238 DESTDIR=$RPM_BUILD_ROOT
240 mv -f $RPM_BUILD_ROOT%{_docdir}/%{name}/* $RPM_BUILD_ROOT%{_docdir}/%{name}-%{version}
243 rm -rf $RPM_BUILD_ROOT
245 %post -p /sbin/postshell
246 -/usr/sbin/fix-info-dir -c %{_infodir}
248 %postun -p /sbin/postshell
249 -/usr/sbin/fix-info-dir -c %{_infodir}
251 %post libs -p /sbin/ldconfig
252 %postun libs -p /sbin/ldconfig
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*
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
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
284 %defattr(644,root,root,755)
285 %{_libdir}/libsource-highlight.a
287 %files -n bash-completion-source-highlight
288 %defattr(644,root,root,755)
289 %{_sysconfdir}/bash_completion.d/*