Name: guiloader-c++ Version: @GUILOADER_CPP_VERSION@ Release: @GUILOADER_CPP_RELEASE@ Summary: A C++ binding to the GuiLoader library Vendor: The Crow Designer Project Group: System Environment/Libraries License: LGPL URL: http://crow-designer.sourceforge.net Source0: http://dl.sourceforge.net/crow-designer/%{name}-@GUILOADER_CPP_PACKAGE@.tar.bz2 BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n) AutoReqProv: no Requires: guiloader >= @GUILOADER_CPP_DEP_GUILOADER@ Requires: gtkmm24 >= @GUILOADER_CPP_DEP_GTKMM@ BuildRequires: guiloader-devel >= @GUILOADER_CPP_DEP_GUILOADER@ BuildRequires: gtkmm24-devel >= @GUILOADER_CPP_DEP_GTKMM@ %description GuiLoader/C++ is a C++ binding to the GuiLoader library. It is a convenience layer that simplifies development of GuiLoader based applications written in the C++ language by introducing exception safety, binding GTK+ objects defined in GuiXml to C++ variables and type-safe dynamic connection to signals. %package devel Summary: Headers for developing programs that will use GuiLoader/C++ Group: Development/Libraries Requires: %{name} = %{version}-%{release} Requires: guiloader-devel Requires: gtkmm24-devel Requires: pkgconfig %description devel This package contains the header files needed for developing GuiLoader/C++ applications. %prep %setup -q -n %{name}-@GUILOADER_CPP_PACKAGE@ %build %configure --disable-static --disable-dependency-tracking make %{?_smp_mflags} %install rm -rf $RPM_BUILD_ROOT make install DESTDIR=$RPM_BUILD_ROOT find $RPM_BUILD_ROOT -type f -name "*.la" -exec rm -f {} ';' %clean rm -rf $RPM_BUILD_ROOT %post -p /sbin/ldconfig %postun -p /sbin/ldconfig %files %defattr(-, root, root, -) %doc AUTHORS COPYING README NEWS %{_libdir}/lib%{name}.so %files devel %defattr(-, root, root, -) %{_includedir}/%{name} %{_libdir}/pkgconfig/%{name}.pc