[gtksourceviewmm3] initial import
Haïkel Guémar
hguemar at fedoraproject.org
Sat Feb 19 16:25:37 UTC 2011
commit 56f6821c4181f94b7af080729709dc86eea9b279
Author: Haïkel Guémar <hguemar at fedoraproject.org>
Date: Sat Feb 19 17:25:33 2011 +0100
initial import
.gitignore | 1 +
gtksourceviewmm3.spec | 85 +++++++++++++++++++++++++++++++++++++++++++++++++
sources | 1 +
3 files changed, 87 insertions(+), 0 deletions(-)
---
diff --git a/.gitignore b/.gitignore
index e69de29..f139a7b 100644
--- a/.gitignore
+++ b/.gitignore
@@ -0,0 +1 @@
+/gtksourceviewmm-2.91.5.tar.bz2
diff --git a/gtksourceviewmm3.spec b/gtksourceviewmm3.spec
new file mode 100644
index 0000000..30f90d4
--- /dev/null
+++ b/gtksourceviewmm3.spec
@@ -0,0 +1,85 @@
+%global tarname gtksourceviewmm
+%global apiver 3.0
+
+Name: gtksourceviewmm3
+Version: 2.91.5
+Release: 1%{?dist}
+Summary: A C++ wrapper for gtksourceview3
+
+Group: System Environment/Libraries
+License: LGPLv2+
+URL: http://projects.gnome.org/gtksourceviewmm/
+Source0: http://ftp.gnome.org/pub/GNOME/sources/gtksourceviewmm/2.91/%{tarname}-%{version}.tar.bz2
+BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n)
+
+BuildRequires: gtkmm30-devel >= 2.91.2
+BuildRequires: gtksourceview3-devel >= 2.91.5
+BuildRequires: doxygen graphviz
+
+%description
+gtksourceviewmm is a C++ wrapper for the gtksourceview widget
+library. It offers all the power of gtksourceview with an interface
+familiar to c++ developers, including users of the gtkmm library
+
+
+%package devel
+Summary: Development files for %{name}
+Group: Development/Libraries
+Requires: %{name}%{?_isa} = %{version}-%{release}
+
+%description devel
+The %{name}-devel package contains libraries and header files for
+developing applications that use %{name}.
+
+
+%prep
+%setup -q -n %{tarname}-%{version}
+
+
+%build
+%configure --disable-static
+make %{?_smp_mflags}
+
+
+%install
+rm -rf $RPM_BUILD_ROOT
+make install DESTDIR=$RPM_BUILD_ROOT
+find $RPM_BUILD_ROOT -name '*.la' -exec rm -f {} ';'
+# Move documentation to gtk-doc directory
+mkdir -p $RPM_BUILD_ROOT%{_datadir}/gtk-doc/html
+mv $RPM_BUILD_ROOT%{_datadir}/doc/%{tarname}-%{apiver} $RPM_BUILD_ROOT%{_datadir}/gtk-doc/html/%{tarname}-%{apiver}
+
+
+mv ${RPM_BUILD_ROOT}%{_datadir}/devhelp/books/%{tarname}-%{apiver}/*.devhelp2 ${RPM_BUILD_ROOT}%{_datadir}/gtk-doc/html/%{tarname}-%{apiver}
+# Fix devhelp broken base tag
+sed -i 's:base="[^\"]*":base="/usr/share/gtk-doc/html/%{tarname}-%{apiver}/reference/html":' ${RPM_BUILD_ROOT}%{_datadir}/gtk-doc/html/%{tarname}-%{apiver}/*.devhelp2
+
+
+%clean
+rm -rf $RPM_BUILD_ROOT
+
+
+%post -p /sbin/ldconfig
+
+%postun -p /sbin/ldconfig
+
+
+%files
+%defattr(-,root,root,-)
+%doc README AUTHORS COPYING ChangeLog NEWS
+%{_libdir}/*.so.*
+
+%files devel
+%defattr(-,root,root,-)
+%doc
+%{_includedir}/%{tarname}-%{apiver}
+%{_libdir}/*.so
+%{_libdir}/pkgconfig/%{tarname}-%{apiver}.pc
+%{_datadir}/gtk-doc/html/%{tarname}-%{apiver}
+%{_libdir}/%{tarname}-%{apiver}/include/gtksourceviewmmconfig.h
+
+
+%changelog
+* Fri Feb 11 2011 Haïkel Guémar <hguemar at fedoraproject.org> - 2.91.5-1
+- initial package
+
diff --git a/sources b/sources
index e69de29..625b70e 100644
--- a/sources
+++ b/sources
@@ -0,0 +1 @@
+4104a0b9d526ba3054c29313bc0de3e7 gtksourceviewmm-2.91.5.tar.bz2
More information about the scm-commits
mailing list