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: pkgconfig
14 BuildRoot: %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
17 A set of symbols and convenience functions that all Ayatana indicators
21 Summary: Development files for %{name}
22 Group: Development/Libraries
23 Requires: %{name} = %{version}-%{release}
26 The %{name}-devel package contains libraries and header files for
27 developing applications that use %{name}.
30 Summary: GTK+3 build of %{name}
34 A set of symbols and convenience functions that all Ayatana indicators
35 are likely to use. This is the GTK+ 3 build of %{name}, for use by
39 Summary: Development files for %{name}-gtk3
40 Group: Development/Libraries
41 Requires: %{name}-gtk3 = %{version}-%{release}
43 %description gtk3-devel
44 The %{name}-gtk3-devel package contains libraries and header files for
45 developing applications that use %{name}-gtk3.
51 # we build it twice, once against GTK+ 3 and once against GTK+ 2, so
52 # both GTK+ 2 and GTK+ 3 apps can use it; the GTK+ 3 build is
53 # libindicator-gtk3. When we have no need for the GTK+ 2 build any more
54 # we can drop the -gtk3 package and have the main package build against
56 install -d build-gtk{2,3}
72 rm -rf $RPM_BUILD_ROOT
73 %{__make} -C build-gtk2 install -j1 \
74 DESTDIR=$RPM_BUILD_ROOT
75 %{__make} -C build-gtk3 install -j1 \
76 DESTDIR=$RPM_BUILD_ROOT
78 %{__rm} $RPM_BUILD_ROOT%{_libdir}/lib*.la
80 # this dummy indicator is fairly useless, it's not shipped in Ubuntu
81 %{__rm} $RPM_BUILD_ROOT%{_libdir}/libdummy-indicator*.so
84 rm -rf $RPM_BUILD_ROOT
86 %post -p /sbin/ldconfig
87 %postun -p /sbin/ldconfig
88 %post gtk3 -p /sbin/ldconfig
89 %postun gtk3 -p /sbin/ldconfig
92 %defattr(644,root,root,755)
93 %attr(755,root,root) %{_libdir}/libindicator.so.*.*.*
94 %ghost %{_libdir}/libindicator.so.7
95 %attr(755,root,root) %{_libdir}/indicator-loader
98 %defattr(644,root,root,755)
99 %{_includedir}/libindicator-0.4
100 %{_libdir}/libindicator.so
101 %{_pkgconfigdir}/indicator-0.4.pc
102 # Contains 80indicator-debugging
103 # This is marked as 'for development use only'
104 %{_datadir}/libindicator
107 %defattr(644,root,root,755)
108 %attr(755,root,root) %{_libdir}/libindicator3.so.*.*.*
109 %ghost %{_libdir}/libindicator3.so.7
110 %attr(755,root,root) %{_libdir}/indicator-loader3
113 %defattr(644,root,root,755)
114 %{_includedir}/libindicator3-0.4
115 %{_libdir}/libindicator3.so
116 %{_pkgconfigdir}/indicator3-0.4.pc