]> git.pld-linux.org Git - packages/c2html.git/commitdiff
- new
authortwittner <twittner@pld-linux.org>
Sat, 4 Oct 2003 16:44:15 +0000 (16:44 +0000)
committercvs2git <feedback@pld-linux.org>
Sun, 24 Jun 2012 12:13:13 +0000 (12:13 +0000)
Changed files:
    c2html.spec -> 1.1

c2html.spec [new file with mode: 0644]

diff --git a/c2html.spec b/c2html.spec
new file mode 100644 (file)
index 0000000..3447499
--- /dev/null
@@ -0,0 +1,50 @@
+Summary:       C2html - Converts C files to HTML
+Summary(pl):   C2html - konwerter ¼róde³ C na HTML
+Name:          c2html
+Version:       0.9.5
+Release:       1
+Epoch:         0
+License:       GPL
+Group:         Applications/Text
+Source0:       http://user.cs.tu-berlin.de/~schintke/x2html/%{name}-%{version}.tar.gz
+# Source0-md5: 324cd6c50dd611607e3366840bbc61f2
+Patch0:                %{name}-DESTDIR.patch
+URL:           http://user.cs.tu-berlin.de/~schintke/x2html/index.html
+BuildRequires: flex, autoconf
+BuildRoot:     %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
+
+%description
+C2html highlights C-language sources like emacs does. Output is in
+html format. Also works as CGI to convert files on the fly.
+
+%description -l pl
+C2html pod¶wietla sk³adniê ¼róde³ C podobnie jak emacs. Wyj¶cie jest w
+formacie html. Dzia³a tak¿e jak CGI konwertuj±c pliki w locie.
+
+%prep
+%setup -q
+%patch0 -p0
+
+%build
+%{__aclocal}
+%{__autoconf}
+%configure
+%{__make}
+
+%install
+rm -rf $RPM_BUILD_ROOT
+
+%{__make} install \
+       DESTDIR=$RPM_BUILD_ROOT
+
+# to aviod "warning: found installed files not placed in any package: blabla
+rm -f $RPM_BUILD_ROOT/usr/doc/c2html/{AUTHORS,COPYING,NEWS,README,c2html.lsm}
+
+%clean
+rm -rf $RPM_BUILD_ROOT
+
+%files
+%defattr(644,root,root,755)
+%doc AUTHORS NEWS README c2html.lsm
+%attr(755,root,root) %{_bindir}/*
+%{_mandir}/man1/*
This page took 0.237372 seconds and 4 git commands to generate.