From 732f644aa43e6d66acd1a0c686ead24464c29f41 Mon Sep 17 00:00:00 2001 From: CentOS Buildsys Date: Mar 14 2013 14:36:50 +0000 Subject: import source-highlight-3.1.6-4.el7.src.rpm --- diff --git a/.source-highlight.metadata b/.source-highlight.metadata new file mode 100644 index 0000000..1333992 --- /dev/null +++ b/.source-highlight.metadata @@ -0,0 +1,2 @@ +e82460c75ecfc5370b3a8e82f3e71f4fff747932 SOURCES/source-highlight-3.1.6.tar.gz +3ec6da720fa19fa9b86a58be1d28424db07855c9 SOURCES/source-highlight-3.1.6.tar.gz.sig diff --git a/README.md b/README.md deleted file mode 100644 index 0e7897f..0000000 --- a/README.md +++ /dev/null @@ -1,5 +0,0 @@ -The master branch has no content - -Look at the c7 branch if you are working with CentOS-7, or the c4/c5/c6 branch for CentOS-4, 5 or 6 - -If you find this file in a distro specific branch, it means that no content has been checked in yet diff --git a/SPECS/source-highlight.spec b/SPECS/source-highlight.spec new file mode 100644 index 0000000..639eb9c --- /dev/null +++ b/SPECS/source-highlight.spec @@ -0,0 +1,266 @@ +Summary: Produces a document with syntax highlighting +Name: source-highlight +Version: 3.1.6 +Release: 4%{?dist} +Group: Development/Tools +License: GPLv3+ +Source0: ftp://ftp.gnu.org/gnu/src-highlite/%{name}-%{version}.tar.gz +Source1: ftp://ftp.gnu.org/gnu/src-highlite/%{name}-%{version}.tar.gz.sig +URL: http://www.gnu.org/software/src-highlite/ +BuildRequires: bison, flex, boost-devel +BuildRequires: help2man, ctags, chrpath +Requires(post): info +Requires(preun): info +Requires: ctags + +%description +This program, given a source file, produces a document with syntax +highlighting. At the moment this package can handle : +Java, Javascript, C/C++, Prolog, Perl, Php3, Python, Flex, ChangeLog, Ruby, +Lua, Caml, Sml and Log as source languages, and HTML, XHTML and ANSI color +escape sequences as output format. + + +%package devel +Summary: Development files for source-highlight +Group: Development/Libraries +Requires: %{name} = %{version}-%{release} +Requires: pkgconfig + +%description devel +Development files for source-highlight + +%prep +%setup -q + +%build +%configure --disable-static \ + --with-boost-regex=boost_regex +make %{?_smp_mflags} + +%install +rm -rf $RPM_BUILD_ROOT +make install DESTDIR=$RPM_BUILD_ROOT + +mv $RPM_BUILD_ROOT%{_datadir}/doc/ docs +%{__sed} -i 's/\r//' docs/source-highlight/*.css + +rm -f $RPM_BUILD_ROOT%{_infodir}/dir +find $RPM_BUILD_ROOT -type f -name "*.la" -exec rm -f {} ';' +find $RPM_BUILD_ROOT -type f -name "*.a" -exec rm -f {} ';' +chrpath --delete $RPM_BUILD_ROOT%{_bindir}/source-highlight +chrpath --delete $RPM_BUILD_ROOT%{_bindir}/source-highlight-settings + +echo -e "\ncxx = cpp.lang" >> $RPM_BUILD_ROOT%{_datadir}/source-highlight/lang.map + +%post +/sbin/ldconfig +/sbin/install-info %{_infodir}/source-highlight.info \ + %{_infodir}/dir 2>/dev/null || : + +%preun +if [ $1 -eq 0 ]; then + /sbin/install-info --delete %{_infodir}/source-highlight.info \ + %{_infodir}/dir 2>/dev/null || : +fi + +%postun -p /sbin/ldconfig + +%files +%defattr (-,root,root) +%doc docs/source-highlight/* +%{_bindir}/cpp2html +%{_bindir}/java2html +%{_bindir}/source-highlight +%{_bindir}/check-regexp +%{_bindir}/source-highlight-settings +%{_bindir}/src-hilite-lesspipe.sh +%dir %{_sysconfdir}/bash_completion.d +%{_sysconfdir}/bash_completion.d/source-highlight +%{_libdir}/libsource-highlight.so.* +%dir %{_datadir}/source-highlight +%{_datadir}/source-highlight/* +%{_mandir}/man1/* +%{_infodir}/source-highlight*.info* + +%files devel +%defattr (-,root,root) +%dir %{_includedir}/srchilite +%{_libdir}/libsource-highlight.so +%{_libdir}/pkgconfig/source-highlight.pc +%{_includedir}/srchilite/*.h + +%changelog +* Sat Feb 09 2013 Denis Arnaud - 3.1.6-4 +- Rebuild for Boost-1.53.0 + +* Wed Aug 8 2012 Bill Nottingham - 3.1.6-3 +- rebuild against new boost + +* Sat Jul 21 2012 Fedora Release Engineering - 3.1.6-2 +- Rebuilt for https://fedoraproject.org/wiki/Fedora_18_Mass_Rebuild + +* Sun Mar 25 2012 Adrian Reber - 3.1.6-1 +- updated to 3.1.6 +- removed buildroot and clean section +- fixed "missing c++ source language detection for .cxx extension" (#728311) +- fixed "source-highlight : Conflicts with autoconf-archive" (#797794) + +* Tue Feb 28 2012 Fedora Release Engineering - 3.1.4-10 +- Rebuilt for c++ ABI breakage + +* Sat Jan 14 2012 Fedora Release Engineering - 3.1.4-9 +- Rebuilt for https://fedoraproject.org/wiki/Fedora_17_Mass_Rebuild + +* Sun Nov 20 2011 - 3.1.4-8 +- Rebuild against boost 1.48 + +* Thu Jul 21 2011 Adrian Reber - 3.1.4-7 +- and again a rebuilt for boost. + +* Fri Apr 01 2011 Christoph Wickert - 3.1.4-6 +- Another rebuild, libboost SONAME has changed again + +* Wed Mar 16 2011 Christoph Wickert - 3.1.4-5 +- Rebuild for correct libboost SONAME + +* Sun Mar 13 2011 Christoph Wickert - 3.1.4-4 +- Rebuild for boost 1.46.1 + +* Wed Feb 09 2011 Fedora Release Engineering - 3.1.4-3 +- Rebuilt for https://fedoraproject.org/wiki/Fedora_15_Mass_Rebuild + +* Sun Feb 06 2011 Bastien Nocera 3.1.4-2 +- Rebuild against newer boost + +* Mon Aug 16 2010 Leigh Scott - 3.1.4-1 +- updated to 3.1.4 + +* Thu Aug 5 2010 Tom "spot" Callaway - 3.1.3-3 +- rebuild for new boost (again) + +* Tue Jul 27 2010 Christoph Wickert - 3.1.3-2 +- Rebuild for new boost +- Fix Requires for %%post and %%preun + +* Fri Jun 04 2010 Leigh Scott - 3.1.3-1 +- updated to 3.1.3 +- change configure command so it finds boost_regex +- fix source url's +- add devel package +- fix directory ownership +- fix rpath on binary + +* Fri Jan 22 2010 Adrian Reber - 2.10-5 +- rebuilt for new boost. + +* Sun Jul 26 2009 Fedora Release Engineering - 2.10-4 +- Rebuilt for https://fedoraproject.org/wiki/Fedora_12_Mass_Rebuild + +* Wed Feb 25 2009 Fedora Release Engineering - 2.10-3 +- Rebuilt for https://fedoraproject.org/wiki/Fedora_11_Mass_Rebuild + +* Wed Dec 17 2008 Benjamin Kosnik - 2.10-2 +- Rebuild for boost-1.37.0. + +* Sat Aug 16 2008 Adrian Reber - 2.10-1 +- updated to 2.10 + +* Fri Jun 13 2008 Adrian Reber - 2.9-1 +- updated to 2.9 +- removed upstreamed gcc43 patch + +* Tue Feb 12 2008 Adrian Reber - 2.8-2 +- added gcc43 patch + +* Fri Dec 14 2007 Adrian Reber - 2.8-1 +- updated to 2.8 +- license changed to GPLv3+ + +* Sun Sep 16 2007 Adrian Reber - 2.7-1 +- updated to 2.7 +- updated files section +- updated license + +* Mon Aug 20 2007 Caolan McNamara - 2.4-2 +- rebuild for boost rebuild + +* Fri Sep 15 2006 Adrian Reber - 2.4-1 +- updated to 2.4 + +* Wed Mar 21 2006 Adrian Reber - 2.3-2 +- using a new url.lang to fix #195720 + (https://bugzilla.redhat.com/bugzilla/attachment.cgi?id=131352) + +* Sun Mar 12 2006 Adrian Reber - 2.3-1 +- updated to 2.3 + +* Mon Oct 17 2005 Adrian Reber - 2.2-1 +- updated to 2.2 +- added ctags BuildRequires and Requires + +* Wed Aug 31 2005 Adrian Reber - 2.1.2-1 +- updated to 2.1.2 +- removed boost-compile-fix patch + +* Thu Aug 25 2005 Adrian Reber - 2.1.1-2 +- rebuilt due to boost's SONAME change (boost 1.33.0) +- added patch to compile with boost 1.33.0 + +* Wed Aug 03 2005 Adrian Reber - 2.1.1-1 +- updated to 2.1.1 (fixes #164861) + +* Mon Aug 01 2005 Adrian Reber - 2.1-1 +- updated to 2.1 + +* Sun Jun 19 2005 Adrian Reber - 2.0-1 +- updated to 2.0 +- added boost-devel, help2man to BR +- included info file + +* Wed May 11 2005 Adrian Reber - 1.11-1 +- updated to 1.11 +- included the documentation +- optimised the %%descritpion + +* Fri Apr 7 2005 Michael Schwendt +- rebuilt + +* Tue Jun 22 2004 Adrian Reber - 0:1.9-0.fdr.2 +- added the Epoch: 0 + +* Tue Jun 22 2004 Adrian Reber - 1.9-0.fdr.1 +- removed mandrake specific macros + +* Thu Jun 17 2004 Lenny Cartier 1.9-1mdk +- 1.9 + +* Wed Jan 07 2004 Per Øyvind Karlsen 1.8-1mdk +- 1.8 +- drop Prefix tag +- clean out redundant buildrequires +- rm -rf $RPM_BUILD_ROOT at the beginning of %%install, not %%prep +- use %%makeinstall_std macro +- cosmetics + +* Wed Mar 26 2003 Lenny Cartier 1.7-1mdk +- 1.7 + +* Sat Feb 01 2003 Lenny Cartier 1.6.3-1mdk +- 1.6.3 + +* Wed Jan 22 2003 Lenny Cartier 1.6.2-1mdk +- 1.6.2 + +* Sat Nov 23 2002 Olivier Thauvin 1.6.1-1mdk +- 1.6.1 +- fix unpackaged files + +* Thu Sep 05 2002 Lenny Cartier 1.5-2mdk +- rebuild + +* Thu Jul 18 2002 Lenny Cartier 1.5-1mdk +- 1.5 + +* Wed Jun 26 2002 Lenny Cartier 1.4-1mdk +- obsoletes java2html & cpp2html