]> git.pld-linux.org Git - packages/c2ps.git/blob - c2ps.spec
- Written from scratch.
[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 BuildRoot:      %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
12
13 %description
14
15 %description -l pl
16
17 %prep
18 %setup -q
19 %patch0 -p1
20
21 %build
22
23 %{__make} OPT_FLAGS="$RPM_OPT_FLAGS"
24
25 %install
26 rm -rf $RPM_BUILD_ROOT
27
28 install -d $RPM_BUILD_ROOT{%{_bindir},%{_mandir}/man1}
29
30 install c2ps    $RPM_BUILD_ROOT%{_bindir}
31 install c2ps.1  $RPM_BUILD_ROOT%{_mandir}/man1
32
33 strip --strip-unneeded c2ps
34
35 gzip -9nf $RPM_BUILD_ROOT%{_mandir}/man*/* \
36         README
37
38 %clean
39 rm -rf $RPM_BUILD_ROOT
40
41 %files
42 %defattr(644,root,root,755)
43 %attr(755,root,root) %{_bindir}/*
44 %{_mandir}/*/*
45 %doc README.gz
This page took 0.061382 seconds and 4 git commands to generate.