]> git.pld-linux.org Git - packages/c2ps.git/commitdiff
- Written from scratch.
authormkochano <mkochano@pld-linux.org>
Fri, 21 Jul 2000 18:49:18 +0000 (18:49 +0000)
committercvs2git <feedback@pld-linux.org>
Sun, 24 Jun 2012 12:13:13 +0000 (12:13 +0000)
Changed files:
    c2ps.spec -> 1.1

c2ps.spec [new file with mode: 0644]

diff --git a/c2ps.spec b/c2ps.spec
new file mode 100644 (file)
index 0000000..7814aa9
--- /dev/null
+++ b/c2ps.spec
@@ -0,0 +1,45 @@
+Summary:       Tool for converting C/C++ sources to PostScript
+Summary(pl):   Narzêdzie do konwersji ¼róde³ C/C++ na PostScript
+Name:          c2ps
+Version:       4.0
+Release:       1
+Group:         Utilities/Printing
+Group(pl):     Narzêdzia/Drukowanie
+License:       GPL
+Source0:       http://www.geocities.com/SiliconValley/Park/2055/%{name}-40.tgz
+Patch0:                c2ps-OPT_FLAGS.patch
+BuildRoot:     %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
+
+%description
+
+%description -l pl
+
+%prep
+%setup -q
+%patch0 -p1
+
+%build
+
+%{__make} OPT_FLAGS="$RPM_OPT_FLAGS"
+
+%install
+rm -rf $RPM_BUILD_ROOT
+
+install -d $RPM_BUILD_ROOT{%{_bindir},%{_mandir}/man1}
+
+install c2ps   $RPM_BUILD_ROOT%{_bindir}
+install c2ps.1 $RPM_BUILD_ROOT%{_mandir}/man1
+
+strip --strip-unneeded c2ps
+
+gzip -9nf $RPM_BUILD_ROOT%{_mandir}/man*/* \
+       README
+
+%clean
+rm -rf $RPM_BUILD_ROOT
+
+%files
+%defattr(644,root,root,755)
+%attr(755,root,root) %{_bindir}/*
+%{_mandir}/*/*
+%doc README.gz
This page took 0.081158 seconds and 4 git commands to generate.