]> git.pld-linux.org Git - packages/alacarte.git/blobdiff - alacarte.spec
rebuild with python 3.10
[packages/alacarte.git] / alacarte.spec
index a44aa29b3a0b8f941827196560e7c8bbd74251ca..30ca2d874c0bdf469e5552bf7a52371d2fb01184 100644 (file)
@@ -1,27 +1,35 @@
 Summary:       Menu editor for the GNOME desktop
 Summary(pl.UTF-8):     Edytor menu dla GNOME
 Name:          alacarte
-Version:       0.11.3
-Release:       1
-License:       GPL v2
+Version:       3.42.0
+Release:       2
+License:       LGPL v2+
 Group:         X11/Applications
-Source0:       http://ftp.gnome.org/pub/gnome/sources/alacarte/0.11/%{name}-%{version}.tar.bz2
-# Source0-md5: 5ca9f07e839f64b7fcefc84cfb05aa17
-URL:           http://www.realistanew.com/projects/alacarte/
+Source0:       https://download.gnome.org/sources/alacarte/3.42/%{name}-%{version}.tar.xz
+# Source0-md5: d33d6689bd670f16c1fafd1774b369e9
+URL:           https://gitlab.gnome.org/GNOME/alacarte
 BuildRequires: autoconf >= 2.53
 BuildRequires: automake >= 1:1.7
-BuildRequires: gettext-devel
-BuildRequires: gnome-menus-devel >= 2.16.1
-BuildRequires: intltool >= 0.35.0
+BuildRequires: gettext-tools
+BuildRequires: gnome-menus-devel >= 3.5.3
+BuildRequires: intltool >= 0.40.0
+BuildRequires: libxslt-progs
 BuildRequires: pkgconfig >= 1:0.21
-BuildRequires: python-pygtk-devel >= 2:2.10.3
+BuildRequires: python3 >= 1:3.3
+BuildRequires: python3-pygobject3-devel >= 3.0
+BuildRequires: rpm-pythonprov
 BuildRequires: rpmbuild(macros) >= 1.311
-Requires(post,postun): gtk+2
-Requires(post,postun): hicolor-icon-theme
-Requires:      gnome-menus-editor >= 2.16.1
-Requires:      python-gnome-ui
-%pyrequires_eq python-modules
-Requires:      python-pygtk-glade >= 2:2.10.3
+BuildRequires: sed >= 4.0
+BuildRequires: tar >= 1:1.22
+BuildRequires: xz
+Requires(post,postun): gtk-update-icon-cache
+Requires(post,postun): hicolor-icon-theme >= 0.10-3
+Requires:      gnome-menus >= 3.5.3
+Requires:      gtk+3 >= 3.0
+Requires:      python-pygobject3 >= 3.0
+# for help
+Suggests:      gnome-user-docs >= 3.36
+BuildArch:     noarch
 BuildRoot:     %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
 
 %description
@@ -39,10 +47,11 @@ potrzeb.
 %build
 %{__intltoolize}
 %{__aclocal}
-%{__automake}
 %{__autoconf}
-%configure \
-       PYTHON="/usr/bin/python"
+%{__autoheader}
+%{__automake}
+%configure
+
 %{__make}
 
 %install
@@ -51,9 +60,12 @@ rm -rf $RPM_BUILD_ROOT
 %{__make} install \
        DESTDIR=$RPM_BUILD_ROOT
 
-rm -f $RPM_BUILD_ROOT%{py_sitedir}/Alacarte/*.py
+%py_postclean
+
+# not supported by glibc
+%{__rm} -r $RPM_BUILD_ROOT%{_datadir}/locale/io
 
-%find_lang %{name} --with-gnome
+%find_lang %{name}
 
 %clean
 rm -rf $RPM_BUILD_ROOT
@@ -67,9 +79,9 @@ rm -rf $RPM_BUILD_ROOT
 %files -f %{name}.lang
 %defattr(644,root,root,755)
 %doc AUTHORS ChangeLog NEWS README
-%attr(755,root,root) %{_bindir}/*
-%dir %{py_sitedir}/Alacarte
-%{py_sitedir}/Alacarte/*.py[co]
-%{_datadir}/%{name}
-%{_desktopdir}/*.desktop
-%{_iconsdir}/hicolor/*/*/*
+%attr(755,root,root) %{_bindir}/alacarte
+%{py3_sitescriptdir}/Alacarte
+%{_datadir}/alacarte
+%{_desktopdir}/alacarte.desktop
+%{_iconsdir}/hicolor/*x*/apps/alacarte.png
+%{_mandir}/man1/alacarte.1*
This page took 0.100406 seconds and 4 git commands to generate.