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

Revision 12537, 3.5 KB checked in by tomop, 3 years ago (diff)

updated 8 packages

Field3D-1.7.3-3

OpenImageIO-2.2.11.1-1

c-ares-1.17.1-1

curl-7.75.0-1

galera-26.4.6-1

libboost-1.75.0-1

nghttp2-1.43.0-1

source-highlight-3.1.8-3

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:        3%{?_dist_release}
11Group:          programming
12Vendor:         Project Vine
13Distribution:   Vine Linux
14
15License:        GPLv3
16URL:            http://www.gnu.org/software/src-highlite/
17Source:         ftp://ftp.gnu.org/gnu/source-highlight/%{name}-%{version}.tar.gz
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%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
38%package devel
39Summary:        Development environment of source-highlight
40Group:          programming
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
51%debug_package
52
53
54%prep
55%setup -q
56
57
58%build
59%configure --disable-static --with-boost-regex=boost_regex
60make %{?_smp_mflags}
61
62
63%install
64rm -rf $RPM_BUILD_ROOT
65
66make DESTDIR=$RPM_BUILD_ROOT install
67
68rm -rf pkgdoc
69mv %{buildroot}%{_datadir}/doc/source-highlight pkgdoc
70
71rm -f $RPM_BUILD_ROOT/%{_libdir}/*.la
72rm -f $RPM_BUILD_ROOT/%{_infodir}/dir
73
74
75%clean
76rm -rf $RPM_BUILD_ROOT
77
78
79%post
80/sbin/install-info %{_infodir}/source-highlight.info.gz %{_infodir}/dir
81/sbin/install-info %{_infodir}/source-highlight-lib.info.gz %{_infodir}/dir
82
83%preun
84if [ $1 = 0 ]; then
85        /sbin/install-info --delete %{_infodir}/source-highlight.info.gz %{_infodir}/dir
86        /sbin/install-info --delete %{_infodir}/source-highlight-lib.info.gz %{_infodir}/dir
87fi
88
89%files
90%defattr(-, root, root)
91%license COPYING
92%doc pkgdoc/*
93%doc README ChangeLog TODO.txt AUTHORS THANKS
94%dir %{_sysconfdir}/bash_completion.d
95%{_sysconfdir}/bash_completion.d/source-highlight
96%{_bindir}/*
97%{_libdir}/*.so.*
98%{_datadir}/%{name}/*
99%{_mandir}/man?/*
100%{_infodir}/source-highlight*.info*
101
102%files devel
103%defattr(-, root, root)
104%{_includedir}/srchilite/*.h
105%{_libdir}/*.so
106%{_libdir}/pkgconfig/source-highlight.pc
107#{_datadir}/aclocal/*.m4
108
109
110%changelog
111* Sat Feb 20 2021 Tomohiro "Tomo-p" KATO <tomop@teamgedoh.net> 3.1.8-3
112- rebuilt with boost-1.75.0.
113
114* Sat Apr 25 2020 Tomohiro "Tomo-p" KATO <tomop@teamgedoh.net> 3.1.8-2
115- rebuilt with boost-1.72.0.
116
117* Wed May 23 2018 Toshiaki Ara <ara_t@384.jp> 3.1.8-1
118- updated to 3.1.8
119
120* Mon Jan 08 2018 Toshiaki Ara <ara_t@384.jp> 3.1.7-3
121- rebuild with libboost-1.66.0
122
123* Fri Sep 02 2016 Toshiaki Ara <ara_t@384.jp> 3.1.7-2
124- rebuild with gcc-5.4.0
125
126* Wed Oct  1 2014 Ryoichi INAGAKI <ryo1@toki.waseda.jp> 3.1.7-1
127- updated to 3.1.7
128- changed Group to Development/Tools
129
130* Mon Dec 09 2013 Yoji TOYODA <bsyamato@sea.plala.or.jp> 3.1.4-3
131- rebuild with libboost-1.54.0
132
133* Tue Jan 18 2011 Shu KONNO <owa@bg.wakwak.com> 3.1.4-2
134- rebuilt with libboost-1.45.0
135
136* Sun Oct 24 2010 Yoji TOYODA <bsyamato@sea.plala.or.jp> 3.1.4-1
137- initial build for Vine Linux
138
Note: See TracBrowser for help on using the repository browser.