%define url_ver %(echo %{version}|cut -d. -f1,2) Summary: Postr is a Flickr uploading tool for the GNOME desktop Name: postr Version: 0.12.4 Release: %mkrel 4 License: GPLv2+ Group: Graphics/Utilities Url: http://projects.gnome.org/postr/ Source0: http://download.gnome.org/sources/%name/%{url_ver}/%{name}-%{version}.tar.bz2 BuildRequires: python-devel Requires: pygtk2.0 Requires: python-twisted-core Requires: python-twisted-web Requires: nautilus-python Requires: gnome-python-gconf %description Postr is a Flickr uploading tool for the GNOME desktop, which aims to be simple to use but exposing enough of Flickr to be useful. %prep %setup -q %build python setup.py build %install python setup.py install --root=%{buildroot} #gw the extensions must be in the arch-dependant dir: %if %_lib != lib mkdir -p %buildroot%_libdir mv %buildroot%_prefix/lib/nautilus %buildroot%_libdir %endif %files %doc README AUTHORS COPYING TODO %{_bindir}/postr %{_libdir}/nautilus/extensions*/python/%{name}* %{_iconsdir}/hicolor/*/apps/* %{_datadir}/applications/* %{py_puresitedir}/%{name}/* %{py_puresitedir}/*.egg-info %changelog * Sun Jan 13 2013 umeabot <umeabot> 0.12.4-4.mga3 + Revision: 378130 - Mass Rebuild - https://wiki.mageia.org/en/Feature:Mageia3MassRebuild + boklm <boklm> - Update group: Graphics/Other -> Graphics/Utilities * Thu Oct 04 2012 ovitters <ovitters> 0.12.4-3.mga3 + Revision: 302771 - fix rpm group - clean spec - Import from Mandriva