From e115400f6537709087db5911ca1dd5cedbc87ef6 Mon Sep 17 00:00:00 2001 From: Kevin Fenzi Date: Fri, 7 Mar 2008 17:47:22 +0000 Subject: [PATCH 1/4] Initialize branch F-8 for webcpp --- branch | 1 + 1 file changed, 1 insertion(+) create mode 100644 branch diff --git a/branch b/branch new file mode 100644 index 0000000..e9e7ccd --- /dev/null +++ b/branch @@ -0,0 +1 @@ +F-8 From 9e587c3f95ac531da2b9193ca87f97ecc114c7c0 Mon Sep 17 00:00:00 2001 From: Michal Fabry Date: Sat, 8 Mar 2008 09:42:52 +0000 Subject: [PATCH 2/4] 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 + From e5a63e67e0ef8e2e39a8020b46ba2bfbe15c20f9 Mon Sep 17 00:00:00 2001 From: Bill Nottingham Date: Thu, 26 Nov 2009 01:15:55 +0000 Subject: [PATCH 3/4] Fix typo that causes a failure to update the common directory. (releng #2781) --- Makefile | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/Makefile b/Makefile index 7253c58..3b1c575 100644 --- a/Makefile +++ b/Makefile @@ -1,10 +1,10 @@ # Makefile for source rpm: webcpp -# $Id$ +# $Id: Makefile,v 1.1 2008/03/07 17:47:12 kevin Exp $ NAME := webcpp SPECFILE = $(firstword $(wildcard *.spec)) define find-makefile-common -for d in common ../common ../../common ; do if [ -f $$d/Makefile.common ] ; then if [ -f $$d/CVS/Root -a -w $$/Makefile.common ] ; then cd $$d ; cvs -Q update ; fi ; echo "$$d/Makefile.common" ; break ; fi ; done +for d in common ../common ../../common ; do if [ -f $$d/Makefile.common ] ; then if [ -f $$d/CVS/Root -a -w $$d/Makefile.common ] ; then cd $$d ; cvs -Q update ; fi ; echo "$$d/Makefile.common" ; break ; fi ; done endef MAKEFILE_COMMON := $(shell $(find-makefile-common)) From 0568ae062e206bbf19cc62d65ced48b66ecaf0f9 Mon Sep 17 00:00:00 2001 From: Fedora Release Engineering Date: Thu, 29 Jul 2010 15:14:23 +0000 Subject: [PATCH 4/4] dist-git conversion --- .cvsignore => .gitignore | 0 Makefile | 21 --------------------- branch | 1 - 3 files changed, 22 deletions(-) rename .cvsignore => .gitignore (100%) delete mode 100644 Makefile delete mode 100644 branch diff --git a/.cvsignore b/.gitignore similarity index 100% rename from .cvsignore rename to .gitignore diff --git a/Makefile b/Makefile deleted file mode 100644 index 3b1c575..0000000 --- a/Makefile +++ /dev/null @@ -1,21 +0,0 @@ -# Makefile for source rpm: webcpp -# $Id: Makefile,v 1.1 2008/03/07 17:47:12 kevin Exp $ -NAME := webcpp -SPECFILE = $(firstword $(wildcard *.spec)) - -define find-makefile-common -for d in common ../common ../../common ; do if [ -f $$d/Makefile.common ] ; then if [ -f $$d/CVS/Root -a -w $$d/Makefile.common ] ; then cd $$d ; cvs -Q update ; fi ; echo "$$d/Makefile.common" ; break ; fi ; done -endef - -MAKEFILE_COMMON := $(shell $(find-makefile-common)) - -ifeq ($(MAKEFILE_COMMON),) -# attept a checkout -define checkout-makefile-common -test -f CVS/Root && { cvs -Q -d $$(cat CVS/Root) checkout common && echo "common/Makefile.common" ; } || { echo "ERROR: I can't figure out how to checkout the 'common' module." ; exit -1 ; } >&2 -endef - -MAKEFILE_COMMON := $(shell $(checkout-makefile-common)) -endif - -include $(MAKEFILE_COMMON) diff --git a/branch b/branch deleted file mode 100644 index e9e7ccd..0000000 --- a/branch +++ /dev/null @@ -1 +0,0 @@ -F-8