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