diff --git a/README.md b/README.md index a420cce..65c2e29 100644 --- a/README.md +++ b/README.md @@ -1,2 +1,6 @@ # libgtksourceview2 +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. + diff --git a/libgtksourceview2.spec b/libgtksourceview2.spec new file mode 100644 index 0000000..c5d210d --- /dev/null +++ b/libgtksourceview2.spec @@ -0,0 +1,160 @@ +%define majversion %(echo %version | cut -d. -f 1-2) + +Name: libgtksourceview2 +Version: 2.10.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 +URL: http://gtksourceview.sourceforge.net +Source: http://ftp.gnome.org/pub/gnome/sources/gtksourceview/%{majversion}/gtksourceview-%{version}.tar.gz +License: GPL +## AUTOBUILDREQ-BEGIN +BuildRequires: glibc-devel +BuildRequires: libatk-devel +BuildRequires: libbzip2-devel +BuildRequires: libcairo-devel +BuildRequires: libexpat-devel +BuildRequires: libffi-devel +BuildRequires: libfontconfig-devel +BuildRequires: libfreetype-devel +BuildRequires: libgdk-pixbuf-devel +BuildRequires: libglib-devel +BuildRequires: libgraphite2-devel +BuildRequires: libgtk2-devel +BuildRequires: libharfbuzz-devel +BuildRequires: libicu-devel +BuildRequires: liblzma-devel +BuildRequires: libpango-devel +BuildRequires: libpng-devel +BuildRequires: libpng15-devel +BuildRequires: libselinux-devel +BuildRequires: libstdc++6-devel +BuildRequires: libxml2-devel +BuildRequires: libz-devel +## AUTOBUILDREQ-END +BuildRequires: gettext-devel +BuildRequires: perl-XML-Parser +BuildRequires: gtk-doc +BuildRequires: libpcre-devel +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 need for development. + +%prep +%setup -q -n gtksourceview-%{version} + +%build +%configure +##\ +## --enable-gtk-doc +%make + +%install +[ "%{buildroot}" != / ] && rm -rf "%{buildroot}" +%makeinstall + +%find_lang gtksourceview-2.0 + +%clean +[ "%{buildroot}" != / ] && rm -rf "%{buildroot}" + +%post -p /sbin/ldconfig +%postun -p /sbin/ldconfig + +%files -f gtksourceview-2.0.lang +%defattr(-,root,root) +%{_libdir}/*.so.* +%{_datadir}/gtksourceview-?.? +%doc AUTHORS COPYING + +%files devel +%defattr(-,root,root) +%dir %{_includedir}/gtksourceview-?.? +%{_includedir}/gtksourceview-?.? +%{_libdir}/*.la +%{_libdir}/*.so +%{_libdir}/pkgconfig/*.pc +%doc ChangeLog NEWS README + +%files apidocs +%defattr(-,root,root) +%{_datadir}/gtk-doc/html/gtksourceview-?.?/*.html +%{_datadir}/gtk-doc/html/gtksourceview-?.?/index.sgml +%{_datadir}/gtk-doc/html/gtksourceview-?.?/style.css +%{_datadir}/gtk-doc/html/gtksourceview-?.?/*.png +%{_datadir}/gtk-doc/html/gtksourceview-?.?/gtksourceview-?.?.devhelp +%{_datadir}/gtk-doc/html/gtksourceview-?.?/gtksourceview-?.?.devhelp2 + +%changelog +* Sun Jul 24 2011 Silvan Calarco 2.10.5-2mamba +- rebuilt as legacy package + +* Tue Sep 28 2010 Automatic Build System 2.10.5-1mamba +- automatic update to 2.10.5 by autodist + +* Mon Jun 21 2010 Automatic Build System 2.10.4-1mamba +- automatic update to 2.10.4 by autodist + +* Sun May 30 2010 Automatic Build System 2.10.3-1mamba +- automatic update to 2.10.3 by autodist + +* Wed May 20 2009 Automatic Build System 2.6.2-1mamba +- automatic update by autodist + +* Sun Apr 19 2009 Automatic Build System 2.6.1-1mamba +- automatic update by autodist + +* Mon Apr 06 2009 Silvan Calarco 2.6.0-1mamba +- update to 2.6.0 + +* Thu Jan 22 2009 Silvan Calarco 2.4.2-1mamba +- automatic update by autodist + +* Fri Sep 26 2008 gil 2.4.0-1mamba +- update to 2.4.0 + +* Tue Jul 22 2008 gil 2.2.2-1mamba +- update to 2.2.2 + +* Wed May 14 2008 gil 2.2.0-1mamba +- update to 2.2.0 +- removed --enable-gtk-doc + +* Thu Oct 18 2007 Silvan Calarco 2.0.1-1mamba +- update to 2.0.1 + +* Wed Jun 27 2007 Stefano Cotta Ramusino 1.90.1-1mamba +- package created by autospec