[source-highlight-qt] Initial import (#916766)

terjeros terjeros at fedoraproject.org
Wed Mar 6 20:47:40 UTC 2013


commit b119711acf280ceae436edd179bfda56e26fc645
Author: Terje Røsten <terje.rosten at ntnu.no>
Date:   Wed Mar 6 21:47:33 2013 +0100

    Initial import (#916766)

 .gitignore               |    1 +
 source-highlight-qt.spec |   71 ++++++++++++++++++++++++++++++++++++++++++++++
 sources                  |    1 +
 3 files changed, 73 insertions(+), 0 deletions(-)
---
diff --git a/.gitignore b/.gitignore
index e69de29..b116983 100644
--- a/.gitignore
+++ b/.gitignore
@@ -0,0 +1 @@
+/source-highlight-qt-0.2.3.tar.gz
diff --git a/source-highlight-qt.spec b/source-highlight-qt.spec
new file mode 100644
index 0000000..2891143
--- /dev/null
+++ b/source-highlight-qt.spec
@@ -0,0 +1,71 @@
+Summary:       Library for performing syntax highlighting in Qt documents
+Name:          source-highlight-qt
+Version:       0.2.3
+Release:       2%{?dist}
+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}
+
+%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
+* Fri Mar 01 2013 Terje Rosten <terje.rosten at ntnu.no> - 0.2.3-2
+- enable tests
+- remove buildroot cleaning
+
+* Mon Feb 25 2013 Terje Rosten <terje.rosten at ntnu.no> - 0.2.3-1
+- initial package
diff --git a/sources b/sources
index e69de29..b78cdff 100644
--- a/sources
+++ b/sources
@@ -0,0 +1 @@
+68b3c42a049261870f68c6bdf4870aba  source-highlight-qt-0.2.3.tar.gz


More information about the scm-commits mailing list