X-Git-Url: http://git.pld-linux.org/?p=packages%2Falacarte.git;a=blobdiff_plain;f=alacarte.spec;h=34ed6d5e6f8acd9ae7c55ded2b61e933c9f545a5;hp=e2553e2245a0bc92c98d2cf10541d3467234102f;hb=1bbe843;hpb=9001d57340092d2a602a7ea0961f562e70e6a446 diff --git a/alacarte.spec b/alacarte.spec index e2553e2..34ed6d5 100644 --- a/alacarte.spec +++ b/alacarte.spec @@ -1,33 +1,42 @@ 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.10.0 +Version: 0.11.10 Release: 1 License: GPL v2 Group: X11/Applications -Source0: http://ftp.gnome.org/pub/gnome/sources/alacarte/0.10/%{name}-%{version}.tar.bz2 -# Source0-md5: 646c9d5619d25e8d7676289d892bb761 +Source0: http://ftp.gnome.org/pub/GNOME/sources/alacarte/0.11/%{name}-%{version}.tar.bz2 +# Source0-md5: 1888f6206c5bf4659214ac1b7487efd6 URL: http://www.realistanew.com/projects/alacarte/ BuildRequires: autoconf >= 2.53 BuildRequires: automake >= 1:1.7 BuildRequires: gettext-devel -BuildRequires: gnome-menus-devel >= 2.16.0 -BuildRequires: intltool >= 0.35 +BuildRequires: gnome-menus-devel >= 2.24.0 +BuildRequires: intltool >= 0.37.0 BuildRequires: pkgconfig >= 1:0.21 -BuildRequires: python-pygtk-devel >= 2:2.9.6 -Requires(post,postun): gtk+2 >= 2:2.10.2 -Requires(post,postun): hicolor-icon-theme -%pyrequires_eq python-modules -Requires: python-pygtk-glade >= 2:2.9.6 +BuildRequires: python-pygtk-devel >= 2:2.12.0 +BuildRequires: rpm-pythonprov +BuildRequires: rpmbuild(macros) >= 1.311 +BuildRequires: sed >= 4.0 +Requires(post,postun): gtk+2 +Requires(post,postun): hicolor-icon-theme >= 0.10-3 +Requires: gnome-menus-editor >= 2.24.0 +Requires: python-gnome-ui +Requires: python-pygobject >= 2.16.0 +Requires: python-pygtk-glade >= 2:2.12.0 +# for help +Suggests: gnome-user-docs >= 2.24.0 +# sr@Latn vs. sr@latin +Conflicts: glibc-misc < 6:2.7 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 @@ -48,9 +57,12 @@ rm -rf $RPM_BUILD_ROOT %{__make} install \ DESTDIR=$RPM_BUILD_ROOT -rm -f $RPM_BUILD_ROOT%{py_sitedir}/Alacarte/*.py +%py_postclean -%find_lang %{name} --with-gnome +# not supported by glibc +rm -r $RPM_BUILD_ROOT%{_datadir}/locale/io + +%find_lang %{name} %clean rm -rf $RPM_BUILD_ROOT @@ -64,9 +76,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}/* +%attr(755,root,root) %{_bindir}/alacarte +%dir %{py_sitescriptdir}/Alacarte +%{py_sitescriptdir}/Alacarte/*.py[co] +%{_datadir}/alacarte +%{_desktopdir}/alacarte.desktop %{_iconsdir}/hicolor/*/*/*