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