]> git.pld-linux.org Git - packages/source-highlight.git/blame - source-highlight.spec
- release 5
[packages/source-highlight.git] / source-highlight.spec
CommitLineData
5a78beb7 1Summary: GNU Source Highlight
fd896d07 2Summary(pl.UTF-8): Podświetlanie składni z projektu GNU
5a78beb7 3Name: source-highlight
acfee9b6 4Version: 2.10
6314a4d5 5Release: 5
41351bf5 6License: GPL v3+
5a78beb7 7Group: Applications/Publishing
41351bf5 8Source0: http://ftp.gnu.org/gnu/src-highlite/%{name}-%{version}.tar.gz
acfee9b6 9# Source0-md5: 03e9cf03580873b76ca0a89f0468b146
41351bf5 10Patch0: %{name}-info.patch
0cc89293 11Patch1: %{name}-am.patch
5ed541e5 12URL: http://www.gnu.org/software/src-highlite/
5ed04ced 13BuildRequires: automake
14BuildRequires: bison
6db7bfa9 15BuildRequires: boost-devel >= 1.36.0
5ed04ced 16BuildRequires: flex
5a78beb7 17BuildRequires: libstdc++-devel
41351bf5 18BuildRequires: texinfo
5a78beb7 19BuildRoot: %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
20
21%description
22This program, given a source file, produces a document with syntax
23highlighting.
24
10a403aa 25At the moment this package can handle:
5a78beb7 26
5ed541e5 27- Java
28- Javascript
29- C/C++
30- Prolog
31- Perl
32- Php3
33- Python
34- Flex
35- ChangeLog
36- Ruby
37- Lua
38- Caml
39- Sml
40- Log
5a78beb7 41
5ed541e5 42as source languages, and
43
44- HTML
45- XHTML
46- ANSI color escape sequences (you can use this feature with less)
47
48as output formats.
5a78beb7 49
90467c55
JR
50%description -l pl.UTF-8
51Ten program z pliku źródłowego tworzy dokument z podświetloną
52składnią.
5ed541e5 53
90467c55 54Aktualnie obsługiwane języki źródłowe to:
5ed541e5 55
56- Java
57- Javascript
58- C/C++
59- Prolog
60- Perl
61- Php3
62- Python
63- Flex
64- ChangeLog
65- Ruby
66- Lua
67- Caml
68- Sml
69- Log
70
90467c55 71a wynikiem może być:
5ed541e5 72
73- HTML
74- XHTML
75- kolorowa sekwencja ANSI
10a403aa 76
5a78beb7 77%prep
78%setup -q
41351bf5 79%patch0 -p1
0cc89293 80%patch1 -p1
5a78beb7 81
82%build
5ed04ced 83cp -f /usr/share/automake/config.sub .
84%configure
5a78beb7 85%{__make}
86
87%install
88rm -rf $RPM_BUILD_ROOT
a2a9e200 89install -d $RPM_BUILD_ROOT%{_docdir}/%{name}-%{version}
5a78beb7 90
aa683887 91%{__make} install \
bada9daf 92 DESTDIR=$RPM_BUILD_ROOT
93
94mv -f $RPM_BUILD_ROOT%{_docdir}/%{name}/* $RPM_BUILD_ROOT%{_docdir}/%{name}-%{version}
5a78beb7 95
5c844ddf
JB
96%clean
97rm -rf $RPM_BUILD_ROOT
98
fb4c9b56 99%post -p /sbin/postshell
8b74804b 100-/usr/sbin/fix-info-dir -c %{_infodir}
5ed04ced 101
fb4c9b56 102%postun -p /sbin/postshell
8b74804b 103-/usr/sbin/fix-info-dir -c %{_infodir}
5ed04ced 104
5a78beb7 105%files
106%defattr(644,root,root,755)
5ed04ced 107%doc AUTHORS ChangeLog NEWS README THANKS TODO.txt doc/{*.css,*.html,*.java}
41351bf5
JB
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
acfee9b6 113%{_mandir}/man1/check-regexp.1*
41351bf5 114%{_mandir}/man1/source-highlight.1*
aa683887 115%dir %{_datadir}/%{name}
5ed04ced 116%{_datadir}/%{name}/*
117%{_infodir}/source-highlight.info*
This page took 0.621253 seconds and 4 git commands to generate.