]> git.pld-linux.org Git - packages/c2ps.git/blob - c2ps.spec
- orthography fixed
[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:        1
6 Group:          Utilities/Printing
7 Group(pl):      Narzêdzia/Drukowanie
8 License:        GPL
9 Source0:        http://www.geocities.com/SiliconValley/Park/2055/%{name}-40.tgz
10 Patch0:         c2ps-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 syntax
16 highlighting and can add many, very usefull informations to the printout, such
17 as line numbers, headers and indexes of functions on each page. Great thing, if
18 you waste too much time in traffic jams or public transport ;)
19
20 %description -l pl
21 To ma³e narzêdzie konwertuje pliki ¼ród³owe C/C++ do PostScriptu. Wykonuje
22 wyró¿nianie sk³adni a tak¿e potrafi dodaæ do wydruku wiele bardzo u¿ytecznych
23 informacji, takich jak numery linii, nag³ówki oraz indeksy funkcji znajduj±cych
24 siê na poszczególnych stronach. ¦witna rzecz, je¶li tracisz zbyt du¿o czasu
25 stoj±c w korkach, albo w komunikacji miejskiej ;)
26
27 %prep
28 %setup -q
29 %patch0 -p1
30
31 %build
32 %{__make} OPT_FLAGS="$RPM_OPT_FLAGS"
33
34 %install
35 rm -rf $RPM_BUILD_ROOT
36 install -d $RPM_BUILD_ROOT{%{_bindir},%{_mandir}/man1}
37
38 install c2ps    $RPM_BUILD_ROOT%{_bindir}
39 install c2ps.1  $RPM_BUILD_ROOT%{_mandir}/man1
40
41 strip c2ps
42
43 gzip -9nf $RPM_BUILD_ROOT%{_mandir}/man*/* \
44         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.112768 seconds and 4 git commands to generate.