Summary: GNU Source Highlight Summary(pl.UTF-8): Podświetlanie składni z projektu GNU Name: source-highlight Version: 2.6 Release: 3 License: GPL Group: Applications/Publishing Source0: ftp://ftp.gnu.org/gnu/src-highlite/%{name}-%{version}.tar.gz # Source0-md5: f36f813a0e5e2a55e9f8050a65dbc594 URL: http://www.gnu.org/software/src-highlite/ BuildRequires: automake BuildRequires: bison BuildRequires: boost-regex-devel BuildRequires: flex BuildRequires: libstdc++-devel BuildRoot: %{tmpdir}/%{name}-%{version}-root-%(id -u -n) %description This program, given a source file, produces a document with syntax highlighting. At the moment this package can handle: - Java - Javascript - C/C++ - Prolog - Perl - Php3 - Python - Flex - ChangeLog - Ruby - Lua - Caml - Sml - Log as source languages, and - HTML - XHTML - ANSI color escape sequences (you can use this feature with less) as output formats. %description -l pl.UTF-8 Ten program z pliku źródłowego tworzy dokument z podświetloną składnią. Aktualnie obsługiwane języki źródłowe to: - Java - Javascript - C/C++ - Prolog - Perl - Php3 - Python - Flex - ChangeLog - Ruby - Lua - Caml - Sml - Log a wynikiem może być: - HTML - XHTML - kolorowa sekwencja ANSI %prep %setup -q %build cp -f /usr/share/automake/config.sub . %configure %{__make} %install rm -rf $RPM_BUILD_ROOT install -d $RPM_BUILD_ROOT%{_docdir}/%{name}-%{version} %{__make} install \ DESTDIR=$RPM_BUILD_ROOT mv -f $RPM_BUILD_ROOT%{_docdir}/%{name}/* $RPM_BUILD_ROOT%{_docdir}/%{name}-%{version} %clean rm -rf $RPM_BUILD_ROOT %post [ ! -x /usr/sbin/fix-info-dir ] || /usr/sbin/fix-info-dir -c %{_infodir} >/dev/null 2>&1 %postun [ ! -x /usr/sbin/fix-info-dir ] || /usr/sbin/fix-info-dir -c %{_infodir} >/dev/null 2>&1 %files %defattr(644,root,root,755) %doc AUTHORS ChangeLog NEWS README THANKS TODO.txt doc/{*.css,*.html,*.java} %attr(755,root,root) %{_bindir}/* %{_mandir}/man1/*.1* %dir %{_datadir}/%{name} %{_datadir}/%{name}/* %{_infodir}/source-highlight.info*