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