]> git.pld-linux.org Git - packages/code2html.git/commitdiff
- initial release
authorRoman Werpachowski <roman.werpachowski@gmail.com>
Sun, 4 Mar 2001 10:57:15 +0000 (10:57 +0000)
committercvs2git <feedback@pld-linux.org>
Sun, 24 Jun 2012 12:13:13 +0000 (12:13 +0000)
Changed files:
    code2html.spec -> 1.1

code2html.spec [new file with mode: 0644]

diff --git a/code2html.spec b/code2html.spec
new file mode 100644 (file)
index 0000000..5f2580d
--- /dev/null
@@ -0,0 +1,47 @@
+Summary:       Code2html is a tool which allows you to convert your source code files to syntax highlighted HTML.
+Summary(pl):   Code2html jest narzêdziem konwertuj±cym twój kod ¼ród³owy do HTML-u z wyró¿nieniem sk³adni.
+Name:          code2html
+Version:       0.8.12
+Release:       1
+License:       Freeware
+Group:         Applications/Publishing
+Group(de):     Applikationen/Publizieren
+Group(pl):     Aplikacje/Publikowanie
+Source0:       http://download.sourceforge.net/%{name}/%{name}-%{version}.tar.gz
+BuildRoot:     %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
+BuildArch:     noarch
+
+%description
+Code2html is a perl script which converts a program source code to
+syntax highlighted HTML, or any other format for which rules are
+defined. To use code2html, you also need to install Perl.
+
+
+%description -l pl
+Code2html jest skryptem Perla konwertuj±cym ¼ród³o programu do HTML-u
+z wyró¼nieniem sk³adni, albo do innego formatu, dla którego zostan±
+zdefiniowane odpowiednie regu³y. Aby u¿ywaæ code2html, musisz jeszcze
+zainstalowaæ pakiet perl.
+
+%prep
+%setup -q -n %{name}
+
+%build
+
+%install
+rm -rf $RPM_BUILD_ROOT
+%{__install} -d $RPM_BUILD_ROOT%{_bindir}
+%{__install} code2html $RPM_BUILD_ROOT%{_bindir}
+%{__install} -d $RPM_BUILD_ROOT%{_mandir}/man1
+%{__install} code2html.1 $RPM_BUILD_ROOT%{_mandir}/man1
+
+gzip -9nf ChangeLog CREDITS LICENSE README
+
+%clean
+rm -rf $RPM_BUILD_ROOT
+
+%files
+%defattr(644,root,root,755)
+%attr(755,root,root) %{_bindir}/*
+%{_mandir}/man1/*
+%doc *.gz
This page took 0.059247 seconds and 4 git commands to generate.