Name: libunity Version: 3.8.4 Release: 1%{?dist} Summary: Unity library Group: Development/Libraries License: LGPLv3 URL: http://launchpad.net/libunity Source0: http://launchpad.net/%{name}/3.0/%{version}/+download/%{name}-%{version}.tar.gz BuildRequires: libgee-devel BuildRequires: dee-devel >= 0.5.12 BuildRequires: libdbusmenu-glib-devel BuildRequires: gobject-introspection-devel BuildRequires: vala-tools %description A library for instrumenting- and integrating with all aspects of the Unity shell. Note: This is not a library used in the implementation of the Unity shell, but a library to be consumed by clients that wants to do deep integration with the Unity shell. %package devel Summary: Development files for %{name} Requires: %{name} = %{version}-%{release} %description devel The %{name}-devel package contains libraries and header files for developing applications that use %{name}. %package -n python-unity Summary: Python bindings for libunity Requires: %{name} = %{version}-%{release} %description -n python-unity Python bindings for libunity %prep %setup -q %build %configure --disable-static make %{?_smp_mflags} %install rm -rf $RPM_BUILD_ROOT make install DESTDIR=$RPM_BUILD_ROOT find $RPM_BUILD_ROOT -name '*.la' -exec rm -f {} ';' %post -p /sbin/ldconfig %postun -p /sbin/ldconfig %files %defattr(-,root,root,-) %doc AUTHORS COPYING %{_libdir}/libunity.so.* %{_libdir}/girepository-1.0/Unity-3.0.typelib %files devel %defattr(-,root,root,-) %doc AUTHORS COPYING %{_includedir}/* %{_libdir}/libunity.so %{_datadir}/gir-1.0/Unity-3.0.gir %{_datadir}/vala/vapi/unity.deps %{_datadir}/vala/vapi/unity.vapi %{_libdir}/pkgconfig/unity.pc %files -n python-unity %defattr(-,root,root,-) %doc AUTHORS COPYING %{python_sitelib}/gi/overrides/Unity.py* %changelog * Wed Apr 13 2011 Hicham HAOUARI - 3.8.4-1 - Initial package