122 lines
4.3 KiB
RPMSpec
122 lines
4.3 KiB
RPMSpec
Name: libgtksourceview1
|
|
Version: 1.8.5
|
|
Release: 2mamba
|
|
Summary: A text widget that extends the standard GTK+ 2.x text widget
|
|
Group: System/Libraries
|
|
Vendor: openmamba
|
|
Distribution: openmamba
|
|
Packager: Stefano Cotta Ramusino <stefano.cotta@openmamba.org>
|
|
URL: http://gtksourceview.sourceforge.net
|
|
Source: http://ftp.gnome.org/pub/gnome/sources/gtksourceview/1.8/gtksourceview-%{version}.tar.gz
|
|
Patch0: libgtksourceview1-1.8.5-build-fix.patch
|
|
Patch1: libgtksourceview1-1.8.5-gcc-4.8.patch
|
|
License: GPL
|
|
BuildRequires: gettext-devel
|
|
BuildRequires: perl-XML-Parser
|
|
BuildRequires: libpcre-devel
|
|
## AUTOBUILDREQ-BEGIN
|
|
BuildRequires: glibc-devel
|
|
BuildRequires: gtk-doc
|
|
BuildRequires: libart_lgpl-devel
|
|
BuildRequires: libatk-devel
|
|
BuildRequires: libcairo-devel
|
|
BuildRequires: libfontconfig-devel
|
|
BuildRequires: libfreetype-devel
|
|
BuildRequires: libglib-devel
|
|
BuildRequires: libgnomeprint-devel
|
|
BuildRequires: libgtk-devel
|
|
BuildRequires: libpango-devel
|
|
BuildRequires: libxml2-devel
|
|
BuildRequires: libz-devel
|
|
## AUTOBUILDREQ-END
|
|
BuildRoot: %{_tmppath}/%{name}-%{version}-root
|
|
|
|
%description
|
|
GtkSourceView is a text widget that extends the standard gtk+ 2.x text widget.
|
|
It improves the gtk+ text widget by implementing syntax highlighting and other features typical of a source editor.
|
|
It is part of the GNOME Desktop Environment and it is currently being used by gedit, MonoDevelop, Glimmer and several other projects.
|
|
|
|
%package devel
|
|
Group: Development/Libraries
|
|
Summary: Static libraries and headers for %{name}
|
|
Requires: %{name} = %{?epoch:%epoch:}%{version}-%{release}
|
|
|
|
%description devel
|
|
GtkSourceView is a text widget that extends the standard gtk+ 2.x text widget.
|
|
It improves the gtk+ text widget by implementing syntax highlighting and other features typical of a source editor.
|
|
It is part of the GNOME Desktop Environment and it is currently being used by gedit, MonoDevelop, Glimmer and several other projects.
|
|
|
|
This package contains static libraries and header files need for development.
|
|
|
|
%package apidocs
|
|
Group: Documentation
|
|
Summary: API documentation for %{name}
|
|
Requires: gtk-doc
|
|
|
|
|
|
%description apidocs
|
|
GtkSourceView is a text widget that extends the standard gtk+ 2.x text widget.
|
|
It improves the gtk+ text widget by implementing syntax highlighting and other features typical of a source editor.
|
|
It is part of the GNOME Desktop Environment and it is currently being used by gedit, MonoDevelop, Glimmer and several other projects.
|
|
This package contains the API documentation needed for development.
|
|
|
|
%prep
|
|
%setup -q -n gtksourceview-%{version}
|
|
%patch0 -p1
|
|
%patch1 -p1
|
|
|
|
%build
|
|
%configure --enable-gtk-doc
|
|
%make LDFLAGS="`pkg-config --libs gtk+-2.0`"
|
|
|
|
%install
|
|
[ "%{buildroot}" != / ] && rm -rf "%{buildroot}"
|
|
%makeinstall
|
|
|
|
%find_lang gtksourceview-1.0
|
|
|
|
%clean
|
|
[ "%{buildroot}" != / ] && rm -rf "%{buildroot}"
|
|
|
|
%post -p /sbin/ldconfig
|
|
%postun -p /sbin/ldconfig
|
|
|
|
%files -f gtksourceview-1.0.lang
|
|
%defattr(-,root,root)
|
|
%{_libdir}/libgtksourceview-1.0.so.*
|
|
%dir %{_datadir}/gtksourceview-1.0
|
|
%dir %{_datadir}/gtksourceview-1.0/language-specs
|
|
%{_datadir}/gtksourceview-1.0/language-specs/*.lang
|
|
%{_datadir}/gtksourceview-1.0/language-specs/language.dtd
|
|
%{_datadir}/gtksourceview-1.0/language-specs/language.rng
|
|
%doc AUTHORS COPYING
|
|
|
|
%files devel
|
|
%defattr(-,root,root)
|
|
%dir %{_includedir}/gtksourceview-1.0/gtksourceview
|
|
%{_includedir}/gtksourceview-1.0/gtksourceview/*.h
|
|
%{_libdir}/libgtksourceview-1.0.la
|
|
%{_libdir}/libgtksourceview-1.0.so
|
|
%{_exec_prefix}/lib/pkgconfig/gtksourceview-1.0.pc
|
|
%doc ChangeLog NEWS README
|
|
|
|
%files apidocs
|
|
%defattr(-,root,root)
|
|
%dir %{_datadir}/gtk-doc/html/gtksourceview
|
|
%{_datadir}/gtk-doc/html/gtksourceview/*.html
|
|
#%{_datadir}/gtk-doc/html/gtksourceview/gtksourceview.devhelp
|
|
%{_datadir}/gtk-doc/html/gtksourceview/gtksourceview.devhelp2
|
|
%{_datadir}/gtk-doc/html/gtksourceview/*.png
|
|
%{_datadir}/gtk-doc/html/gtksourceview/index.sgml
|
|
%{_datadir}/gtk-doc/html/gtksourceview/style.css
|
|
|
|
%changelog
|
|
* Fri Jul 12 2013 Automatic Build System <autodist@mambasoft.it> 1.8.5-2mamba
|
|
- automatic rebuild by autodist
|
|
|
|
* Wed Feb 04 2009 Silvan Calarco <silvan.calarco@mambasoft.it> 1.8.5-1mamba
|
|
- automatic update by autodist
|
|
|
|
* Mon Sep 29 2008 Stefano Cotta Ramusino <stefano.cotta@openmamba.org> 1.8.4-1mamba
|
|
- this version is required by boo
|