1 Summary: Unity instrumenting and integration library
7 URL: http://launchpad.net/libunity
8 Source0: https://launchpad.net/libunity/5.0/%{version}/+download/%{name}-%{version}.tar.gz
9 # Source0-md5: 41245701df2b7dc24af2b92bffb675be
10 BuildRequires: dee-devel >= 1.0.14
11 BuildRequires: glib2-devel
12 BuildRequires: gobject-introspection-devel
13 BuildRequires: gtk-doc
14 BuildRequires: libdbusmenu-devel
15 BuildRequires: libgee0.6-devel
16 BuildRequires: rpmbuild(macros) >= 1.219
18 BuildRoot: %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
21 Libunity is a shared library to be able to interact with the launcher
22 and add places in Unity environment.
25 Summary: Unity instrumenting and integration library - development files
26 Group: Development/Libraries
27 Requires: %{name} = %{version}-%{release}
30 This package provides the development files required to build
33 %package -n python-unity
34 Summary: Python bindings for libunity
35 Group: Development/Languages/Python
37 %description -n python-unity
38 Python bindings Libunity is a shared library to be able to interact
39 with the launcher and add places in Unity environment.
46 --disable-silent-rules \
52 rm -rf $RPM_BUILD_ROOT
54 DESTDIR=$RPM_BUILD_ROOT
56 %{__rm} $RPM_BUILD_ROOT%{_libdir}/libunity.la
61 rm -rf $RPM_BUILD_ROOT
63 %post -p /sbin/ldconfig
64 %postun -p /sbin/ldconfig
67 %defattr(644,root,root,755)
68 %attr(755,root,root) %{_libdir}/libunity.so.*.*.*
69 %ghost %{_libdir}/libunity.so.9
70 %{_libdir}/girepository-1.0/*.typelib
73 %defattr(644,root,root,755)
74 %attr(755,root,root) %{_bindir}/unity-tool
75 %dir %{_includedir}/unity
76 %{_includedir}/unity/unity
77 %{_libdir}/libunity.so
78 %{_pkgconfigdir}/unity.pc
79 %{_datadir}/vala/vapi/unity-trace.deps
80 %{_datadir}/vala/vapi/unity-trace.vapi
81 %{_datadir}/vala/vapi/unity.deps
82 %{_datadir}/vala/vapi/unity.vapi
83 %{_datadir}/gir-1.0/Unity-5.0.gir
85 %files -n python-unity
86 %defattr(644,root,root,755)
87 %{py_sitedir}/gi/overrides/Unity.py[co]