1 Summary: Shared functions for Ayatana indicators
7 URL: https://launchpad.net/libindicator
8 Source0: http://launchpad.net/libindicator/0.5/%{version}/+download/%{name}-%{version}.tar.gz
9 # Source0-md5: f256d3dccfd2612fb31e19ec42ad1824
10 BuildRequires: dbus-glib-devel
11 BuildRequires: gtk+2-devel
12 BuildRequires: gtk+3-devel
13 BuildRequires: gtk-doc
14 BuildRequires: libtool
15 BuildRoot: %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
18 A set of symbols and convenience functions that all Ayatana indicators
22 Summary: Development files for %{name}
23 Group: Development/Libraries
24 Requires: %{name} = %{version}-%{release}
27 The %{name}-devel package contains libraries and header files for
28 developing applications that use %{name}.
31 Summary: GTK+3 build of %{name}
35 A set of symbols and convenience functions that all Ayatana indicators
36 are likely to use. This is the GTK+ 3 build of %{name}, for use by
40 Summary: Development files for %{name}-gtk3
41 Group: Development/Libraries
42 Requires: %{name}-gtk3 = %{version}-%{release}
44 %description gtk3-devel
45 The %{name}-gtk3-devel package contains libraries and header files for
46 developing applications that use %{name}-gtk3.
52 # we build it twice, once against GTK+ 3 and once against GTK+ 2, so
53 # both GTK+ 2 and GTK+ 3 apps can use it; the GTK+ 3 build is
54 # libindicator-gtk3. When we have no need for the GTK+ 2 build any more
55 # we can drop the -gtk3 package and have the main package build against
57 install -d build-gtk{2,3}
73 rm -rf $RPM_BUILD_ROOT
74 %{__make} -C build-gtk2 install -j1 \
75 DESTDIR=$RPM_BUILD_ROOT
76 %{__make} -C build-gtk3 install -j1 \
77 DESTDIR=$RPM_BUILD_ROOT
79 %{__rm} $RPM_BUILD_ROOT%{_libdir}/lib*.la
81 # this dummy indicator is fairly useless, it's not shipped in Ubuntu
82 %{__rm} $RPM_BUILD_ROOT%{_libdir}/libdummy-indicator*.so
85 rm -rf $RPM_BUILD_ROOT
87 %post -p /sbin/ldconfig
88 %postun -p /sbin/ldconfig
89 %post gtk3 -p /sbin/ldconfig
90 %postun gtk3 -p /sbin/ldconfig
93 %defattr(644,root,root,755)
94 %attr(755,root,root) %{_libdir}/libindicator.so.*.*.*
95 %ghost %{_libdir}/libindicator.so.7
96 %attr(755,root,root) %{_libdir}/indicator-loader
99 %defattr(644,root,root,755)
100 %{_includedir}/libindicator-0.4
101 %{_libdir}/libindicator.so
102 %{_pkgconfigdir}/indicator-0.4.pc
103 # Contains 80indicator-debugging
104 # This is marked as 'for development use only'
105 %{_datadir}/libindicator
108 %defattr(644,root,root,755)
109 %attr(755,root,root) %{_libdir}/libindicator3.so.*.*.*
110 %ghost %{_libdir}/libindicator3.so.7
111 %attr(755,root,root) %{_libdir}/indicator-loader3
114 %defattr(644,root,root,755)
115 %{_includedir}/libindicator3-0.4
116 %{_libdir}/libindicator3.so
117 %{_pkgconfigdir}/indicator3-0.4.pc