]> git.pld-linux.org Git - packages/mate-panel.git/blame - mate-panel.spec
- dropped obsolete configure options
[packages/mate-panel.git] / mate-panel.spec
CommitLineData
685a20cd 1#
e6840e88 2# Conditional build:
f959e24a 3%bcond_without apidocs # gtk-doc API documentation
e6840e88
ER
4
5Summary: MATE Desktop panel applets
685a20cd 6Summary(pl.UTF-8): Aplety panelu dla środowiska MATE Desktop
e6840e88 7Name: mate-panel
69841caf 8Version: 1.26.4
87031134 9Release: 1
685a20cd 10License: LGPL v2+ (library), GPL v2+ (applets)
e6840e88 11Group: X11/Applications
136f9db0 12Source0: https://pub.mate-desktop.org/releases/1.26/%{name}-%{version}.tar.xz
69841caf 13# Source0-md5: 12a5fcc4fa27caec66b3ba99e60011f3
b2937917 14URL: https://wiki.mate-desktop.org/mate-desktop/components/mate-panel/
685a20cd
JB
15BuildRequires: autoconf >= 2.53
16BuildRequires: automake >= 1:1.9
17BuildRequires: cairo-devel >= 1.0.0
18BuildRequires: dbus-devel >= 1.1.2
685a20cd 19BuildRequires: dconf-devel >= 0.13.4
e6840e88 20BuildRequires: desktop-file-utils
11461a70 21BuildRequires: docbook-dtd412-xml
136f9db0 22BuildRequires: gdk-pixbuf2-devel >= 2.26.0
2cd242ed 23BuildRequires: gettext-tools >= 0.19.8
e3dee604 24BuildRequires: glib2-devel >= 1:2.50.0
685a20cd 25BuildRequires: gobject-introspection-devel >= 0.6.7
e3dee604 26BuildRequires: gtk+3-devel >= 3.22
685a20cd 27BuildRequires: gtk-doc >= 1.0
a5cf88fc 28BuildRequires: gtk-layer-shell-devel
0f39e28d 29BuildRequires: intltool >= 0.50.1
94637daa 30BuildRequires: libcanberra-gtk3-devel
66bc251b 31BuildRequires: libmateweather-devel >= 1.17.0
56dbb331 32BuildRequires: libtool >= 1:1.4.3
2cd242ed 33BuildRequires: libwnck-devel >= 3.32.0
e6840e88 34BuildRequires: mate-common
94637daa 35BuildRequires: mate-desktop-devel >= 1.17.0
bc647f18 36BuildRequires: mate-menus-devel >= 1.21.0
ace0217e 37BuildRequires: pango-devel >= 1:1.15.4
7f0bcc63 38BuildRequires: pkgconfig
814effee 39BuildRequires: python >= 2
b2937917 40BuildRequires: rpm-build >= 4.6
11461a70 41BuildRequires: rpm-pythonprov
7b3d9e33 42BuildRequires: rpmbuild(find_lang) >= 1.36
e6840e88 43BuildRequires: tar >= 1:1.22
bc647f18 44BuildRequires: wayland-devel
ace0217e
ER
45BuildRequires: xorg-lib-libICE-devel
46BuildRequires: xorg-lib-libSM-devel
47BuildRequires: xorg-lib-libX11-devel
0f39e28d 48BuildRequires: xorg-lib-libXrandr-devel >= 1.3.0
e6840e88 49BuildRequires: xz
d3ef0b33 50BuildRequires: yelp-tools
e6840e88 51Requires: %{name}-libs = %{version}-%{release}
685a20cd 52Requires: dbus >= 1.1.2
685a20cd 53Requires: dconf >= 0.13.4
50b376c3 54Requires: desktop-file-utils
e6840e88 55Requires: gsettings-desktop-schemas
e6840e88 56Requires: gtk-update-icon-cache
66bc251b 57Requires: libmateweather >= 1.17.0
2cd242ed 58Requires: libwnck >= 3.32.0
d3ef0b33 59Requires: marco
94637daa 60Requires: mate-desktop >= 1.17.0
bc647f18 61Requires: mate-menus >= 1.21.0
2d1ecf41 62Suggests: mate-settings-daemon
e6840e88
ER
63# for fish
64Requires: fortune-mod
65BuildRoot: %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
66
cdff6703
JB
67# use package subdir to avoid conflicts with GNOME
68%define pkglibexecdir %{_libexecdir}/%{name}
69
e6840e88 70%description
685a20cd
JB
71MATE Desktop panel applets.
72
73%description -l pl.UTF-8
74Aplety panelu dla środowiska MATE Desktop.
e6840e88
ER
75
76%package libs
685a20cd
JB
77Summary: Shared library for MATE panel applets
78Summary(pl.UTF-8): Biblitoteka współdzielona dla apletów panelu MATE
e6840e88
ER
79License: LGPL v2+
80Group: Libraries
685a20cd 81Requires: cairo >= 1.0.0
136f9db0 82Requires: gdk-pixbuf2 >= 2.26.0
e3dee604
JP
83Requires: glib2 >= 1:2.50.0
84Requires: gtk+3 >= 3.22
685a20cd 85Requires: pango >= 1:1.15.4
130c6e9c 86Requires: xorg-lib-libXrandr >= 1.3.0
e6840e88
ER
87
88%description libs
685a20cd
JB
89Shared library for MATE panel applets.
90
91%description libs -l pl.UTF-8
92Biblitoteka współdzielona dla apletów panelu MATE.
e6840e88
ER
93
94%package devel
685a20cd
JB
95Summary: Development files for libmate-panel-applet library
96Summary(pl.UTF-8): Pliki programistyczne biblioteki libmate-panel-applet
97License: LGPL v2+
e6840e88
ER
98Group: Development/Libraries
99Requires: %{name}-libs = %{version}-%{release}
e3dee604
JP
100Requires: glib2-devel >= 1:2.50.0
101Requires: gtk+3-devel >= 3.22
e6840e88
ER
102
103%description devel
685a20cd
JB
104Development files for libmate-panel-applet library.
105
106%description devel -l pl.UTF-8
107Pliki programistyczne biblioteki libmate-panel-applet.
e6840e88 108
514d5191 109%package apidocs
685a20cd
JB
110Summary: API documentation for libmate-panel-applet library
111Summary(pl.UTF-8): Dokumentacja API biblioteki libmate-panel-applet
514d5191
ER
112Group: Documentation
113Requires: gtk-doc-common
56dbb331 114BuildArch: noarch
514d5191
ER
115
116%description apidocs
685a20cd 117API documentation for libmate-panel-applet library.
514d5191
ER
118
119%description apidocs -l pl.UTF-8
685a20cd 120Dokumentacja API biblioteki libmate-panel-applet.
514d5191 121
e6840e88
ER
122%prep
123%setup -q
124
125%build
685a20cd
JB
126%{__libtoolize}
127%{__aclocal} -I m4
d9531ba5 128%{__autoconf}
685a20cd 129%{__autoheader}
d9531ba5 130%{__automake}
e6840e88 131%configure \
cdff6703 132 --libexecdir=%{pkglibexecdir} \
685a20cd 133 --disable-schemas-compile \
685a20cd 134 --disable-silent-rules \
e6840e88 135 --disable-static \
f959e24a 136 --with-html-dir=%{_gtkdocdir}
e6840e88 137
d6ba59e6 138%{__make}
e6840e88
ER
139
140%install
141rm -rf $RPM_BUILD_ROOT
b6116a5f
JP
142
143install -d $RPM_BUILD_ROOT%{_datadir}/mate-panel/ui
144
e6840e88
ER
145%{__make} install \
146 DESTDIR=$RPM_BUILD_ROOT
147
514d5191 148%{__rm} $RPM_BUILD_ROOT%{_libdir}/lib*.la
e6840e88
ER
149
150desktop-file-install \
69841caf
JP
151 --remove-category="MATE" \
152 --add-category="X-Mate" \
153 --dir=$RPM_BUILD_ROOT%{_desktopdir} \
685a20cd 154 $RPM_BUILD_ROOT%{_desktopdir}/%{name}.desktop
e6840e88 155
cdff6703
JB
156# es_ES,ku_IQ are outdated versions of es,ku
157# the rest not supported by glibc
72b5f395
JP
158%{__rm} -r $RPM_BUILD_ROOT%{_localedir}/{es_ES,frp,ie,jv,ku_IQ,pms}
159%{__rm} -r $RPM_BUILD_ROOT%{_datadir}/help/{es_ES,frp,ie,jv,ku_IQ,pms,ur_PK,zh-Hans}
a4f9bc80 160
1f9d57d8 161%find_lang %{name} --with-mate --all-name
e6840e88
ER
162
163%clean
164rm -rf $RPM_BUILD_ROOT
165
166%post
167%update_icon_cache hicolor
168%update_desktop_database
169%glib_compile_schemas
170
171%postun
172%update_icon_cache hicolor
173%update_desktop_database
174%glib_compile_schemas
175
176%post libs -p /sbin/ldconfig
177%postun libs -p /sbin/ldconfig
178
179%files -f %{name}.lang
180%defattr(644,root,root,755)
685a20cd 181%doc AUTHORS ChangeLog NEWS README
e6840e88 182%attr(755,root,root) %{_bindir}/mate-desktop-item-edit
d9531ba5
ER
183%attr(755,root,root) %{_bindir}/mate-panel
184%attr(755,root,root) %{_bindir}/mate-panel-test-applets
185%{_mandir}/man1/mate-desktop-item-edit.1*
186%{_mandir}/man1/mate-panel-test-applets.1*
187%{_mandir}/man1/mate-panel.1*
cdff6703
JB
188%dir %{pkglibexecdir}
189%attr(755,root,root) %{pkglibexecdir}/clock-applet
190%attr(755,root,root) %{pkglibexecdir}/fish-applet
191%attr(755,root,root) %{pkglibexecdir}/notification-area-applet
192%attr(755,root,root) %{pkglibexecdir}/wnck-applet
685a20cd 193%{_datadir}/%{name}
e6840e88 194%{_datadir}/glib-2.0/schemas/org.mate.panel.*.xml
e6840e88 195%{_datadir}/dbus-1/services/org.mate.panel.*.service
6ef92edb 196%{_desktopdir}/%{name}.desktop
685a20cd 197%{_iconsdir}/hicolor/*/apps/mate-panel*.*
e6840e88
ER
198
199%files libs
200%defattr(644,root,root,755)
685a20cd
JB
201%attr(755,root,root) %{_libdir}/libmate-panel-applet-4.so.*.*.*
202%attr(755,root,root) %ghost %{_libdir}/libmate-panel-applet-4.so.1
203%{_libdir}/girepository-1.0/MatePanelApplet-4.0.typelib
e6840e88
ER
204
205%files devel
206%defattr(644,root,root,755)
685a20cd
JB
207%attr(755,root,root) %{_libdir}/libmate-panel-applet-4.so
208%{_includedir}/mate-panel-4.0
e6840e88
ER
209%{_pkgconfigdir}/libmatepanelapplet-4.0.pc
210%{_datadir}/gir-1.0/MatePanelApplet-4.0.gir
514d5191
ER
211
212%if %{with apidocs}
213%files apidocs
214%defattr(644,root,root,755)
685a20cd 215%{_gtkdocdir}/mate-panel-applet
514d5191 216%endif
This page took 0.203927 seconds and 5 git commands to generate.