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