source: projects/specs/branches/6/s/source-highlight/source-highlight-vl.spec @ 2529

Revision 2529, 2.7 KB checked in by owa, 13 years ago (diff)

rebuilt with libboost-1.45.0

Line 
1#
2# spec file for package GNU Source Highlight (Version 1.x)
3#
4# Author: Christian W. Zuckschwerdt <zany@triq.net>, Jan 2003
5#
6
7Summary:   syntax highlighting for source documents
8Name:      source-highlight
9Version:   3.1.4
10Release:   2%{?_dist_release}
11License:   GPL
12Group:     Utilities/Console
13Source:    ftp://ftp.gnu.org/gnu/source-highlight/%{name}-%{version}.tar.gz
14URL:       http://www.gnu.org/software/src-highlite/
15BuildRoot: %{_tmppath}/%{name}-%{version}-root
16
17BuildRequires: libboost-devel >= 1.33.1
18BuildRequires: libboost-regex >= 1.33.1
19BuildRequires: bison
20BuildRequires: flex
21BuildRequires: ctags
22BuildRequires: help2man
23Requires: ctags
24
25Vendor: Project Vine
26Distribution: Vine Linux
27
28%description 
29This program, given a source file, produces a document
30with syntax highlighting.  Both source languages and output formats
31can be specified with a simple syntax and added dynamically.  At the
32moment this package can handle many programming languages, such as,
33e.g., Java, C/C++, Prolog, Perl, Php3, Python, Flex, ChangeLog, etc.
34as source languages, and some output formats such, as, e.g., HTML,
35XHTML, LaTeX, etc.
36
37%package devel
38Summary:        Development environment of source-highlight
39Group:          Development/Libraries
40Requires:       %{name} = %{version}-%{release}
41Requires:       pkgconfig
42Requires:       libboost-devel
43Requires:       libboost-regex
44
45%description devel
46Header files and libraries for building a extension library for the
47source-highlight
48
49%prep
50%setup -q
51
52%build
53%configure --disable-static --with-boost-regex=boost_regex
54make
55
56%install
57rm -rf $RPM_BUILD_ROOT
58
59make DESTDIR=$RPM_BUILD_ROOT install
60
61rm -f $RPM_BUILD_ROOT/%{_libdir}/*.la
62rm -f $RPM_BUILD_ROOT/%{_infodir}/dir
63
64%clean
65rm -rf $RPM_BUILD_ROOT
66
67%post
68/sbin/install-info %{_infodir}/source-highlight.info.gz %{_infodir}/dir
69/sbin/install-info %{_infodir}/source-highlight-lib.info.gz %{_infodir}/dir
70
71%preun
72if [ $1 = 0 ]; then
73        /sbin/install-info --delete %{_infodir}/source-highlight.info.gz %{_infodir}/dir
74        /sbin/install-info --delete %{_infodir}/source-highlight-lib.info.gz %{_infodir}/dir
75fi
76
77%files
78%defattr(-, root, root)
79%doc README COPYING ChangeLog TODO.txt AUTHORS THANKS
80%{_sysconfdir}/bash_completion.d/source-highlight-bash-completion
81%{_bindir}/*
82%{_libdir}/*.so.*
83%{_datadir}/%{name}/*
84%{_datadir}/doc/source-highlight/*
85%{_mandir}/man?/*
86%{_infodir}/source-highlight*.info*
87
88%files devel
89%defattr(-, root, root)
90%{_includedir}/srchilite/*.h
91%{_libdir}/*.so
92%{_libdir}/pkgconfig/source-highlight.pc
93%{_datadir}/aclocal/*.m4
94
95
96%changelog
97* Tue Jan 18 2011 Shu KONNO <owa@bg.wakwak.com> 3.1.4-2
98- rebuilt with libboost-1.45.0
99
100* Sun Oct 24 2010 Yoji TOYODA <bsyamato@sea.plala.or.jp> 3.1.4-1
101- initial build for Vine Linux
102
Note: See TracBrowser for help on using the repository browser.