packages: gtksourceviewmm3/gtksourceviewmm3.spec (NEW) - new, based on gtks...
wiget
wiget at pld-linux.org
Tue Apr 12 17:36:44 CEST 2011
Author: wiget Date: Tue Apr 12 15:36:44 2011 GMT
Module: packages Tag: HEAD
---- Log message:
- new, based on gtksourceviewmm2.spec
---- Files affected:
packages/gtksourceviewmm3:
gtksourceviewmm3.spec (NONE -> 1.1) (NEW)
---- Diffs:
================================================================
Index: packages/gtksourceviewmm3/gtksourceviewmm3.spec
diff -u /dev/null packages/gtksourceviewmm3/gtksourceviewmm3.spec:1.1
--- /dev/null Tue Apr 12 17:36:44 2011
+++ packages/gtksourceviewmm3/gtksourceviewmm3.spec Tue Apr 12 17:36:39 2011
@@ -0,0 +1,137 @@
+# $Revision$, $Date$
+#
+# Conditional build:
+%bcond_without apidocs # don't generate documentation with doxygen
+#
+Summary: A C++ binding of GtkSourceView3
+Summary(pl.UTF-8): Wiązania C++ dla GtkSourceView3
+Name: gtksourceviewmm3
+Version: 3.0.0
+Release: 1
+License: LGPL v2+
+Group: X11/Libraries
+Source0: http://ftp.gnome.org/pub/GNOME/sources/gtksourceviewmm/3.0/gtksourceviewmm-%{version}.tar.bz2
+# Source0-md5: a3d6988555f39e59094612e40f0564b9
+URL: http://www.gnome.org/projects/gtksourceviewmm/
+BuildRequires: autoconf >= 2.62
+BuildRequires: automake >= 1:1.11
+%{?with_apidocs:BuildRequires: doxygen}
+BuildRequires: glibmm-devel >= 2.28.0
+BuildRequires: cairomm-devel
+BuildRequires: pangomm-devel
+BuildRequires: atkmm-devel
+BuildRequires: libsigc++-devel
+BuildRequires: gtkmm3-devel >= 3.0.0
+BuildRequires: gtksourceview3-devel >= 3.0.0
+BuildRequires: libtool
+BuildRequires: mm-common >= 0.9.5
+BuildRequires: pkgconfig
+Requires(post,postun): /sbin/ldconfig
+BuildRoot: %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
+
+%description
+GtkSourceViewMM3 is a C++ binding of GtkSourceView3, an extension to
+the text widget included in GTK+ 3.x adding syntax highlighting and
+other features typical for a source file editor.
+
+%description -l pl.UTF-8
+GtkSourceViewMM3 to wiązania C++ dla GtkSourceView3 - rozszerzenia
+tekstowego widgetu będącego częścią GTK+ 3.x, dodającego kolorowanie
+składni oraz inne właściwości typowe dla edytora kodu źródłowego.
+
+%package devel
+Summary: Header files for GtkSourceViewMM3 library
+Summary(pl.UTF-8): Pliki nagłówkowe biblioteki GtkSourceViewMM3
+Group: X11/Development/Libraries
+Requires: %{name} = %{version}-%{release}
+Requires: gtkmm3-devel >= 3.0.0
+Requires: gtksourceview3-devel >= 3.0.0
+
+%description devel
+Header files for GtkSourceViewMM3 library.
+
+%description devel -l pl.UTF-8
+Pliki nagłówkowe biblioteki GtkSourceViewMM3.
+
+%package static
+Summary: Static GtkSourceViewMM3 library
+Summary(pl.UTF-8): Statyczna biblioteka GtkSourceViewMM3
+Group: X11/Development/Libraries
+Requires: %{name}-devel = %{version}-%{release}
+
+%description static
+Static GtkSourceViewMM3 library.
+
+%description static -l pl.UTF-8
+Statyczna biblioteka GtkSourceViewMM3.
+
+%package apidocs
+Summary: GtkSourceViewMM3 API documentation
+Summary(pl.UTF-8): Dokumentacja API GtkSourceViewMM3
+Group: Documentation
+
+%description apidocs
+GtkSourceViewMM3 API documentation.
+
+%description apidocs -l pl.UTF-8
+Dokumentacja API GtkSourceViewMM3.
+
+%prep
+%setup -q -n gtksourceviewmm-%{version}
+
+%build
+%{__libtoolize}
+%{__aclocal} -I build
+%{__autoconf}
+%{__autoheader}
+%{__automake}
+%configure \
+ --disable-silent-rules \
+ %{__enable_disable apidocs documentation} \
+ --enable-static
+%{__make}
+
+%install
+rm -rf $RPM_BUILD_ROOT
+
+%{__make} install \
+ DESTDIR=$RPM_BUILD_ROOT
+
+%{__rm} $RPM_BUILD_ROOT%{_libdir}/*.la
+
+%clean
+rm -rf $RPM_BUILD_ROOT
+
+%post -p /sbin/ldconfig
+%postun -p /sbin/ldconfig
+
+%files
+%defattr(644,root,root,755)
+%doc AUTHORS ChangeLog NEWS README
+%attr(755,root,root) %{_libdir}/libgtksourceviewmm-3.0.so.*.*.*
+%attr(755,root,root) %ghost %{_libdir}/libgtksourceviewmm-3.0.so.0
+
+%files devel
+%defattr(644,root,root,755)
+%attr(755,root,root) %{_libdir}/libgtksourceviewmm-3.0.so
+%{_libdir}/gtksourceviewmm-3.0
+%{_includedir}/gtksourceviewmm-3.0
+%{_pkgconfigdir}/gtksourceviewmm-3.0.pc
+
+%files static
+%defattr(644,root,root,755)
+%{_libdir}/libgtksourceviewmm-3.0.a
+
+%if %{with apidocs}
+%files apidocs
+%defattr(644,root,root,755)
+%{_datadir}/devhelp/books/gtksourceviewmm-3.0
+%{_docdir}/gtksourceviewmm-3.0
+%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: gtksourceviewmm2.spec,v $
================================================================
More information about the pld-cvs-commit
mailing list