%define name verbiste %define version 0.1.26 %define release %mkrel 1 %define major 1 %define libname %mklibname %name %major Name: %{name} Version: %{version} Release: %{release} Summary: To use well french verbs License: GPLv2+ URL: http://perso.b2b2c.ca/sarrazip/dev/%name.html Group: Toys Source: http://www3.sympatico.ca/sarrazip/dev/%{name}-%{version}.tar.gz BuildRequires: libxml2-devel BuildRequires: libgnomeui2-devel BuildRequires: gnome-panel-devel BuildRequires: libglade2-devel BuildRoot: %{_tmppath}/%{name}-buildroot %description Verbiste is a French conjugation system. It contains a C++ library, two programs that can be run from the command line or from another program, and a GNOME applet. This applet shows a text field in the GNOME Panel where the user can enter a conjugated verb and obtain its complete conjugation. The knowledge base is represented in XML and contains over 6800 verbs. %files -f %{name}.lang %defattr(-,root,root) %{_docdir}/%{name}-%{version}/* #AUTHORS COPYING HACKING INSTALL LISEZMOI NEWS README TODO THANKS %_bindir/french-*conjugator %_datadir/%name-0.1 %_mandir/fr/man?/* %_mandir/man?/* #-------------------------------------------------------------------- %package -n %name-gtk Summary: Gtk+ interface for %name Group: Development/Other Requires: %name %description -n %name-gtk Gtk+ interface for %name. %files -n %name-gtk %defattr(-,root,root) %_bindir/verbiste %_bindir/verbiste-gtk %_libdir/bonobo/servers/verbiste.server %_libdir/verbiste-applet %_datadir/applications/verbiste.desktop %_datadir/pixmaps/verbiste.png %_datadir/texmf/tex/latex/verbiste/verbiste.cfg %_datadir/texmf/tex/latex/verbiste/verbiste.cls #-------------------------------------------------------------------- %package -n %{libname} Summary: Shared Librairies for %name Group: Development/Other %description -n %{libname} Shared Librairies for cluster %if %mdkversion < 200900 %postun -n %{libname} -p /sbin/ldconfig %endif %if %mdkversion < 200900 %post -n %{libname} -p /sbin/ldconfig %endif %files -n %{libname} %defattr(-,root,root) %_libdir/lib%name-0.1.la %_libdir/lib%name-0.1.so.0 %_libdir/lib%name-0.1.so.0.0.0 #-------------------------------------------------------------------- %package -n %{libname}-devel Summary: %name header files and static libraries Group: Development/Other Requires: %{name} = %{version} Requires: %{libname} = %{version} Provides: %name-devel = %{version} %description -n %{libname}-devel This package contains header files and static libraries. %files -n %{libname}-devel %defattr(-,root,root) %_includedir/%name-0.1 %_libdir/lib%name-0.1.so %_libdir/pkgconfig/%name-0.1.pc #-------------------------------------------------------------------- %prep %setup -q -n %{name}-%{version} %configure2_5x --with-gtk-app --with-gnome-app --with-gnome-applet %install rm -rf %buildroot %{makeinstall_std} %find_lang %{name} %clean rm -rf %{buildroot} %changelog * Sun Jul 05 2009 Frederik Himpe <fhimpe@mandriva.org> 0.1.26-1mdv2010.0 + Revision: 392611 - Update to new version 0.1.26 - Adapt file list for new LaTeX export function - Don't run libtool, use %%configure2_5x * Mon Jun 08 2009 Jerome Martin <jmartin@mandriva.org> 0.1.25-1mdv2010.0 + Revision: 383925 - version 0.1.25 * Mon Feb 09 2009 Frederik Himpe <fhimpe@mandriva.org> 0.1.24-1mdv2009.1 + Revision: 338968 - Update to new version 0.1.24 - Fix build with libtool 2.2 - Fix build with -Werror=format-security * Tue Sep 23 2008 Frederik Himpe <fhimpe@mandriva.org> 0.1.23-1mdv2009.0 + Revision: 287511 - Fix BuildRequires - Fix license + Nicolas Lécureuil <neoclust@mandriva.org> - Add verbiste as requires on verbiste-gtk - Update to 0.1.23 + Pixel <pixel@mandriva.com> - do not call ldconfig in %%post/%%postun, it is now handled by filetriggers - normalize call to ldconfig in %%post/%%postun + Olivier Blin <oblin@mandriva.com> - restore BuildRoot + Thierry Vignaud <tvignaud@mandriva.com> - kill re-definition of %%buildroot on Pixel's request * Fri Oct 12 2007 Jérôme Soyer <saispo@mandriva.org> 0.1.21-1mdv2008.1 + Revision: 97316 - New release 0.1.21 * Tue Feb 06 2007 Thierry Vignaud <tvignaud@mandriva.com> 0.1.19-2mdv2007.0 + Revision: 116813 - build with gtk+/gnome support * Wed Jan 10 2007 Lenny Cartier <lenny@mandriva.com> 0.1.19-1mdv2007.1 + Revision: 107201 - Update to 0.1.19 * Fri Dec 01 2006 Nicolas Lécureuil <neoclust@mandriva.org> 0.1.17-1mdv2007.1 + Revision: 89580 - New version 0.1.17 - Fix File List - Fix BuildRequires * Tue Aug 22 2006 Nicolas Lécureuil <neoclust@mandriva.org> 0.1.15-1mdv2007.0 + Revision: 57041 - verbiste-0.1.15-1mdv2007.0 - import verbiste-0.1.15-1mdv2007.0