]> git.pld-linux.org Git - packages/alacarte.git/blobdiff - alacarte.spec
- updated to 3.50.0
[packages/alacarte.git] / alacarte.spec
index 82e921c293eb971b1c3e61cc97fac3a166ec3ab5..be9325e9a8e062e4b3b61e9933a623f3530bc699 100644 (file)
@@ -1,32 +1,34 @@
 Summary:       Menu editor for the GNOME desktop
 Summary(pl.UTF-8):     Edytor menu dla GNOME
 Name:          alacarte
-Version:       0.11.5
+Version:       3.50.0
 Release:       1
-License:       GPL v2
+License:       LGPL v2+
 Group:         X11/Applications
-Source0:       http://ftp.gnome.org/pub/GNOME/sources/alacarte/0.11/%{name}-%{version}.tar.bz2
-# Source0-md5: e4dc193d36c76b974e66e517e9c7ea33
-URL:           http://www.realistanew.com/projects/alacarte/
+Source0:       https://download.gnome.org/sources/alacarte/3.50/%{name}-%{version}.tar.xz
+# Source0-md5: 78fc3df95d494822e3e3f8ea33a9972a
+URL:           https://gitlab.gnome.org/GNOME/alacarte
 BuildRequires: autoconf >= 2.53
-BuildRequires: automake >= 1:1.7
-BuildRequires: gettext-devel
-BuildRequires: gnome-menus-devel >= 2.22.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
-Requires(post,postun): gtk+2
-Requires(post,postun): hicolor-icon-theme
-Requires:      gnome-menus-editor >= 2.22.0
-Requires:      python-gnome-ui
-%pyrequires_eq python-modules
-Requires:      python-pygtk-glade >= 2:2.12.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 >= 2.22.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
@@ -41,16 +43,18 @@ potrzeb.
 %prep
 %setup -q
 
-sed -i -e 's#sr@Latn#sr@latin#' po/LINGUAS
-mv po/sr@{Latn,latin}.po
-
 %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
@@ -62,7 +66,7 @@ rm -rf $RPM_BUILD_ROOT
 %py_postclean
 
 # not supported by glibc
-rm -r $RPM_BUILD_ROOT%{_datadir}/locale/io
+%{__rm} -r $RPM_BUILD_ROOT%{_datadir}/locale/{ie,io}
 
 %find_lang %{name}
 
@@ -77,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*
This page took 0.160228 seconds and 4 git commands to generate.