]> git.pld-linux.org Git - packages/mate-netbook.git/blobdiff - mate-netbook.spec
- more specific URL, macros for glib_compile_schemas
[packages/mate-netbook.git] / mate-netbook.spec
index 9fc028df54333dce692a64bbb957df6dcf495406..5cf1b2c63c1941371aec1ca19b6ab4eff39cc158 100644 (file)
@@ -1,34 +1,38 @@
 Summary:       Simple window management tool
 Summary(pl.UTF-8):     Proste narzędzie do zarządzania oknami
 Name:          mate-netbook
-Version:       1.6.1
+Version:       1.26.0
 Release:       1
 License:       GPL v3
 Group:         X11/Applications
-Source0:       http://pub.mate-desktop.org/releases/1.6/%{name}-%{version}.tar.xz
-# Source0-md5: a1cb32fdb048c41868ea804fb3712aa9
-Patch0:                %{name}-use-libwnck.patch
-URL:           http://mate-desktop.org/
+Source0:       https://pub.mate-desktop.org/releases/1.26/%{name}-%{version}.tar.xz
+# Source0-md5: 9eb98f9009b7b3791da3965130e3e100
+URL:           https://wiki.mate-desktop.org/mate-desktop/components/mate-netbook/
 BuildRequires: autoconf >= 2.53
 BuildRequires: automake >= 1:1.9
-BuildRequires: gettext-devel >= 0.10.40
-BuildRequires: glib2-devel >= 2.0
-BuildRequires: gtk+2-devel >= 2.0
-BuildRequires: intltool >= 0.34
+BuildRequires: gettext-tools >= 0.19.8
+BuildRequires: glib2-devel >= 1:2.50.0
+BuildRequires: gtk+3-devel >= 3.22
 BuildRequires: libfakekey-devel
 BuildRequires: libtool >= 1:1.4.3
-BuildRequires: libunique-devel >= 1.0
-BuildRequires: libwnck2-devel >= 1.0
-BuildRequires: mate-panel-devel
+BuildRequires: libwnck-devel >= 3.0
+BuildRequires: mate-panel-devel >= 1.17.0
 BuildRequires: pkgconfig
 BuildRequires: rpmbuild(find_lang) >= 1.36
+BuildRequires: rpmbuild(macros) >= 1.592
 BuildRequires: tar >= 1:1.22
 BuildRequires: xorg-lib-libXtst-devel
 BuildRequires: xz
-Requires(post,postun): glib2 >= 2.0
-Requires:      mate-panel
+Requires(post,postun): glib2 >= 1:2.50.0
+Requires:      glib2 >= 1:2.50.0
+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
@@ -50,16 +54,15 @@ Proste narzędzie do zarządzania oknami, które:
 
 %prep
 %setup -q
-%patch0 -p1
 
 %build
-%{__intltoolize}
 %{__libtoolize}
 %{__aclocal}
 %{__autoconf}
 %{__autoheader}
 %{__automake}
 %configure \
+       --libexecdir=%{matepanel_libexecdir} \
        --disable-silent-rules
 
 %{__make}
@@ -70,8 +73,7 @@ rm -rf $RPM_BUILD_ROOT
 %{__make} install \
        DESTDIR=$RPM_BUILD_ROOT
 
-# mate < 1.5 did not exist in PLD, avoid dependency on mate-conf
-%{__rm} $RPM_BUILD_ROOT%{_datadir}/MateConf/gsettings/mate-maximus.convert
+%{__rm} -r $RPM_BUILD_ROOT%{_localedir}/{es_ES,frp,ie,jv,ku_IQ,nqo,pms}
 
 %find_lang %{name}
 
@@ -88,10 +90,11 @@ 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
 %{_datadir}/glib-2.0/schemas/org.mate.panel.applet.mate-window-picker-applet.gschema.xml
 %{_datadir}/mate-panel/applets/org.mate.panel.MateWindowPicker.mate-panel-applet
 %{_datadir}/mate-panel/ui/mate-window-picker-applet-menu.xml
+%{_mandir}/man1/mate-maximus.1*
This page took 0.102025 seconds and 4 git commands to generate.