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: f6e332317413f247ce248c52df0ddade
10 Patch0: %{name}-info.patch
11 Patch1: %{name}-am.patch
12 URL: http://www.gnu.org/software/src-highlite/
13 BuildRequires: automake
15 BuildRequires: boost-devel >= 1.36.0
17 BuildRequires: libstdc++-devel
18 BuildRequires: texinfo
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:
50 - lsm files (Linux Software Map)
70 - XOrg conf files (new)
72 as source languages, and
75 - ANSI color escape sequences
82 %description -l pl.UTF-8
83 Ten program z pliku źródłowego tworzy dokument z podświetloną
86 Aktualnie obsługiwane języki źródłowe to:
111 - lsm files (Linux Software Map)
131 - XOrg conf files (nowość)
137 - ANSI color escape sequences
142 %package -n bash-completion-source-highlight
143 Summary: bash-completion for source-higlight
144 Summary(pl.UTF-8): bashowe uzupełnianie nazw dla pakietu source-highlight
145 Group: Applications/Shells
146 Requires: bash-completion
148 %description -n bash-completion-source-highlight
149 This package provides bash-completion for source-highlight.
151 %description -n bash-completion-source-highlight -l pl.UTF-8
152 Pakiet ten dostarcza bashowe uzupełnianie nazw dla pakiet source-highlight.
160 cp -f /usr/share/automake/config.sub .
162 --with-boost-libdir=%{_libdir}
166 rm -rf $RPM_BUILD_ROOT
167 install -d $RPM_BUILD_ROOT%{_docdir}/%{name}-%{version}
170 DESTDIR=$RPM_BUILD_ROOT
172 mv -f $RPM_BUILD_ROOT%{_docdir}/%{name}/* $RPM_BUILD_ROOT%{_docdir}/%{name}-%{version}
175 rm -rf $RPM_BUILD_ROOT
177 %post -p /sbin/postshell
178 -/usr/sbin/fix-info-dir -c %{_infodir}
180 %postun -p /sbin/postshell
181 -/usr/sbin/fix-info-dir -c %{_infodir}
184 %defattr(644,root,root,755)
185 %doc AUTHORS ChangeLog NEWS README THANKS TODO.txt doc/{*.css,*.html,*.java}
186 %attr(755,root,root) %{_bindir}/check-regexp
187 %attr(755,root,root) %{_bindir}/cpp2html
188 %attr(755,root,root) %{_bindir}/java2html
189 %attr(755,root,root) %{_bindir}/source-highlight
190 %attr(755,root,root) %{_bindir}/src-hilite-lesspipe.sh
191 %{_mandir}/man1/check-regexp.1*
192 %{_mandir}/man1/source-highlight.1*
193 %dir %{_datadir}/%{name}
194 %{_datadir}/%{name}/*
195 %{_infodir}/source-highlight.info*
197 %files -n bash-completion-source-highlight
198 %defattr(644,root,root,755)
199 %{_sysconfdir}/bash_completion.d/*