2013-03-06 20:47:33 +00:00
|
|
|
Summary: Library for performing syntax highlighting in Qt documents
|
|
|
|
Name: source-highlight-qt
|
|
|
|
Version: 0.2.3
|
2014-08-18 03:06:51 +00:00
|
|
|
Release: 9%{?dist}
|
2013-03-06 20:47:33 +00:00
|
|
|
License: GPLv3
|
|
|
|
URL: http://srchiliteqt.sourceforge.net/
|
|
|
|
Source0: http://downloads.sourceforge.net/project/srchiliteqt/source-highlight-qt/source-highlight-qt-%{version}.tar.gz
|
|
|
|
BuildRequires: boost-devel
|
|
|
|
BuildRequires: source-highlight-devel
|
|
|
|
BuildRequires: qt-devel
|
|
|
|
|
|
|
|
%description
|
|
|
|
Source-highlight-qt is a library for performing syntax highlighting in
|
|
|
|
Qt documents by relying on GNU Source-Highlight library.
|
|
|
|
|
|
|
|
Although the use of GNU Source-highlight library is pretty hidden by
|
|
|
|
this library, so the programmer must not need the details of GNU
|
|
|
|
Source-highlight library, yet, some general notions of GNU
|
|
|
|
Source-highlight might be useful.
|
|
|
|
|
|
|
|
%package devel
|
|
|
|
Summary: Header files, libraries and development documentation for %{name}
|
|
|
|
Group: Development/Libraries
|
|
|
|
Requires: %{name} = %{version}-%{release}
|
2013-03-07 21:44:33 +00:00
|
|
|
Requires: source-highlight-devel
|
|
|
|
Requires: qt-devel
|
2013-06-26 18:51:46 +00:00
|
|
|
Requires: boost-devel
|
2013-03-06 20:47:33 +00:00
|
|
|
|
|
|
|
%description devel
|
|
|
|
This package contains the header files, static libraries and
|
|
|
|
development documentation for source-highlight-qt. If you like to
|
|
|
|
develop programs using source-highlight-qt, you will need to install
|
|
|
|
source-highlight-qt-devel.
|
|
|
|
|
|
|
|
%prep
|
|
|
|
%setup -q
|
|
|
|
|
|
|
|
%build
|
|
|
|
%configure --with-qt=%{_libdir}/qt4/bin
|
|
|
|
make %{?_smp_mflags}
|
|
|
|
|
|
|
|
%install
|
|
|
|
%make_install
|
|
|
|
find %{buildroot} -name \*.a -delete
|
|
|
|
find %{buildroot} -name \*.la -delete
|
|
|
|
mv %{buildroot}/usr/share/doc/source-highlight-qt/examples __examples
|
|
|
|
mv %{buildroot}/usr/share/doc/source-highlight-qt/source-highlight-qt.html .
|
|
|
|
rm -rf %{buildroot}/usr/share/{doc,info}
|
|
|
|
|
|
|
|
%check
|
|
|
|
pushd lib/tests
|
|
|
|
make check
|
|
|
|
|
|
|
|
%post -p /sbin/ldconfig
|
|
|
|
|
|
|
|
%postun -p /sbin/ldconfig
|
|
|
|
|
|
|
|
%files
|
|
|
|
%doc AUTHORS COPYING ChangeLog NEWS THANKS TODO.txt
|
|
|
|
%{_libdir}/libsource-highlight-qt4.so.3*
|
|
|
|
|
|
|
|
%files devel
|
|
|
|
%doc __examples/* source-highlight-qt.html
|
|
|
|
%{_includedir}/srchiliteqt
|
|
|
|
%{_libdir}/libsource-highlight-qt4.so
|
|
|
|
%{_libdir}/pkgconfig/source-highlight-qt4.pc
|
|
|
|
|
|
|
|
%changelog
|
2014-08-18 03:06:51 +00:00
|
|
|
* Mon Aug 18 2014 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 0.2.3-9
|
|
|
|
- Rebuilt for https://fedoraproject.org/wiki/Fedora_21_22_Mass_Rebuild
|
|
|
|
|
2014-06-08 06:47:47 +00:00
|
|
|
* Sun Jun 08 2014 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 0.2.3-8
|
|
|
|
- Rebuilt for https://fedoraproject.org/wiki/Fedora_21_Mass_Rebuild
|
|
|
|
|
2014-05-23 10:12:54 +00:00
|
|
|
* Fri May 23 2014 David Tardon <dtardon@redhat.com> - 0.2.3-7
|
|
|
|
- rebuild for boost 1.55.0
|
|
|
|
|
2013-08-04 15:15:01 +00:00
|
|
|
* Sun Aug 04 2013 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 0.2.3-6
|
|
|
|
- Rebuilt for https://fedoraproject.org/wiki/Fedora_20_Mass_Rebuild
|
|
|
|
|
2013-07-28 18:13:33 +00:00
|
|
|
* Sun Jul 28 2013 Petr Machata <pmachata@redhat.com> - 0.2.3-5
|
|
|
|
- Rebuild for boost 1.54.0
|
|
|
|
|
2013-06-26 18:51:46 +00:00
|
|
|
* Wed Jun 26 2013 Terje Rosten <terje.rosten@ntnu.no> - 0.2.3-4
|
|
|
|
- Add boost-devel as req
|
|
|
|
|
2013-03-07 21:44:33 +00:00
|
|
|
* Thu Mar 07 2013 Terje Rosten <terje.rosten@ntnu.no> - 0.2.3-3
|
|
|
|
- fix req in -devel subpackage
|
|
|
|
|
2013-03-06 20:47:33 +00:00
|
|
|
* Fri Mar 01 2013 Terje Rosten <terje.rosten@ntnu.no> - 0.2.3-2
|
|
|
|
- enable tests
|
|
|
|
- remove buildroot cleaning
|
|
|
|
|
|
|
|
* Mon Feb 25 2013 Terje Rosten <terje.rosten@ntnu.no> - 0.2.3-1
|
|
|
|
- initial package
|