Name: qedje Version: 0.3.0 Release: 2%{?dist} Summary: A library combining the benefits of Edje and Qt Group: System Environment/Libraries License: GPLv3+ URL: http://dev.openbossa.org/trac/qedje/ Source0: http://dev.openbossa.org/qedje/downloads/source/%{name}/%{name}-%{version}.tar.gz Patch0: qedje-0.3.0-rmhardcoded.patch BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n) BuildRequires: qt4-devel BuildRequires: eet-devel BuildRequires: pkgconfig BuildRequires: qzion-devel %description The main purpose of the QEdje project is to build a bridge among components that proved to have great value for open source developers: Edje and Qt. This will extend the Qt toolkit with the flexibility of a declarative language, such as Edje, and also enable Qt widgets to be embedded into Edje UI design. %package devel Summary: Development files for %{name} Group: Development/Libraries Requires: pkgconfig Requires: %{name} = %{version}-%{release} Requires: qzion-devel Requires: eet-devel %description devel The %{name}-devel package contains libraries and header files for developing applications that use %{name}. %prep %setup -q %patch0 -p1 #Support installing in buildroot sed -i "s/^DESTDIR = \$(QTDIR)/DESTDIR = \$(INSTALL_ROOT)\$(QTDIR)/" */*.pro */*/*.pro %build %{_qt4_qmake} PREFIX=/usr LIBDIR=%{_libdir} make %{?_smp_mflags} %install rm -rf %{buildroot} make install INSTALL_ROOT=%{buildroot} #These are apparently only needed for static linking? find %{buildroot} -name *.prl -print -delete %clean rm -rf %{buildroot} %post -p /sbin/ldconfig %postun -p /sbin/ldconfig %files %defattr(-,root,root,-) %doc README COPYING %{_libdir}/*.so.* %files devel %defattr(-,root,root,-) %{_libdir}/*.so %{_includedir}/* %{_libdir}/pkgconfig/%{name}.pc %changelog * Fri Dec 19 2008 John5342 0.3.0-2 - Fixed a license - BR: qzion-devel - devel R: qzion-devel, eet-devel * Fri Dec 19 2008 John5342 0.3.0-1 - Initial package