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