X-Git-Url: http://git.pld-linux.org/?a=blobdiff_plain;f=alacarte.spec;h=be9325e9a8e062e4b3b61e9933a623f3530bc699;hb=HEAD;hp=f8ffd8cd5ea67692ddb2ef6a2a85b9df5a06e9d1;hpb=caea3e8dc45198be77d639c581ea4c6fc51abc04;p=packages%2Falacarte.git diff --git a/alacarte.spec b/alacarte.spec index f8ffd8c..a914582 100644 --- a/alacarte.spec +++ b/alacarte.spec @@ -1,33 +1,34 @@ Summary: Menu editor for the GNOME desktop Summary(pl.UTF-8): Edytor menu dla GNOME Name: alacarte -Version: 0.13.2 -Release: 2 -License: GPL v2 +Version: 3.52.0 +Release: 1 +License: LGPL v2+ Group: X11/Applications -Source0: http://ftp.gnome.org/pub/GNOME/sources/alacarte/0.13/%{name}-%{version}.tar.bz2 -# Source0-md5: de84e437babebe036ab8dc9a518282ca -URL: http://www.realistanew.com/projects/alacarte/ +Source0: https://download.gnome.org/sources/alacarte/3.52/%{name}-%{version}.tar.xz +# Source0-md5: ead252c5e8b1823fbfb6be70ff96cd55 +URL: https://gitlab.gnome.org/GNOME/alacarte BuildRequires: autoconf >= 2.53 -BuildRequires: automake >= 1:1.7 -BuildRequires: gettext-devel -BuildRequires: gnome-menus-devel >= 2.28.0 -BuildRequires: intltool >= 0.37.0 +BuildRequires: automake >= 1:1.16.4 +BuildRequires: gettext-tools >= 0.19.8 +BuildRequires: gnome-menus-devel >= 3.5.3 +BuildRequires: libxslt-progs BuildRequires: pkgconfig >= 1:0.21 -BuildRequires: python-pygtk-devel >= 2:2.12.0 +BuildRequires: python3 >= 1:3.7 +BuildRequires: python3-pygobject3-devel >= 3.0 BuildRequires: rpm-pythonprov BuildRequires: rpmbuild(macros) >= 1.311 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-editor >= 2.28.0 -Requires: python-gnome-ui -Requires: python-pygobject >= 2.16.0 -Requires: python-pygtk-glade >= 2:2.12.0 +Requires: gnome-menus >= 3.5.3 +Requires: gtk+3 >= 3.0 +Requires: python-pygobject3 >= 3.0 # for help -Suggests: gnome-user-docs >= 2.24.0 -# sr@Latn vs. sr@latin -Conflicts: glibc-misc < 6:2.7 +Suggests: gnome-user-docs >= 3.36 +BuildArch: noarch BuildRoot: %{tmpdir}/%{name}-%{version}-root-%(id -u -n) %description @@ -43,12 +44,17 @@ potrzeb. %setup -q %build -%{__intltoolize} %{__aclocal} -%{__automake} %{__autoconf} +%{__autoheader} +%{__automake} %configure \ - PYTHON="/usr/bin/python" +%if "%{_host_cpu}" != "x32" + --build=%{_host} \ + --host=%{_host} \ +%endif + --disable-silent-rules + %{__make} %install @@ -60,7 +66,7 @@ rm -rf $RPM_BUILD_ROOT %py_postclean # not supported by glibc -rm -r $RPM_BUILD_ROOT%{_datadir}/locale/{bem,en@shaw,io} +%{__rm} -r $RPM_BUILD_ROOT%{_datadir}/locale/{ie,io} %find_lang %{name} @@ -75,10 +81,10 @@ rm -rf $RPM_BUILD_ROOT %files -f %{name}.lang %defattr(644,root,root,755) -%doc AUTHORS ChangeLog NEWS README +%doc AUTHORS ChangeLog NEWS README.md %attr(755,root,root) %{_bindir}/alacarte -%dir %{py_sitescriptdir}/Alacarte -%{py_sitescriptdir}/Alacarte/*.py[co] +%{py3_sitescriptdir}/Alacarte %{_datadir}/alacarte %{_desktopdir}/alacarte.desktop -%{_iconsdir}/hicolor/*/*/* +%{_iconsdir}/hicolor/*x*/apps/alacarte.png +%{_mandir}/man1/alacarte.1*