source: projects/specs/trunk/s/source-highlight/source-highlight-vl.spec @ 12387

Revision 12387, 3.4 KB checked in by tomop, 4 years ago (diff)

updated 10 packages

Field3D-1.7.3-1

OpenImageIO-2.1.10.1-1

ekiga-4.0.1-11

galera-26.4.3-2

gnucash-3.10-1

libboost-1.72.0-1

nghttp2-1.40.0-2

opal-3.10.11-1

ptlib-2.10.11-1

source-highlight-3.1.8-2

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
7Name:           source-highlight
8Summary:        Syntax highlighting for source documents
9Version:        3.1.8
10Release:        2%{?_dist_release}
11Group:          Development/Tools
12Vendor:         Project Vine
13Distribution:   Vine Linux
14
15License:        GPLv3
16Source:         ftp://ftp.gnu.org/gnu/source-highlight/%{name}-%{version}.tar.gz
17URL:            http://www.gnu.org/software/src-highlite/
18
19BuildRoot:      %{_tmppath}/%{name}-%{version}-root
20BuildRequires:  libboost-devel >= 1.33.1
21BuildRequires:  libboost-regex >= 1.33.1
22BuildRequires:  bison
23BuildRequires:  flex
24BuildRequires:  ctags
25BuildRequires:  help2man
26Requires:       ctags
27
28
29%description
30This program, given a source file, produces a document
31with syntax highlighting.  Both source languages and output formats
32can be specified with a simple syntax and added dynamically.  At the
33moment this package can handle many programming languages, such as,
34e.g., Java, C/C++, Prolog, Perl, Php3, Python, Flex, ChangeLog, etc.
35as source languages, and some output formats such, as, e.g., HTML,
36XHTML, LaTeX, etc.
37
38%package devel
39Summary:        Development environment of source-highlight
40Group:          Development/Libraries
41Requires:       %{name} = %{version}-%{release}
42Requires:       pkgconfig
43Requires:       libboost-devel
44Requires:       libboost-regex
45
46%description devel
47Header files and libraries for building a extension library for the
48source-highlight
49
50%prep
51%setup -q
52
53%build
54%configure --disable-static --with-boost-regex=boost_regex
55make %{?_smp_mflags}
56
57%install
58rm -rf $RPM_BUILD_ROOT
59
60make DESTDIR=$RPM_BUILD_ROOT install
61
62rm -rf pkgdoc
63mv %{buildroot}%{_datadir}/doc/source-highlight pkgdoc
64
65rm -f $RPM_BUILD_ROOT/%{_libdir}/*.la
66rm -f $RPM_BUILD_ROOT/%{_infodir}/dir
67
68
69%clean
70rm -rf $RPM_BUILD_ROOT
71
72%post
73/sbin/install-info %{_infodir}/source-highlight.info.gz %{_infodir}/dir
74/sbin/install-info %{_infodir}/source-highlight-lib.info.gz %{_infodir}/dir
75
76%preun
77if [ $1 = 0 ]; then
78        /sbin/install-info --delete %{_infodir}/source-highlight.info.gz %{_infodir}/dir
79        /sbin/install-info --delete %{_infodir}/source-highlight-lib.info.gz %{_infodir}/dir
80fi
81
82%files
83%defattr(-, root, root)
84%license COPYING
85%doc pkgdoc/*
86%doc README ChangeLog TODO.txt AUTHORS THANKS
87%dir %{_sysconfdir}/bash_completion.d
88%{_sysconfdir}/bash_completion.d/source-highlight
89%{_bindir}/*
90%{_libdir}/*.so.*
91%{_datadir}/%{name}/*
92%{_mandir}/man?/*
93%{_infodir}/source-highlight*.info*
94
95%files devel
96%defattr(-, root, root)
97%{_includedir}/srchilite/*.h
98%{_libdir}/*.so
99%{_libdir}/pkgconfig/source-highlight.pc
100#{_datadir}/aclocal/*.m4
101
102
103%changelog
104* Sat Apr 25 2020 Tomohiro "Tomo-p" KATO <tomop@teamgedoh.net> 3.1.8-2
105- rebuilt with boost-1.72.0.
106
107* Wed May 23 2018 Toshiaki Ara <ara_t@384.jp> 3.1.8-1
108- updated to 3.1.8
109
110* Mon Jan 08 2018 Toshiaki Ara <ara_t@384.jp> 3.1.7-3
111- rebuild with libboost-1.66.0
112
113* Fri Sep 02 2016 Toshiaki Ara <ara_t@384.jp> 3.1.7-2
114- rebuild with gcc-5.4.0
115
116* Wed Oct  1 2014 Ryoichi INAGAKI <ryo1@toki.waseda.jp> 3.1.7-1
117- updated to 3.1.7
118- changed Group to Development/Tools
119
120* Mon Dec 09 2013 Yoji TOYODA <bsyamato@sea.plala.or.jp> 3.1.4-3
121- rebuild with libboost-1.54.0
122
123* Tue Jan 18 2011 Shu KONNO <owa@bg.wakwak.com> 3.1.4-2
124- rebuilt with libboost-1.45.0
125
126* Sun Oct 24 2010 Yoji TOYODA <bsyamato@sea.plala.or.jp> 3.1.4-1
127- initial build for Vine Linux
128
Note: See TracBrowser for help on using the repository browser.