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