]> git.pld-linux.org Git - packages/source-highlight.git/blame_incremental - source-highlight.spec
- rel 2
[packages/source-highlight.git] / source-highlight.spec
... / ...
CommitLineData
1Summary: GNU Source Highlight
2Summary(pl.UTF-8): Podświetlanie składni z projektu GNU
3Name: source-highlight
4Version: 2.6
5Release: 2
6License: GPL
7Group: Applications/Publishing
8Source0: ftp://ftp.gnu.org/gnu/src-highlite/%{name}-%{version}.tar.gz
9# Source0-md5: f36f813a0e5e2a55e9f8050a65dbc594
10URL: http://www.gnu.org/software/src-highlite/
11BuildRequires: automake
12BuildRequires: bison
13BuildRequires: boost-regex-devel
14BuildRequires: flex
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
22At the moment this package can handle:
23
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
38
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.
46
47%description -l pl.UTF-8
48Ten program z pliku źródłowego tworzy dokument z podświetloną
49składnią.
50
51Aktualnie obsługiwane języki źródłowe to:
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
68a wynikiem może być:
69
70- HTML
71- XHTML
72- kolorowa sekwencja ANSI
73
74%prep
75%setup -q
76
77%build
78cp -f /usr/share/automake/config.sub .
79%configure
80%{__make}
81
82%install
83rm -rf $RPM_BUILD_ROOT
84install -d $RPM_BUILD_ROOT%{_docdir}/%{name}-%{version}
85
86%{__make} install \
87 DESTDIR=$RPM_BUILD_ROOT
88
89mv -f $RPM_BUILD_ROOT%{_docdir}/%{name}/* $RPM_BUILD_ROOT%{_docdir}/%{name}-%{version}
90
91%clean
92rm -rf $RPM_BUILD_ROOT
93
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
100%files
101%defattr(644,root,root,755)
102%doc AUTHORS ChangeLog NEWS README THANKS TODO.txt doc/{*.css,*.html,*.java}
103%attr(755,root,root) %{_bindir}/*
104%{_mandir}/man1/*.1*
105%dir %{_datadir}/%{name}
106%{_datadir}/%{name}/*
107%{_infodir}/source-highlight.info*
This page took 0.642196 seconds and 4 git commands to generate.