1 Summary: Shared functions for Ayatana indicators (GTK+ 2.x version)
2 Summary(pl.UTF-8): Funkcje współdzielone dla wskaźników Ayatana (wersja dla GTK+ 2.x)
8 #Source0Download: https://launchpad.net/libindicator/+download
9 Source0: http://launchpad.net/libindicator/12.10/%{version}/+download/%{name}-%{version}.tar.gz
10 # Source0-md5: 5fd4d6bab339fc9611078b64c44a85a8
11 Patch0: %{name}-sh.patch
12 URL: https://launchpad.net/libindicator
13 BuildRequires: autoconf >= 2.64
14 BuildRequires: automake >= 1:1.11
15 BuildRequires: glib2-devel >= 1:2.22
16 BuildRequires: gtk+2-devel >= 2:2.18
17 BuildRequires: gtk+3-devel >= 3.0
18 BuildRequires: libtool >= 2:2.2
19 BuildRequires: pkgconfig
20 BuildRequires: sed >= 4.0
22 Requires: glib2 >= 1:2.22
23 Requires: gtk+2 >= 2:2.18
24 BuildRoot: %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
27 A set of symbols and convenience functions that all Ayatana indicators
28 are likely to use. This package contains GTK+ 2.x version.
30 %description -l pl.UTF-8
31 Zbiór symboli i wygodnych funkcji, które mogą być używane przez
32 wszystkie wskaźniki Ayatana. Ten pakiet zawiera wersję dla GTK+ 2.x.
35 Summary: Development files for libindicator (GTK+ 2.x version)
36 Summary(pl.UTF-8): Pliki programistyczne biblioteki libindicator (wersja dla GTK+ 2.x)
37 Group: Development/Libraries
38 Requires: %{name} = %{version}-%{release}
39 Requires: glib2-devel >= 1:2.22
40 Requires: gtk+2-devel >= 2:2.18
43 This package contains the header files for developing applications
44 that use libindicator (GTK+ 2.x version).
46 %description devel -l pl.UTF-8
47 Ten pakiet zawiera pliki nagłówkowe do tworzenia aplikacji
48 wykorzystujących bibliotekę libindicator (w wersji dla GTK+ 2.x).
51 Summary: Shared functions for Ayatana indicators (GTK+ 3.x version)
52 Summary(pl.UTF-8): Funkcje współdzielone dla wskaźników Ayatana (wersja dla GTK+ 3.x)
54 Requires: glib2 >= 1:2.22
55 Requires: gtk+3 >= 3.0
58 A set of symbols and convenience functions that all Ayatana indicators
59 are likely to use. This package contains GTK+ 3.x version.
61 %description gtk3 -l pl.UTF-8
62 Zbiór symboli i wygodnych funkcji, które mogą być używane przez
63 wszystkie wskaźniki Ayatana. Ten pakiet zawiera wersję dla GTK+ 3.x.
66 Summary: Development files for libindicator (GTK+ 3.x version)
67 Summary(pl.UTF-8): Pliki programistyczne biblioteki libindicator (wersja dla GTK+ 3.x)
68 Group: Development/Libraries
69 Requires: %{name}-gtk3 = %{version}-%{release}
70 Requires: glib2-devel >= 1:2.22
71 Requires: gtk+3-devel >= 3.0
73 %description gtk3-devel
74 This package contains the header files for developing applications
75 that use libindicator (GTK+ 3.x version).
77 %description gtk3-devel -l pl.UTF-8
78 Ten pakiet zawiera pliki nagłówkowe do tworzenia aplikacji
79 wykorzystujących bibliotekę libindicator (w wersji dla GTK+ 3.x).
85 %{__sed} -i -e 's|-Werror||g' */Makefile.am
93 # we build it twice, once against GTK+ 3 and once against GTK+ 2, so
94 # both GTK+ 2 and GTK+ 3 apps can use it; the GTK+ 3 build is
95 # libindicator-gtk3. When we have no need for the GTK+ 2 build any more
96 # we can drop the -gtk3 package and have the main package build against
98 install -d build-gtk{2,3}
101 --disable-silent-rules \
108 --disable-silent-rules \
114 rm -rf $RPM_BUILD_ROOT
116 %{__make} -C build-gtk2 install -j1 \
117 DESTDIR=$RPM_BUILD_ROOT
118 %{__make} -C build-gtk3 install -j1 \
119 DESTDIR=$RPM_BUILD_ROOT
121 %{__rm} $RPM_BUILD_ROOT%{_libdir}/lib*.la
123 # this dummy indicator is fairly useless, it's not shipped in Ubuntu
124 %{__rm} $RPM_BUILD_ROOT%{_libdir}/libdummy-indicator*.so
127 rm -rf $RPM_BUILD_ROOT
129 %post -p /sbin/ldconfig
130 %postun -p /sbin/ldconfig
131 %post gtk3 -p /sbin/ldconfig
132 %postun gtk3 -p /sbin/ldconfig
135 %defattr(644,root,root,755)
136 %doc AUTHORS ChangeLog NEWS
137 %attr(755,root,root) %{_libdir}/libindicator.so.*.*.*
138 %attr(755,root,root) %ghost %{_libdir}/libindicator.so.7
139 %attr(755,root,root) %{_libexecdir}/indicator-loader
142 %defattr(644,root,root,755)
143 %attr(755,root,root) %{_libdir}/libindicator.so
144 %{_includedir}/libindicator-0.4
145 %{_pkgconfigdir}/indicator-0.4.pc
146 # Contains 80indicator-debugging
147 # This is marked as 'for development use only'
148 %{_datadir}/libindicator
151 %defattr(644,root,root,755)
152 %doc AUTHORS ChangeLog NEWS
153 %attr(755,root,root) %{_libdir}/libindicator3.so.*.*.*
154 %attr(755,root,root) %ghost %{_libdir}/libindicator3.so.7
155 %attr(755,root,root) %{_libexecdir}/indicator-loader3
158 %defattr(644,root,root,755)
159 %attr(755,root,root) %{_libdir}/libindicator3.so
160 %{_includedir}/libindicator3-0.4
161 %{_pkgconfigdir}/indicator3-0.4.pc