From 058de2cc086091008267da9473630038ecac0d71 Mon Sep 17 00:00:00 2001 From: Michal Fabry Date: Sat, 8 Mar 2008 09:36:42 +0000 Subject: [PATCH] Initial import --- .cvsignore | 1 + sources | 1 + webcpp-0.8.4-typo.patch | 11 ++++++++++ webcpp.spec | 45 +++++++++++++++++++++++++++++++++++++++++ 4 files changed, 58 insertions(+) create mode 100644 webcpp-0.8.4-typo.patch create mode 100644 webcpp.spec diff --git a/.cvsignore b/.cvsignore index e69de29..236bb0b 100644 --- a/.cvsignore +++ b/.cvsignore @@ -0,0 +1 @@ +webcpp-0.8.4-src.tar.gz diff --git a/sources b/sources index e69de29..0938eb9 100644 --- a/sources +++ b/sources @@ -0,0 +1 @@ +201306053f50857e70dca6a4748ebf07 webcpp-0.8.4-src.tar.gz diff --git a/webcpp-0.8.4-typo.patch b/webcpp-0.8.4-typo.patch new file mode 100644 index 0000000..1028905 --- /dev/null +++ b/webcpp-0.8.4-typo.patch @@ -0,0 +1,11 @@ +--- webcpp-0.8.4-src/webcpp/engine.cpp.orig 2004-01-05 00:52:47.000000000 +0000 ++++ webcpp-0.8.4-src/webcpp/engine.cpp 2007-11-23 01:07:06.000000000 +0000 +@@ -1005,7 +1005,7 @@ + \n\ +
\ + web c plus plus
\n\ +-
\n\\n
\n"; ++\n\n
\n"; + + *IO << made; + } diff --git a/webcpp.spec b/webcpp.spec new file mode 100644 index 0000000..e2949e7 --- /dev/null +++ b/webcpp.spec @@ -0,0 +1,45 @@ +Name: webcpp +Version: 0.8.4 +Release: 1%{?dist} +Summary: Convert C++ code to HTML +License: GPLv2 +Group: Development/Tools +URL: http://webcpp.sourceforge.net +Source: http://prdownloads.sourceforge.net/webcpp/%{name}-%{version}-src.tar.gz +Patch0: webcpp-0.8.4-typo.patch +BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n) + +%description +Web C Plus Plus is a command line utility that takes your source +code, and converts it into an HTML file using a fully customizable +syntax highlighting engine and colour schemes. This is useful if +you want to post your code online and make it easier to read, or +to make online programming tutorials. + +%prep +%setup -qn %{name}-%{version}-src +%patch0 -p1 -b .typo + +%build +%configure +make %{?_smp_mflags} + +%install +rm -rf $RPM_BUILD_ROOT +install -Dpm 755 %{name}/webcpp $RPM_BUILD_ROOT%{_bindir}/webcpp + + +%clean +rm -rf $RPM_BUILD_ROOT + + +%files +%defattr(-,root,root,-) +%doc README docs.html +%{_bindir}/webcpp + + +%changelog +* Fri Nov 23 2007 Michal Fabry - 0.8.4-1 +- First build +