]> git.pld-linux.org Git - packages/mate-applet-indicator.git/blob - mate-applet-indicator.spec
up to 1.14.0
[packages/mate-applet-indicator.git] / mate-applet-indicator.spec
1 #
2 # Conditional build:
3 %bcond_with     gtk3            # use GTK+ 3.x instead of 2.x
4 #
5 Summary:        Small applet to display information from various applications consistently in the panel
6 Summary(pl.UTF-8):      Mały aplet do spójnego wyświetlania w panelu informacji od różnych aplikacji
7 Name:           mate-applet-indicator
8 Version:        1.14.0
9 Release:        1
10 License:        GPL v3
11 Group:          X11/Applications
12 Source0:        http://pub.mate-desktop.org/releases/1.14/mate-indicator-applet-%{version}.tar.xz
13 # Source0-md5:  d84b8962e3b978685e74e1c8c20d2458
14 URL:            http://mate-desktop.org/
15 BuildRequires:  autoconf >= 2.53
16 BuildRequires:  automake >= 1:1.9
17 BuildRequires:  gettext-tools >= 0.10.40
18 BuildRequires:  glib2-devel >= 2.0
19 %{!?with_gtk3:BuildRequires:    gtk+2-devel >= 2:2.24}
20 %{?with_gtk3:BuildRequires:     gtk+3-devel >= 3.0}
21 BuildRequires:  intltool >= 0.35.0
22 %{!?with_gtk3:BuildRequires:    libindicator-devel >= 0.4}
23 %{?with_gtk3:BuildRequires:     libindicator-gtk3-devel >= 0.4}
24 BuildRequires:  libtool >= 1:1.4.3
25 BuildRequires:  mate-panel-devel
26 BuildRequires:  pkgconfig >= 1:0.19
27 BuildRequires:  tar >= 1:1.22
28 BuildRequires:  xorg-lib-libX11-devel
29 BuildRequires:  xz
30 Requires(post,postun):  gtk-update-icon-cache
31 %{!?with_gtk3:Requires: gtk+2 >= 2:2.24}
32 %{?with_gtk3:Requires:  gtk+3 >= 3.0}
33 Requires:       hicolor-icon-theme
34 Requires:       mate-panel
35 BuildRoot:      %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
36
37 %define         _libexecdir     %{_libdir}/mate-panel
38
39 %description
40 The indicator applet exposes Ayatana Indicators in the MATE Panel.
41 Ayatana Indicators are an initiative by Canonical to provide crisp and
42 clean system and application status indication. They take the form of
43 an icon and associated menu, displayed (usually) in the desktop panel.
44 Existing indicators include the Message Menu, Battery Menu and Sound
45 menu.
46
47 MATE Indicator Applet is a fork of Indicator Applet for GNOME
48 (<https://launchpad.net/indicator-applet>).
49
50 %description -l pl.UTF-8
51 Aplet indicator uwidacznia wskaźniki Ayatana w panelu MATE. Wskaźniki
52 Ayatana (Ayatana Indicators) to inicjatywa Canonical mająca na celu
53 zapewnienie świeżych i przejrzystych wskazań dotyczących stanu systemu
54 i aplikacji. Mają postać ikony i związanego z nią menu, wyświetlanych
55 (zwykle) w panelu pulpitu. Istniejące wskaźniki obejmują menu
56 komunikatów, menu baterii oraz menu dźwięku.
57
58 MATE Indicator Applet to odgałęzienie pakietu Indicator Applet dla
59 GNOME (<https://launchpad.net/indicator-applet>).
60
61 %prep
62 %setup -q -n mate-indicator-applet-%{version}
63
64 %build
65 %{__intltoolize}
66 %{__libtoolize}
67 %{__aclocal} -I m4
68 %{__autoconf}
69 %{__autoheader}
70 %{__automake}
71 %configure \
72         --disable-silent-rules \
73         %{?with_gtk3:--with-gtk=3.0}
74
75 %{__make}
76
77 %install
78 rm -rf $RPM_BUILD_ROOT
79
80 %{__make} install \
81         DESTDIR=$RPM_BUILD_ROOT
82
83 %{__rm} -r $RPM_BUILD_ROOT%{_localedir}/{frp,jv}
84
85 %find_lang mate-indicator-applet
86
87 %clean
88 rm -rf $RPM_BUILD_ROOT
89
90 %post
91 %update_icon_cache hicolor
92
93 %postun
94 %update_icon_cache hicolor
95
96 %files -f mate-indicator-applet.lang
97 %defattr(644,root,root,755)
98 %doc AUTHORS ChangeLog NEWS README
99 %attr(755,root,root) %{_libexecdir}/mate-indicator-applet
100 %attr(755,root,root) %{_libexecdir}/mate-indicator-applet-appmenu
101 %attr(755,root,root) %{_libexecdir}/mate-indicator-applet-complete
102 %{_datadir}/dbus-1/services/org.mate.panel.applet.IndicatorApplet*.service
103 %{_datadir}/mate-panel/applets/org.ayatana.panel.IndicatorApplet*.mate-panel-applet
104 %{_iconsdir}/hicolor/scalable/apps/mate-indicator-applet.svg
This page took 0.084263 seconds and 3 git commands to generate.