]> git.pld-linux.org Git - packages/c2ps.git/blame_incremental - c2ps.spec
- tabs in preamble
[packages/c2ps.git] / c2ps.spec
... / ...
CommitLineData
1Summary: Tool for converting C/C++ sources to PostScript
2Summary(pl.UTF-8): Narzędzie do konwersji źródeł C/C++ na PostScript
3Name: c2ps
4Version: 4.0
5Release: 3
6License: GPL
7Group: Applications/Printing
8Source0: http://www.geocities.com/SiliconValley/Park/2055/%{name}-40.tgz
9# Source0-md5: 195553258f2f18198f164ea8f66362dc
10Patch0: %{name}-OPT_FLAGS.patch
11URL: http://www.geocities.com/SiliconValley/Park/2055/
12BuildRoot: %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
13
14%description
15This small utility converts C/C++ sources to PostScript. It performs
16syntax highlighting and can add many very useful informations to the
17printout, such as line numbers, headers and indexes of functions on
18each page. Great thing, if you waste too much time in traffic jams or
19public transport ;)
20
21%description -l pl.UTF-8
22To małe narzędzie konwertuje pliki źródłowe C/C++ do PostScriptu.
23Wykonuje wyróżnianie składni a także potrafi dodać do wydruku wiele
24bardzo użytecznych informacji, takich jak numery linii, nagłówki oraz
25indeksy funkcji znajdujących się na poszczególnych stronach. Świetna
26rzecz, jeśli tracisz zbyt dużo czasu stojąc w korkach, albo w
27komunikacji miejskiej ;)
28
29%prep
30%setup -q
31%patch0 -p1
32
33%build
34%{__make} \
35 CC="%{__cc}" \
36 OPT_FLAGS="%{rpmcflags}"
37
38%install
39rm -rf $RPM_BUILD_ROOT
40install -d $RPM_BUILD_ROOT{%{_bindir},%{_mandir}/man1}
41
42install c2ps $RPM_BUILD_ROOT%{_bindir}
43install c2ps.1 $RPM_BUILD_ROOT%{_mandir}/man1
44
45%clean
46rm -rf $RPM_BUILD_ROOT
47
48%files
49%defattr(644,root,root,755)
50%doc README
51%attr(755,root,root) %{_bindir}/*
52%{_mandir}/*/*
This page took 0.068112 seconds and 5 git commands to generate.