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: 084559d7473802b0e5838585cebf42e3
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:
42 as source languages, and
46 - ANSI color escape sequences (you can use this feature with less)
50 %description -l pl.UTF-8
51 Ten program z pliku źródłowego tworzy dokument z podświetloną
54 Aktualnie obsługiwane języki źródłowe to:
75 - kolorowa sekwencja ANSI
83 cp -f /usr/share/automake/config.sub .
88 rm -rf $RPM_BUILD_ROOT
89 install -d $RPM_BUILD_ROOT%{_docdir}/%{name}-%{version}
92 DESTDIR=$RPM_BUILD_ROOT
94 mv -f $RPM_BUILD_ROOT%{_docdir}/%{name}/* $RPM_BUILD_ROOT%{_docdir}/%{name}-%{version}
97 rm -rf $RPM_BUILD_ROOT
99 %post -p /sbin/postshell
100 -/usr/sbin/fix-info-dir -c %{_infodir}
102 %postun -p /sbin/postshell
103 -/usr/sbin/fix-info-dir -c %{_infodir}
106 %defattr(644,root,root,755)
107 %doc AUTHORS ChangeLog NEWS README THANKS TODO.txt doc/{*.css,*.html,*.java}
108 %attr(755,root,root) %{_bindir}/check-regexp
109 %attr(755,root,root) %{_bindir}/cpp2html
110 %attr(755,root,root) %{_bindir}/java2html
111 %attr(755,root,root) %{_bindir}/source-highlight
112 %attr(755,root,root) %{_bindir}/src-hilite-lesspipe.sh
113 %{_mandir}/man1/check-regexp.1*
114 %{_mandir}/man1/source-highlight.1*
115 %dir %{_datadir}/%{name}
116 %{_datadir}/%{name}/*
117 %{_infodir}/source-highlight.info*