]> git.pld-linux.org Git - packages/c2ps.git/blob - c2ps.spec
- tabs in preamble
[packages/c2ps.git] / c2ps.spec
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
3 Name:           c2ps
4 Version:        4.0
5 Release:        3
6 License:        GPL
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)
13
14 %description
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
19 public transport ;)
20
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 ;)
28
29 %prep
30 %setup -q
31 %patch0 -p1
32
33 %build
34 %{__make} \
35         CC="%{__cc}" \
36         OPT_FLAGS="%{rpmcflags}"
37
38 %install
39 rm -rf $RPM_BUILD_ROOT
40 install -d $RPM_BUILD_ROOT{%{_bindir},%{_mandir}/man1}
41
42 install c2ps    $RPM_BUILD_ROOT%{_bindir}
43 install c2ps.1  $RPM_BUILD_ROOT%{_mandir}/man1
44
45 %clean
46 rm -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.08884 seconds and 3 git commands to generate.