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