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: 80a947681d32b0fe515a5cd01f9582a7
10 Patch0: %{name}-info.patch
11 URL: http://www.gnu.org/software/src-highlite/
12 BuildRequires: automake
14 BuildRequires: boost-regex-devel
16 BuildRequires: libstdc++-devel
17 BuildRequires: texinfo
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:
41 as source languages, and
45 - ANSI color escape sequences (you can use this feature with less)
49 %description -l pl.UTF-8
50 Ten program z pliku źródłowego tworzy dokument z podświetloną
53 Aktualnie obsługiwane języki źródłowe to:
74 - kolorowa sekwencja ANSI
81 cp -f /usr/share/automake/config.sub .
86 rm -rf $RPM_BUILD_ROOT
87 install -d $RPM_BUILD_ROOT%{_docdir}/%{name}-%{version}
90 DESTDIR=$RPM_BUILD_ROOT
92 mv -f $RPM_BUILD_ROOT%{_docdir}/%{name}/* $RPM_BUILD_ROOT%{_docdir}/%{name}-%{version}
95 rm -rf $RPM_BUILD_ROOT
97 %post -p /sbin/postshell
98 -/usr/sbin/fix-info-dir -c %{_infodir}
100 %postun -p /sbin/postshell
101 -/usr/sbin/fix-info-dir -c %{_infodir}
104 %defattr(644,root,root,755)
105 %doc AUTHORS ChangeLog NEWS README THANKS TODO.txt doc/{*.css,*.html,*.java}
106 %attr(755,root,root) %{_bindir}/check-regexp
107 %attr(755,root,root) %{_bindir}/cpp2html
108 %attr(755,root,root) %{_bindir}/java2html
109 %attr(755,root,root) %{_bindir}/source-highlight
110 %attr(755,root,root) %{_bindir}/src-hilite-lesspipe.sh
111 %{_mandir}/man1/source-highlight.1*
112 %dir %{_datadir}/%{name}
113 %{_datadir}/%{name}/*
114 %{_infodir}/source-highlight.info*