[4775] | 1 | # Basic Information |
---|
| 2 | Name: postr |
---|
[6933] | 3 | Version: 0.13 |
---|
| 4 | Release: 1%{?_dist_release} |
---|
[4775] | 5 | License: GPLv2 |
---|
| 6 | Group: Applications/Internet |
---|
[6933] | 7 | Source0: http://ftp.gnome.org/pub/GNOME/sources/%{name}/0.13/%{name}-%{version}.tar.xz |
---|
[4775] | 8 | BuildRoot: %{_tmppath}/%{name}-%{version}-root |
---|
| 9 | BuildArch: noarch |
---|
| 10 | |
---|
| 11 | Vendor: Project Vine |
---|
| 12 | Distribution: Vine Linux |
---|
| 13 | Packager: yasumichi |
---|
| 14 | |
---|
| 15 | Summary: Flickr Uploader |
---|
| 16 | Summary(ja): Flickr アップローダー |
---|
| 17 | |
---|
| 18 | # Dependency |
---|
| 19 | Requires: python |
---|
| 20 | Requires: pygtk2 |
---|
| 21 | Requires: nautilus-python |
---|
| 22 | BuildRequires: python-devel |
---|
[6933] | 23 | BuildRequires: pygtk2-devel |
---|
| 24 | BuildRequires: nautilus-python-devel |
---|
| 25 | BuildRequires: gnome-doc-utils >= 0.3.2 |
---|
[4775] | 26 | |
---|
| 27 | %description |
---|
| 28 | Postr is a Flickr uploading tool for the GNOME desktop, which aims to be |
---|
| 29 | simple to use but exposing enough of Flickr to be useful. It isn't finished |
---|
| 30 | yet, but its a very capable uploader already. |
---|
| 31 | |
---|
| 32 | %description -l ja |
---|
| 33 | Postr は、GNOME デスクトップ向けの Flickr アップロードツールです。利用が簡単 |
---|
| 34 | でありながら、便利に Flicker へ十分露出できることを目標としています。目標は |
---|
| 35 | まだ完了していませんが、既にとても有能なアップローダーです。 |
---|
| 36 | |
---|
| 37 | %prep |
---|
| 38 | %setup -q |
---|
| 39 | |
---|
| 40 | %build |
---|
[6933] | 41 | %configure --with-nautilus-extension-dir=%{_datadir}/nautilus-python/extensions |
---|
| 42 | %{__make} %{?_smp_mflags} |
---|
[4775] | 43 | |
---|
| 44 | %install |
---|
| 45 | %{__rm} -rf ${RPM_BUILD_ROOT} |
---|
[6933] | 46 | %{__make} install DESTDIR=${RPM_BUILD_ROOT} |
---|
[4775] | 47 | |
---|
[6933] | 48 | %find_lang %{name} --all-name --with-gnome |
---|
[4775] | 49 | |
---|
| 50 | |
---|
| 51 | %clean |
---|
| 52 | %{__rm} -rf ${RPM_BUILD_ROOT} |
---|
| 53 | |
---|
| 54 | |
---|
[6933] | 55 | %post |
---|
| 56 | touch --no-create %{_datadir}/icons/hicolor &> /dev/null || : |
---|
| 57 | |
---|
| 58 | %postun |
---|
| 59 | if [ $1 -eq 0 ] ; then |
---|
| 60 | touch --no-create %{_datadir}/icons/hicolor &> /dev/null || : |
---|
| 61 | gtk-update-icon-cache %{_datadir}/icons/hicolor &> /dev/null || : |
---|
| 62 | update-desktop-database -q &> /dev/null ||: |
---|
| 63 | fi |
---|
| 64 | |
---|
| 65 | %posttrans |
---|
| 66 | gtk-update-icon-cache %{_datadir}/icons/hicolor &> /dev/null || : |
---|
| 67 | update-desktop-database -q &> /dev/null ||: |
---|
| 68 | |
---|
| 69 | |
---|
| 70 | %files -f %{name}.lang |
---|
[4775] | 71 | %defattr(-,root,root) |
---|
| 72 | %doc AUTHORS COPYING README TODO |
---|
[6933] | 73 | %{_bindir}/%{name} |
---|
| 74 | %{python_sitelib}/%{name} |
---|
| 75 | %{_datadir}/applications/%{name}.desktop |
---|
[4775] | 76 | %{_datadir}/icons/hicolor/16x16/apps/postr.png |
---|
| 77 | %{_datadir}/icons/hicolor/22x22/apps/postr.png |
---|
| 78 | %{_datadir}/icons/hicolor/24x24/apps/postr.png |
---|
| 79 | %{_datadir}/icons/hicolor/32x32/apps/postr.png |
---|
| 80 | %{_datadir}/icons/hicolor/scalable/apps/postr.svg |
---|
[6933] | 81 | %{_datadir}/nautilus-python/extensions/* |
---|
| 82 | %{_datadir}/%{name}/%{name}.glade |
---|
[4775] | 83 | |
---|
| 84 | |
---|
| 85 | %changelog |
---|
[6933] | 86 | * Sat Oct 13 2012 Yoji TOYODA <bsyamato@sea.plala.or.jp> 0.13-1 |
---|
| 87 | - new upstream release |
---|
| 88 | - add BuildRequires: pygtk2-devel, nautilus-python-devel, gnome-doc-utils |
---|
| 89 | |
---|
[5704] | 90 | * Tue Feb 21 2012 Yoji TOYODA <bsyamato@sea.plala.or.jp> 0.12.4-2 |
---|
| 91 | - rebuild with python-2.7.2 |
---|
| 92 | |
---|
[4775] | 93 | * Sun Sep 18 2011 Yasumichi Akahoshi <yasumichi@vinelinux.org> 0.12.4-1 |
---|
| 94 | - initial build for Vine Linux |
---|