]> git.pld-linux.org Git - packages/alacarte.git/blobdiff - alacarte.spec
- updated to 3.50.0
[packages/alacarte.git] / alacarte.spec
index 1d40bac5a40296b82ef87a3e7d67351d3d7d9ef1..be9325e9a8e062e4b3b61e9933a623f3530bc699 100644 (file)
@@ -1,47 +1,60 @@
 Summary:       Menu editor for the GNOME desktop
-Summary(pl):   Edytor menu dla GNOME
+Summary(pl.UTF-8):     Edytor menu dla GNOME
 Name:          alacarte
-Version:       0.11.1.1
+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: 13552666ac84759bb42689ebe3708b26
-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.16.1
-BuildRequires: intltool >= 0.35.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.10.3
+BuildRequires: python3 >= 1:3.7
+BuildRequires: python3-pygobject3-devel >= 3.0
+BuildRequires: rpm-pythonprov
 BuildRequires: rpmbuild(macros) >= 1.311
-Requires(post,postun): gtk+2 >= 2:2.10.6
-Requires(post,postun): hicolor-icon-theme
-Requires:      gnome-menus-editor >= 2.16.1
-%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
 Alacarte is a simple freedesktop.org compliant menu editor for GNOME
 that lets you change your menus, simply and quickly.
 
-%description -l pl
+%description -l pl.UTF-8
 Alacarte jest prostym, zgodnym z freedesktop.org edytorem menu dla
-GNOME pozwalaj±cym w szybki i ³atwy sposób dostosowaæ menu do w³asnych
+GNOME pozwalającym w szybki i łatwy sposób dostosować menu do własnych
 potrzeb.
 
 %prep
 %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
@@ -50,9 +63,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/{ie,io}
 
-%find_lang %{name} --with-gnome
+%find_lang %{name}
 
 %clean
 rm -rf $RPM_BUILD_ROOT
@@ -65,10 +81,10 @@ 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/*/*/*
+%doc AUTHORS ChangeLog NEWS README.md
+%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.154849 seconds and 4 git commands to generate.