]> git.pld-linux.org Git - packages/mate-netbook.git/commitdiff
- use mate-panel libexecdir; release 2 auto/th/mate-netbook-1.20.1-2
authorJakub Bogusz <qboosh@pld-linux.org>
Sun, 16 Dec 2018 12:32:41 +0000 (13:32 +0100)
committerJakub Bogusz <qboosh@pld-linux.org>
Sun, 16 Dec 2018 12:32:41 +0000 (13:32 +0100)
mate-netbook.spec

index f4c0023ac7cca97ab0ddaede03d9d7f81ab5031c..997ba99a2298e61bafd03b498bb5cc7429be02b2 100644 (file)
@@ -2,7 +2,7 @@ Summary:        Simple window management tool
 Summary(pl.UTF-8):     Proste narzędzie do zarządzania oknami
 Name:          mate-netbook
 Version:       1.20.1
-Release:       1
+Release:       2
 License:       GPL v3
 Group:         X11/Applications
 Source0:       http://pub.mate-desktop.org/releases/1.20/%{name}-%{version}.tar.xz
@@ -29,6 +29,10 @@ Requires:    gtk+3 >= 3.22
 Requires:      mate-panel >= 1.17.0
 BuildRoot:     %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
 
+# use the same libexecdir as mate-panel
+# (better solution: store mate-panel libexecdir in libmatepanelapplet-*.pc and read it here)
+%define                matepanel_libexecdir    %{_libexecdir}/mate-panel
+
 %description
 A simple window management tool which:
 - allows you to set basic rules for a window type, such as maximise
@@ -59,6 +63,7 @@ Proste narzędzie do zarządzania oknami, które:
 %{__autoheader}
 %{__automake}
 %configure \
+       --libexecdir=%{matepanel_libexecdir} \
        --disable-silent-rules
 
 %{__make}
@@ -86,7 +91,7 @@ rm -rf $RPM_BUILD_ROOT
 %defattr(644,root,root,755)
 %doc AUTHORS ChangeLog NEWS README
 %attr(755,root,root) %{_bindir}/mate-maximus
-%attr(755,root,root) %{_libexecdir}/mate-window-picker-applet
+%attr(755,root,root) %{matepanel_libexecdir}/mate-window-picker-applet
 /etc/xdg/autostart/mate-maximus-autostart.desktop
 %{_datadir}/dbus-1/services/org.mate.panel.applet.MateWindowPickerFactory.service
 %{_datadir}/glib-2.0/schemas/org.mate.maximus.gschema.xml
This page took 0.089682 seconds and 4 git commands to generate.