%define name enhance %define version 0.0.1 %define release %mkrel 6 %define major 0 %define libname %mklibname %{name} %major %define libnamedev %mklibname %{name} %major -d Summary: Library that takes advantage of Glade's Name: %name Version: %version Epoch: 1 Release: %release License: BSD Group: System/Libraries URL: http://www.enlightenment.org/ Source: ftp://ftp.enlightenment.org/pub/enhance/%{name}-%{version}.tar.bz2 BuildRequires: ecore-devel >= 0.9.9.050 Buildrequires: etk-devel >= 0.1.0.042, exml-devel >= 0.1.1 BuildRoot: %{_tmppath}/%{name}-%{version}-root provides: %{name}-devel = %version provides: %{name}-devel = %epoch:%version %description Enhance is a library that takes advantage of Glade's .glade XML files, EXML, and Etk to easy application GUI development and cut down on its time. After using Glade to design a GUI, you can save generate the .glade XML file that describes the interface design and use it in Enhance to generate an Etk equivalent. Enhance works at runtime, ie, it does not generate C code. It will parse the XML at application launch and will do the appropriate work to create the GUI and the required callbacks for you. There are several examples in the examples directory for you to take a look at. Please note that Etk does not support all of the GTK+ widgets. As widgets are added to Etk, Enhance will be updated to support those new widgets. %package -n %libname Summary: %{name} libraries Group: System/Libraries Provides: %{name} = %{version}-%{release} %description -n %libname %name libraries %package -n %libnamedev Summary: %{name} headers, static libraries, documentation and test programs Group: System/Libraries Requires: %libname = %{epoch}:%{version}-%{release} Requires: ecore-devel >= 0.9.9.050 Provides: %{name}-devel = %{version}-%{release} %description -n %libnamedev Headers, static libraries, test programs and documentation for enhance %prep rm -rf $RPM_BUILD_ROOT %setup -q %build %configure2_5x %make %install %makeinstall %if %mdkversion < 200900 %post -n %libname -p /sbin/ldconfig %endif %if %mdkversion < 200900 %postun -n %libname -p /sbin/ldconfig %endif %clean test "x$RPM_BUILD_ROOT" != "x/" && rm -rf $RPM_BUILD_ROOT %files -n %libname %defattr(-, root, root) %doc AUTHORS INSTALL README %{_libdir}/*.so.%{major}* %files -n %libnamedev %defattr(-, root, root) %{_libdir}/*a %{_libdir}/pkgconfig/*.pc %{_bindir}/%name-config %{_libdir}/*.so %{_includedir}/* %changelog * Sun Dec 13 2009 Funda Wang <fwang@mandriva.org> 1:0.0.1-6mdv2010.1 + Revision: 478236 - rebuild * Sat Aug 08 2009 Funda Wang <fwang@mandriva.org> 1:0.0.1-5mdv2010.0 + Revision: 411685 - rebuild for new ecore * Wed Jul 08 2009 Funda Wang <fwang@mandriva.org> 1:0.0.1-4mdv2010.0 + Revision: 393572 - rebuild * Wed Apr 01 2009 Antoine Ginies <aginies@mandriva.com> 1:0.0.1-3mdv2009.1 + Revision: 363357 - fix requires for libname-devel - SVN SNAPSHOT 20090227, release 0.0.1 * Mon Mar 02 2009 Antoine Ginies <aginies@mandriva.com> 0.1.1-5mdv2009.1 + Revision: 346929 - bump release - CVS SNAPSHOT 20090227, release 0.1.1 * Thu Jul 24 2008 Thierry Vignaud <tvignaud@mandriva.com> 0.1.1-4mdv2009.0 + Revision: 244908 - rebuild + Pixel <pixel@mandriva.com> - do not call ldconfig in %%post/%%postun, it is now handled by filetriggers * Mon Feb 18 2008 Thierry Vignaud <tvignaud@mandriva.com> 0.1.1-2mdv2008.1 + Revision: 170815 - rebuild - fix "foobar is blabla" summary (=> "blabla") so that it looks nice in rpmdrake - kill re-definition of %%buildroot on Pixel's request + Olivier Blin <oblin@mandriva.com> - restore BuildRoot * Fri Aug 31 2007 Antoine Ginies <aginies@mandriva.com> 0.1.1-1mdv2008.0 + Revision: 76740 - update to release 0.1.1 - CVS SNAPSHOT 20070830, release 0.1.1 * Tue Jun 19 2007 Thierry Vignaud <tvignaud@mandriva.com> 0.0.1-5mdv2008.0 + Revision: 41492 - fix group - prevent major bug to happen again - move .so files in -devel subpackage * Wed May 30 2007 Antoine Ginies <aginies@mandriva.com> 0.0.1-4mdv2008.0 + Revision: 32753 - add some provides, fix Group, lib major is 0 not 1 * Tue May 29 2007 Antoine Ginies <aginies@mandriva.com> 0.0.1-3mdv2008.0 + Revision: 32634 - CVS SNAPSHOT 20070529, release 0.1.0 * Tue May 29 2007 Antoine Ginies <aginies@mandriva.com> 0.0.1-2mdv2008.0 + Revision: 32451 - fix requires * Mon May 28 2007 Antoine Ginies <aginies@mandriva.com> 0.0.1-1mdv2008.0 + Revision: 32034 - add etk-devel and exml-devel buildrequires - first Mandriva release - Import enhance