Compare commits

..

2 commits

Author SHA1 Message Date
Fedora Release Engineering
018802c3b1 dist-git conversion 2010-07-29 15:14:23 +00:00
Jesse Keating
8a57e69be4 Initialize branch F-13 for webcpp 2010-02-17 03:26:34 +00:00
6 changed files with 80 additions and 1 deletions

1
.gitignore vendored Normal file
View file

@ -0,0 +1 @@
webcpp-0.8.4-src.tar.gz

View file

@ -1 +0,0 @@
Orphaned for 6+ weeks

1
sources Normal file
View file

@ -0,0 +1 @@
201306053f50857e70dca6a4748ebf07 webcpp-0.8.4-src.tar.gz

11
webcpp-0.8.4-gcc43.patch Normal file
View file

@ -0,0 +1,11 @@
diff -urp webcpp-0.8.4-src.orig/webcpp/main.cpp webcpp-0.8.4-src/webcpp/main.cpp
--- webcpp-0.8.4-src.orig/webcpp/main.cpp 2004-01-05 01:52:47.000000000 +0100
+++ webcpp-0.8.4-src/webcpp/main.cpp 2008-03-08 10:45:17.000000000 +0100
@@ -24,6 +24,7 @@
#include "driver.h"
#include <fstream>
+#include <stdlib.h>
using namespace std;
int main(int argc, char **argv) {

11
webcpp-0.8.4-typo.patch Normal file
View file

@ -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 @@
</tr><tr><td colspan=6>\n\
<a href=\"http://webcpp.sf.net\"><center><b>\
<font color=#ffffff>web c plus plus</font></b></center>\n\
-</a></td></tr>\n\</table>\n<br>\n</center>";
+</a></td></tr>\n</table>\n<br>\n</center>";
*IO << made;
}

56
webcpp.spec Normal file
View file

@ -0,0 +1,56 @@
Name: webcpp
Version: 0.8.4
Release: 4%{?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
Patch1: webcpp-0.8.4-gcc43.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
%patch1 -p1 -b .gcc43
%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
* Mon Jul 27 2009 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 0.8.4-4
- Rebuilt for https://fedoraproject.org/wiki/Fedora_12_Mass_Rebuild
* Wed Feb 25 2009 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 0.8.4-3
- Rebuilt for https://fedoraproject.org/wiki/Fedora_11_Mass_Rebuild
* Sat Mar 08 2008 Michal Fabry <furby@fedoraproject.org> - 0.8.4-2
- fix build with gcc 4.3
* Fri Nov 23 2007 Michal Fabry <furby@fedoraproject.org> - 0.8.4-1
- First build