packages: gtksourceview3/gtksourceview3.spec (NEW) - based on gtksourceview...

wiget wiget at pld-linux.org
Sun Jan 16 16:11:37 CET 2011


Author: wiget                        Date: Sun Jan 16 15:11:37 2011 GMT
Module: packages                      Tag: HEAD
---- Log message:
- based on gtksourceview2.spec

---- Files affected:
packages/gtksourceview3:
   gtksourceview3.spec (NONE -> 1.1)  (NEW)

---- Diffs:

================================================================
Index: packages/gtksourceview3/gtksourceview3.spec
diff -u /dev/null packages/gtksourceview3/gtksourceview3.spec:1.1
--- /dev/null	Sun Jan 16 16:11:37 2011
+++ packages/gtksourceview3/gtksourceview3.spec	Sun Jan 16 16:11:32 2011
@@ -0,0 +1,167 @@
+# $Revision$, $Date$
+# bconds:
+%bcond_with 	glade	# install glade catalog
+#
+Summary:	Text widget that extends the standard GTK+ 3.x
+Summary(pl.UTF-8):	Widget tekstowy rozszerzający standardowy z GTK+ 3.x
+Name:		gtksourceview3
+Version:	2.91.4
+Release:	1
+License:	GPL v2+ and LGPL v2+
+Group:		X11/Libraries
+Source0:	http://ftp.gnome.org/pub/GNOME/sources/gtksourceview/2.91/gtksourceview-%{version}.tar.bz2
+# Source0-md5:	1c3f9211c1e4f4276b77624f417598c6
+URL:		http://www.gnome.org/
+BuildRequires:	autoconf >= 2.64
+BuildRequires:	automake >= 1:1.10.3
+BuildRequires:	docbook-dtd412-xml
+BuildRequires:	gettext-devel >= 0.17
+BuildRequires:	gnome-common >= 2.24.0
+BuildRequires:	gobject-introspection-devel >= 0.9.0
+BuildRequires:	gtk+3-devel >= 2.91.7
+BuildRequires:	gtk-doc >= 1.11
+BuildRequires:	intltool >= 0.40.0
+%if %{with glade}
+BuildRequires:	libgladeui-devel >= 3.2.0
+%endif
+BuildRequires:	libtool >= 2.2.6
+BuildRequires:	libxml2-devel >= 1:2.6.31
+BuildRequires:	pkgconfig
+BuildRequires:	rpm-pythonprov
+Requires:	glib2 >= 1:2.24
+# sr at Latn vs. sr at latin
+Conflicts:	glibc-misc < 6:2.7
+BuildRoot:	%{tmpdir}/%{name}-%{version}-root-%(id -u -n)
+
+%description
+GtkSourceView is a text widget that extends the standard GTK+ 3.x text
+widget GtkTextView. It improves GtkTextView by implementing syntax
+highlighting and other features typical of a source editor.
+
+%description -l pl.UTF-8
+GtkSourceView to widget tekstowy rozszerzający standardowy widget
+tekstowy GtkTextView z GTK+ 3.x. Ulepsza GtkTextView poprzez
+zaimplementowanie podświetlania składni i innych możliwości typowych
+dla edytora źródeł.
+
+%package apidocs
+Summary:	GtkSourceView API documentation
+Summary(pl.UTF-8):	Dokumentacja API GtkSourceView
+Group:		Documentation
+Requires:	gtk-doc-common
+Conflicts:	gtksourceview-apidocs
+
+%description apidocs
+GtkSourceView API documentation.
+
+%description apidocs -l pl.UTF-8
+Dokumentacja API GtkSourceView.
+
+%package devel
+Summary:	Header files for GtkSourceView
+Summary(pl.UTF-8):	Pliki nagłówkowe dla GtkSourceView
+Group:		X11/Development/Libraries
+Requires:	%{name} = %{version}-%{release}
+Requires:	gtk+2-devel >= 2:2.14.0
+Requires:	libxml2-devel >= 1:2.6.31
+
+%description devel
+Header files for GtkSourceView.
+
+%description devel -l pl.UTF-8
+Pliki nagłówkowe dla GtkSourceView.
+
+%package static
+Summary:	Static GtkSourceView library
+Summary(pl.UTF-8):	Statyczna biblioteka GtkSourceView
+Group:		X11/Development/Libraries
+Requires:	%{name}-devel = %{version}-%{release}
+
+%description static
+Static GtkSourceView library.
+
+%description static -l pl.UTF-8
+Statyczna biblioteka GtkSourceView.
+
+%package -n glade3-gtksourceview
+Summary:	Glade3 catalog entry for GtkSourceView library
+Group:		X11/Development/Libraries
+Requires:	%{name}-devel = %{version}-%{release}
+
+%description -n glade3-gtksourceview
+Glade3 catalog entry for GtkSourceView library.
+
+%prep
+%setup -q -n gtksourceview-%{version}
+sed -i s#^en at shaw## po/LINGUAS
+rm po/en at shaw.po
+
+%build
+%{__gtkdocize}
+%{__intltoolize}
+%{__libtoolize}
+%{__aclocal}
+%{__autoconf}
+%{__autoheader}
+%{__automake}
+%configure \
+	--enable-gtk-doc \
+	--enable-static \
+	--with-html-dir=%{_gtkdocdir} \
+	%{__enable glade glade-catalog} \
+	--enable-providers \
+	--disable-silent-rules
+%{__make}
+
+%install
+rm -rf $RPM_BUILD_ROOT
+
+%{__make} install \
+	DESTDIR=$RPM_BUILD_ROOT
+
+%find_lang gtksourceview-3.0
+
+%clean
+rm -rf $RPM_BUILD_ROOT
+
+%post   -p /sbin/ldconfig
+%postun -p /sbin/ldconfig
+
+%files -f gtksourceview-3.0.lang
+%defattr(644,root,root,755)
+%attr(755,root,root) %{_libdir}/libgtksourceview-3.0.so.*.*.*
+%attr(755,root,root) %ghost %{_libdir}/libgtksourceview-3.0.so.0
+%{_datadir}/gtksourceview-3.0
+%{_libdir}/girepository-1.0/GtkSource-3.0.typelib
+
+%files apidocs
+%defattr(644,root,root,755)
+%{_gtkdocdir}/gtksourceview-3.0
+
+%files devel
+%defattr(644,root,root,755)
+%attr(755,root,root) %{_libdir}/libgtksourceview-3.0.so
+%{_libdir}/libgtksourceview-3.0.la
+%{_includedir}/gtksourceview-3.0
+%{_pkgconfigdir}/gtksourceview-3.0.pc
+%{_datadir}/gir-1.0/GtkSource-3.0.gir
+
+%files static
+%defattr(644,root,root,755)
+%{_libdir}/libgtksourceview-3.0.a
+
+%if %{with glade}
+%files -n glade3-gtksourceview
+%defattr(644,root,root,755)
+%{_datadir}/glade3/catalogs/gtksourceview.xml
+%endif
+
+%define date	%(echo `LC_ALL="C" date +"%a %b %d %Y"`)
+%changelog
+* %{date} PLD Team <feedback at pld-linux.org>
+All persons listed below can be reached at <cvs_login>@pld-linux.org
+
+$Log$
+Revision 1.1  2011/01/16 15:11:32  wiget
+- based on gtksourceview2.spec
+
================================================================


More information about the pld-cvs-commit mailing list