553b940
Name:           code2html
553b940
Version:        0.9.1
7c817e4
Release:        18%{?dist}
553b940
Summary:        Convert source code to HTML
553b940
License:        MIT
Christopher Meng c80b3f0
URL:            http://www.palfrader.org/code/%{name}
553b940
Source0:        http://www.palfrader.org/code2html/all/latest.tar.gz
553b940
Requires:       perl(:MODULE_COMPAT_%(eval "`%{__perl} -V:version`"; echo $version))
Christopher Meng c80b3f0
BuildArch:      noarch
553b940
553b940
%description
553b940
Code2HTML converts a program source code to syntax highlighted HTML.
553b940
553b940
%prep
553b940
%setup -q
553b940
iconv -f iso8859-1 -t utf-8 %{name}.1 > %{name}.1.conv && mv -f %{name}.1.conv %{name}.1
553b940
553b940
%build
553b940
# Empty build
553b940
553b940
%install
Christopher Meng c80b3f0
mkdir -p %{buildroot}%{_bindir}
Christopher Meng c80b3f0
install -p -m 755 %{name} %{buildroot}%{_bindir}/
Christopher Meng c80b3f0
mkdir -p %{buildroot}%{_mandir}/man1
Christopher Meng c80b3f0
install -p -m 644 %{name}.1 %{buildroot}%{_mandir}/man1/
553b940
553b940
%files
Christopher Meng c80b3f0
%doc ChangeLog CREDITS LICENSE README
553b940
%{_bindir}/%{name}
Christopher Meng c80b3f0
%{_mandir}/man1/%{name}.1*
553b940
553b940
%changelog
7c817e4
* Sat Jun 07 2014 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 0.9.1-18
7c817e4
- Rebuilt for https://fedoraproject.org/wiki/Fedora_21_Mass_Rebuild
7c817e4
Christopher Meng c80b3f0
* Mon Aug 05 2013 Christopher Meng <rpm@cicku.me> - 0.9.1-17
Christopher Meng c80b3f0
- SPEC cleanup(Fix BZ#992072).
Christopher Meng c80b3f0
c311c16
* Sat Aug 03 2013 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 0.9.1-16
c311c16
- Rebuilt for https://fedoraproject.org/wiki/Fedora_20_Mass_Rebuild
c311c16
45efe2d
* Thu Jul 18 2013 Petr Pisar <ppisar@redhat.com> - 0.9.1-15
45efe2d
- Perl 5.18 rebuild
45efe2d
ddd47e4
* Wed Feb 13 2013 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 0.9.1-14
ddd47e4
- Rebuilt for https://fedoraproject.org/wiki/Fedora_19_Mass_Rebuild
ddd47e4
20ecb3b
* Wed Jul 18 2012 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 0.9.1-13
20ecb3b
- Rebuilt for https://fedoraproject.org/wiki/Fedora_18_Mass_Rebuild
20ecb3b
4283a1f
* Mon Jun 11 2012 Petr Pisar <ppisar@redhat.com> - 0.9.1-12
4283a1f
- Perl 5.16 rebuild
4283a1f
3a4db7e
* Thu Jan 12 2012 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 0.9.1-11
3a4db7e
- Rebuilt for https://fedoraproject.org/wiki/Fedora_17_Mass_Rebuild
3a4db7e
453f8b7
* Fri Jun 17 2011 Marcela Mašláňová <mmaslano@redhat.com> - 0.9.1-10
453f8b7
- Perl mass rebuild
453f8b7
a8318c2
* Fri Jun 10 2011 Marcela Mašláňová <mmaslano@redhat.com> - 0.9.1-9
a8318c2
- Perl 5.14 mass rebuild
a8318c2
28192b1
* Tue Feb 08 2011 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 0.9.1-8
28192b1
- Rebuilt for https://fedoraproject.org/wiki/Fedora_15_Mass_Rebuild
28192b1
f031847
* Tue Jun 01 2010 Marcela Maslanova <mmaslano@redhat.com> - 0.9.1-7
f031847
- Mass rebuild with perl-5.12.0
f031847
6a56025
* Fri Dec  4 2009 Stepan Kasal <skasal@redhat.com> - 0.9.1-6
6a56025
- rebuild against perl 5.10.1
6a56025
6ffb968
* Fri Jul 24 2009 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 0.9.1-5
6ffb968
- Rebuilt for https://fedoraproject.org/wiki/Fedora_12_Mass_Rebuild
6ffb968
7658ce9
* Tue Mar 17 2009 Rakesh Pandit <rakesh@fedoraproject.org> - 0.9.1-4
7658ce9
- Fixed Source URL
7658ce9
a36fdec
* Tue Feb 24 2009 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 0.9.1-3
a36fdec
- Rebuilt for https://fedoraproject.org/wiki/Fedora_11_Mass_Rebuild
a36fdec
553b940
* Mon Jan 26 2009 Rakesh Pandit <rakesh@fedoraproject.org> 0.9.1-2
553b940
- Fixed wrong license field and used -p while installing
553b940
553b940
* Mon Jan 26 2009 Rakesh Pandit <rakesh@fedoraproject.org> 0.9.1-1
553b940
- Initial package