X-Git-Url: http://git.pld-linux.org/?p=packages%2Falacarte.git;a=blobdiff_plain;f=alacarte.spec;h=2ab3b1979ec274d9616295303057c69bef4dbe99;hp=61c9fa16785f8c39849c125e5aeabf6da8fbe133;hb=94c49ba;hpb=5aa4c48fe8c0a3e530ba0dcdbc6ec80f2f4a5393 diff --git a/alacarte.spec b/alacarte.spec index 61c9fa1..2ab3b19 100644 --- a/alacarte.spec +++ b/alacarte.spec @@ -1,34 +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.1 +Version: 0.13.1 Release: 2 License: GPL v2 Group: X11/Applications -Source0: http://ftp.gnome.org/pub/gnome/sources/alacarte/0.10/%{name}-%{version}.tar.bz2 -# Source0-md5: 3e425ad3bbfe059699a9996419dc8422 +Source0: http://ftp.gnome.org/pub/GNOME/sources/alacarte/0.13/%{name}-%{version}.tar.bz2 +# Source0-md5: b45232eaf093e7e1fbf99b335d8b880c 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.28.0 +BuildRequires: intltool >= 0.37.0 BuildRequires: pkgconfig >= 1:0.21 -BuildRequires: python-pygtk-devel >= 2:2.10.3 -Requires(post,postun): gtk+2 >= 2:2.10.6 -Requires(post,postun): hicolor-icon-theme -Requires: gnome-menus-editor >= 2.16.0 -%pyrequires_eq python-modules -Requires: python-pygtk-glade >= 2:2.10.3 +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.28.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 @@ -49,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/{bem,en@shaw,io} + +%find_lang %{name} %clean rm -rf $RPM_BUILD_ROOT @@ -65,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}/*.desktop +%attr(755,root,root) %{_bindir}/alacarte +%dir %{py_sitescriptdir}/Alacarte +%{py_sitescriptdir}/Alacarte/*.py[co] +%{_datadir}/alacarte +%{_desktopdir}/alacarte.desktop %{_iconsdir}/hicolor/*/*/*