%define api_version 2.0 %define lib_major 2 %define lib_name %mklibname gtksourceviewmm- %{api_version} %{lib_major} %define develname %mklibname -d gtksourceviewmm- %{api_version} Summary: Source code viewing library Name: gtksourceviewmm Version: 2.10.0 Release: %mkrel 1 License: LGPLv2+ Group: Editors URL: http://www.gnome.org/ Source0: ftp://ftp.gnome.org/pub/GNOME/sources/%{name}/%{name}-%{version}.tar.bz2 BuildRoot: %{_tmppath}/%{name}-%{version} BuildRequires: libgtksourceview-devel >= 2.9.4 BuildRequires: gtkmm2.4-devel >= 2.12 BuildRequires: doxygen %description GtkSourceview is a library that adds syntax highlighting, line numbers, and other programming-editor features. GtkSourceView specializes these features for a code editor. This package contains the C++ language bindings for GtkSourceview. %package -n %{lib_name} Summary: Source code viewing library Group: System/Libraries %description -n %{lib_name} GtkSourceview is a library that adds syntax highlighting, line numbers, and other programming-editor features. GtkSourceView specializes these features for a code editor. This package contains the C++ language bindings for GtkSourceview. %package -n %develname Summary: Libraries and include files for GtkSourceView Group: Development/C++ Requires: %lib_name = %version Provides: libgtksourceviewmm-devel = %{version}-%{release} Provides: libgtksourceviewmm-%{api_version}-devel = %{version}-%{release} Obsoletes: %mklibname -d gtksourceviewmm- 1.0 2 %description -n %develname GtkSourceView development files This package contains the C++ language bindings for GtkSourceview. %prep %setup -q %build %configure2_5x %make %install rm -rf %{buildroot} %makeinstall_std %if %mdkversion < 200900 %post -n %{lib_name} -p /sbin/ldconfig %endif %if %mdkversion < 200900 %postun -n %{lib_name} -p /sbin/ldconfig %endif %clean rm -rf %{buildroot} %files -n %{lib_name} %defattr(-,root,root) %defattr(-,root,root) %doc AUTHORS ChangeLog NEWS README %{_libdir}/libgtksourceviewmm-%{api_version}.so.%{lib_major}* %files -n %develname %defattr(-,root,root) %doc %_datadir/doc/gtksourceviewmm-%{api_version}/ %_datadir/devhelp/books/gtksourceviewmm-%{api_version} %{_libdir}/*.so %attr(644,root,root) %{_libdir}/*.la %{_includedir}/* %{_libdir}/pkgconfig/* %_libdir/gtksourceviewmm* %changelog * Tue Apr 06 2010 Götz Waschk <waschk@mandriva.org> 2.10.0-1mdv2010.1 + Revision: 532348 - update to new version 2.10.0 * Fri Feb 26 2010 Götz Waschk <waschk@mandriva.org> 2.9.2-1mdv2010.1 + Revision: 511751 - update to new version 2.9.2 * Sun Jan 17 2010 Götz Waschk <waschk@mandriva.org> 2.9.1-1mdv2010.1 + Revision: 492867 - update to new version 2.9.1 * Wed Jan 13 2010 Götz Waschk <waschk@mandriva.org> 2.9.0-1mdv2010.1 + Revision: 490683 - new version - bump deps - update file list for new devel docs location + Thierry Vignaud <tv@mandriva.org> - rebuild * Thu Feb 26 2009 Götz Waschk <waschk@mandriva.org> 2.3.1-1mdv2009.1 + Revision: 345194 - update to new version 2.3.1 * Thu Aug 07 2008 Thierry Vignaud <tv@mandriva.org> 2.2.0-2mdv2009.0 + Revision: 266997 - rebuild early 2009.0 package (before pixel changes) + Pixel <pixel@mandriva.com> - do not call ldconfig in %%post/%%postun, it is now handled by filetriggers * Wed Apr 30 2008 Götz Waschk <waschk@mandriva.org> 2.2.0-1mdv2009.0 + Revision: 199568 - new version - rename the source package - new version - bump major * Wed Feb 27 2008 Götz Waschk <waschk@mandriva.org> 1.9.4-1mdv2008.1 + Revision: 175733 - new version + Olivier Blin <oblin@mandriva.com> - restore BuildRoot + Thierry Vignaud <tv@mandriva.org> - kill re-definition of %%buildroot on Pixel's request * Wed Oct 10 2007 Götz Waschk <waschk@mandriva.org> 1.9.3-1mdv2008.1 + Revision: 96637 - new version - new major - new devel name * Mon Jun 04 2007 Götz Waschk <waschk@mandriva.org> 0.3.1-1mdv2008.0 + Revision: 35007 - new version