1 Summary: Tool for converting C/C++ sources to PostScript
2 Summary(pl.UTF-8): Narzędzie do konwersji źródeł C/C++ na PostScript
7 Group: Applications/Printing
8 Source0: http://www.geocities.com/SiliconValley/Park/2055/%{name}-40.tgz
9 # Source0-md5: 195553258f2f18198f164ea8f66362dc
10 Patch0: %{name}-OPT_FLAGS.patch
11 URL: http://www.geocities.com/SiliconValley/Park/2055/
12 BuildRoot: %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
15 This small utility converts C/C++ sources to PostScript. It performs
16 syntax highlighting and can add many very useful informations to the
17 printout, such as line numbers, headers and indexes of functions on
18 each page. Great thing, if you waste too much time in traffic jams or
21 %description -l pl.UTF-8
22 To małe narzędzie konwertuje pliki źródłowe C/C++ do PostScriptu.
23 Wykonuje wyróżnianie składni a także potrafi dodać do wydruku wiele
24 bardzo użytecznych informacji, takich jak numery linii, nagłówki oraz
25 indeksy funkcji znajdujących się na poszczególnych stronach. Świetna
26 rzecz, jeśli tracisz zbyt dużo czasu stojąc w korkach, albo w
27 komunikacji miejskiej ;)
36 OPT_FLAGS="%{rpmcflags}"
39 rm -rf $RPM_BUILD_ROOT
40 install -d $RPM_BUILD_ROOT{%{_bindir},%{_mandir}/man1}
42 install c2ps $RPM_BUILD_ROOT%{_bindir}
43 install c2ps.1 $RPM_BUILD_ROOT%{_mandir}/man1
46 rm -rf $RPM_BUILD_ROOT
49 %defattr(644,root,root,755)
51 %attr(755,root,root) %{_bindir}/*